Is this a known panic? I tried to search the mailinglist archives to see if somebody had posted something similar, but I couldn't find anything.
The system is running 5.0-RELEASE with a pretty standard kernel (just removed all the drivers I don't use and added SMP support). I think the load of the system might have been high at the moment as I had just started cd /usr/ports && make -j8 clean before I went to eat dinner. When I came back a few hours later it at rebooted, with this panic. I have attached the backtrace of this (dual?) panic. I have never poked in the kernel source code before, so if there is anything else you need to know just ask and I'll see what I can do. -- Morten Rodal
Script started on Sat Jan 25 21:17:42 2003 slurp# gdb -k kernel.0 vmcore.0 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... panic: bwrite: buffer is not busy??? panic messages: --- Fatal trap 12: page fault while in kernel mode cpuid = 0; lapic.id = 01000000 fault virtual address = 0x14 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01bdb48 stack pointer = 0x10:0xe3ac4c04 frame pointer = 0x10:0xe3ac4cac code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 580 (sh) trap number = 12 panic: page fault cpuid = 0; lapic.id = 01000000 boot() called on cpu#0 syncing disks, buffers remaining... panic: bwrite: buffer is not busy??? cpuid = 0; lapic.id = 01000000 boot() called on cpu#0 Uptime: 5d18h59m34s Dumping 447 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 --- #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:232 232 dumping++; (kgdb) bt #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:232 #1 0xc01d4bea in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:364 #2 0xc01d4ea7 in panic () at /usr/src/sys/kern/kern_shutdown.c:517 #3 0xc021a852 in bwrite (bp=0xcca8c150) at /usr/src/sys/kern/vfs_bio.c:796 #4 0xc021bf46 in vfs_bio_awrite (bp=0xcca8c150) at /usr/src/sys/kern/vfs_bio.c:1643 #5 0xc019e203 in spec_fsync (ap=0xe3ac49f4) at /usr/src/sys/fs/specfs/spec_vnops.c:462 #6 0xc019d558 in spec_vnoperate (ap=0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:126 #7 0xc02a9c62 in ffs_sync (mp=0xc3a37000, waitfor=2, cred=0xc1376e80, td=0xc035e900) at vnode_if.h:612 #8 0xc022fb9b in sync (td=0xc035e900, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:138 #9 0xc01d47cb in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:273 #10 0xc01d4ea7 in panic () at /usr/src/sys/kern/kern_shutdown.c:517 #11 0xc030b662 in trap_fatal (frame=0xe3ac4bc4, eva=0) at /usr/src/sys/i386/i386/trap.c:844 #12 0xc030b312 in trap_pfault (frame=0xe3ac4bc4, usermode=0, eva=20) at /usr/src/sys/i386/i386/trap.c:758 #13 0xc030ae02 in trap (frame= {tf_fs = -475267048, tf_es = -1070792688, tf_ds = -988741616, tf_edi = -1070209248, tf_esi = -988528640, tf_ebp = -475247444, tf_isp = -475247632, tf_ebx = 582, tf_edx = -989019040, tf_ecx = -988528640, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071916216, tf_cs = 8, tf_eflags = 66195, tf_esp = -1053458112, tf_ss = 1}) at /usr/src/sys/i386/i386/trap.c:445 #14 0xc02f3918 in calltrap () at {standard input}:99 #15 0xc01bd2f0 in fork (td=0xc5144000, uap=0xe3ac4d10) at /usr/src/sys/kern/kern_fork.c:124 #16 0xc030b9bc in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1, tf_esi = 135258112, tf_ebp = -1077938280, tf_isp = -475247244, tf_ebx = 135236344, tf_edx = 135236332, tf_ecx = -1077938240, tf_eax = 2, tf_trapno = 12, tf_err = 2, tf_eip = 134723859, tf_cs = 31, tf_eflags = 514, tf_esp = -1077938324, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1033 #17 0xc02f396d in Xint0x80_syscall () at {standard input}:141 ---Can't read userspace from dump, or kernel process--- (kgdb) slurp# ^Dexit Script done on Sat Jan 25 21:18:04 2003
msg50908/pgp00000.pgp
Description: PGP signature