On Fri, Mar 14, 2003 at 06:47:27PM +0100, Morten Rodal wrote: [snip the parent post]
I just got another one of these. This time it didn't double panic while syncing the disks. I've been getting this quite often now, almost daily. If there is anything else I can help you with to get to the bottom of this problem don't hesitate to ask. Attached is a the gdb output and the backtrace from DDB. -- Morten Rodal
panic: bwrite: buffer is not busy??? cpuid = 1; lapic.id = 00000000 Stack backtrace: backtrace(c0341972,0,c03448b1,d533f988,1) at backtrace+0x17 panic(c03448b1,d533f99c,c0304cd9,d533f99c,c01da2c4) at panic+0x10a bwrite(cc9a5fe8,d533fa34,c02220e2,cc9a5fe8,cc9a6118) at bwrite+0x152 bawrite(cc9a5fe8,cc9a6118,4,d533fd48,20020000) at bawrite+0x1c cluster_wbuild(c41b1a44,4000,e,0,6) at cluster_wbuild+0x732 cluster_write(cc9afa98,58000,0,2,c3fdc300) at cluster_write+0x571 ffs_write(d533fbc4,20002,c38d5c30,0,d533fc70) at ffs_write+0x5cf vn_write(c3ec26cc,d533fc70,c3fdc300,0,c38d5c30) at vn_write+0x20d dofilewrite(c38d5c30,c3ec26cc,1d,859e800,200) at dofilewrite+0xe8 write(c38d5c30,d533fd10,c,d533fd20,3) at write+0x69 syscall(8e4002f,2f,bfbf002f,0,2808f100) at syscall+0x2ac Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (4), eip = 0x285ba6d3, esp = 0xbfbff21c, ebp = 0xbfbff258 ---
Script started on Sat Mar 15 23:02:18 2003 slurp# gdb -k kernel.3 vmcore.3 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: --- panic: bwrite: buffer is not busy??? cpuid = 1; lapic.id = 00000000 Stack backtrace: boot() called on cpu#1 syncing disks, buffers remaining... 3452 3452 3451 3451 3449 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 3448 giving up on 110 buffers Uptime: 48m16s Dumping 447 MB [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 16[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 32[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 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:239 239 dumping++; (kgdb) bt #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:239 #1 0xc01d457f in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:371 #2 0xc01d4907 in panic () at /usr/src/sys/kern/kern_shutdown.c:542 #3 0xc02194e2 in bwrite (bp=0xcc9a5fe8) at /usr/src/sys/kern/vfs_bio.c:802 #4 0xc0219e6c in bawrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:1144 #5 0xc02220e2 in cluster_wbuild (vp=0xc41b1a44, size=16384, start_lbn=17, len=6) at /usr/src/sys/kern/vfs_cluster.c:966 #6 0xc0221931 in cluster_write (bp=0xcc9afa98, filesize=360448, seqcount=2) at /usr/src/sys/kern/vfs_cluster.c:566 #7 0xc02aa1ef in ffs_write (ap=0xd533fbc4) at /usr/src/sys/ufs/ffs/ffs_vnops.c:726 #8 0xc023885d in vn_write (fp=0xc3ec26cc, uio=0xd533fc70, active_cred=0xc3fdc300, flags=0, td=0xc38d5c30) at vnode_if.h:417 #9 0xc01f7fb8 in dofilewrite (td=0xc38d5c30, fp=0xc3ec26cc, fd=0, buf=0x859e800, nbyte=0, offset=0, flags=0) at file.h:239 #10 0xc01f7df9 in write (td=0xc38d5c30, uap=0xd533fd10) at /usr/src/sys/kern/sys_generic.c:329 #11 0xc030d09c in syscall (frame= {tf_fs = 149159983, tf_es = 47, tf_ds = -1078001617, tf_edi = 0, tf_esi = 671674624, tf_ebp = -1077939624, tf_isp = -718013068, tf_ebx = 671686852, tf_edx = 29, tf_ecx = 0, tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 677095123, tf_cs = 31, tf_eflags = 518, tf_esp = -1077939684, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1030 #12 0xc02f52cd in Xint0x80_syscall () at {standard input}:139 ---Can't read userspace from dump, or kernel process--- (kgdb) slurp# ^Dexit Script done on Sat Mar 15 23:02:30 2003
pgp00000.pgp
Description: PGP signature