Hi,

I'm running
FreeBSD 5.3-STABLE #0: Tue Nov  9 04:08:35 CET 2004     
root@:/usr/obj/usr/src/sys/RENE
which was cvsupped at Monday, 16:00 UTC

and got this panic after doing 
# kldload fdc
# kldload msdosfs_iconv
# kldunload msdosfs_iconv
# kldunload fdc
(all handwritten) :

kernel trap 12: page fault while in kernel mode
fault virtual address = 0xdeadc0de
fault code = supervisor read, page not present
ip = 0x8:0xc04fc8a8
sp = 0x10:0xca4aeafc
fp = 0x10:0xca4aeafc
cs = base 0x0, limit 0xffff, 0x1b, DPL 0, pres 1, def32 1, gran 1
eflags = interrupt enabled, resume, iopl = 0
curproc = 22038 (fdc1)
@ 322645184 = strlen+8: cmpb $0, 0(%edx)

trace
strlen+8 (3735929054, 3393907688, 0, 3237834112, 3393907504)
kvprintf+1657 (3227482785, 3226128960, 3393907688, 10, 3393907760)
vsnprintf+60 (3227795008, 256, 3227482785, 3393907756, 256)
panic+97 (3227482785, 3735929054, 3227487812, 239, 0)
_mtx_lock_flags+105 (3256915884, 0, 3227487812, 239 ,0)
msleep+1266 (3256915772, 3256915884, 76, 3252604499, 1000)
_end @ 3252596686 (3256915712, 3227482736, 3252594400, 3242784056, 3393908020)
_end @ 3252594424 (3256915712, 3393908040, 3227475519, 803, 3239611520)
fork_exit+198 (3252594400, 3256915712, 3393908040)
fork_trampoline+8 ()
eip = 0
esp = 3393908092
ebp = 0

acpi is disabled, fdc1 instead of fdc0 was attached (which makes no
sense as I only have one floppy drive, but fdc0 returned "cannot
allocate io port", probably because acpi is off)

I have a debug kernel, but no crashdump, panic at DDB gives
 panic: from debugger
 Uptime: ....
but hangs hard after that point

I have this config:

--- kernel config ---

ident   RENE
makeoptions     DEBUG=-g

machine i386
cpu     I686_CPU
options CPU_FASTER_5X86_FPU
options CLK_USE_I8254_CALIBRATION       # dmesg says we have this chip

device  apic

options SCHED_4BSD

options KDB
options KDB_TRACE
options DDB
options DDB_NUMSYM
#options        GDB # remote GDB support
options WITNESS
options WITNESS_SKIPSPIN
options WITNESS_KDB
options INVARIANTS
options INVARIANT_SUPPORT

options PREEMPTION
options ADAPTIVE_GIANT

options INET            #InterNETworking, mandatory
options INET6           #IPv6 communications protocols
#options        IPSEC
#options        IPSEC_ESP

options FFS             #Berkeley Fast Filesystem
options SOFTUPDATES     #Enable FFS soft updates support
options UFS_ACL         #Support for access control lists
options UFS_DIRHASH     #Improve performance on big directories

options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options COMPAT_43       #Compatible with BSD 4.3 [KEEP THIS!]

options KTRACE

options PQ_CACHESIZE=32 #32kB L2 Cache

options _KPOSIX_PRIORITY_SCHEDULING     #Posix P1003_1B real-time extensions

device  isa
device  pci

# ATA and ATAPI devices
device  ata
device  atadisk         # ATA disk drives
device  atapicd         # ATAPI CDROM drives

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc          # AT keyboard controller
device  atkbd
options KBD_INSTALL_CDEV

device  psm             # PS/2 mouse
# syscons is the default console driver, resembling an SCO console
device  sc
options SC_TWOBUTTON_MOUSE

device  vga             # VGA video card driver
options FB_INSTALL_CDEV

device  npx              # Floating point support - do not disable.

options DEVICE_POLLING  # improve fxp0 performance
options HZ=1000         # for DEVICE_POLLING, interrrupt rate

device  loop            # Network loopback
device  ether           # Ethernet support
device  pty             # Pseudo-ttys (telnet,xterm etc)
device  bpf             # needed for DHCP
options XBONEHACK       # same address pairs over multiple gif intf
options PPP_BSDCOMP
options PPP_DEFLATE
options PPP_FILTER

device  splash          #screensaver/splash screen

device  pmtimer

--- /etc/rc.conf ---
apm_enable="NO"
hostname="82-168-140-74-bbxl.xdsl.tiscali.nl"
ifconfig_fxp0="DHCP"
linux_enable="YES"
moused_enable="YES"
moused_flags=""
moused_type="auto"
#saver="blank" # njl broke my acpi at 2004-11-08 ?
dumpdev="/dev/ad0s1b"

#devel/fam
rpcbind_enable="YES"
inetd_enable="YES"

--- /boot/loader.conf ---
mem_load="YES"
io_load="YES"
random_load="YES"
#intpm_load="YES"
speaker_load="YES"
snd_cs4281_load="YES"
#cd9660_iconv_load="YES"
#fdc_load="YES"
#msdosfs_iconv_load="YES"
if_fxp_load="YES"
vesa_load="YES"
debug.mpsafevm=1

Attachment: pgpBSDRkTASpN.pgp
Description: PGP signature

Reply via email to