Hi,
under current as of today on a IBM A30p notebook I get the above panic
under load often.
A backtrace is attached.
Anything else to analyze or inspect?

Bye!
----
Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS
GNU gdb 5.2.0 (FreeBSD) 20020627
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: vm_fault: fault on nofault entry, addr: cba17000

syncing disks... panic: bwrite: buffer is not busy???
Uptime: 6h5m50s
pfs_vncache_unload(): 1 entries remaining
Dumping 1023 MB
ata0: resetting devices ..
(cd0:ata0:0:1:0): lost device
(cd0:ata0:0:1:0): removing device entry
done
 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 448 464 480 496 512 528 544 560 576 592 608 624 640 656 672 688 704 
720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960 976 992 1008
---
#0  doadump () at ../../../kern/kern_shutdown.c:214
214             dumpsys(&dumper);
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:214
#1  0xc01b364e in boot (howto=260) at ../../../kern/kern_shutdown.c:345
#2  0xc01b3bad in panic (fmt=0xc02da37d "bwrite: buffer is not busy???")
    at ../../../kern/kern_shutdown.c:493
#3  0xc01f28d8 in bwrite (bp=0x104) at ../../../kern/vfs_bio.c:797
#4  0xc01f2c89 in bawrite (bp=0x0) at ../../../kern/vfs_bio.c:1082
#5  0xc02588b3 in ffs_fsync (ap=0xe7f1d5ec) at ../../../ufs/ffs/ffs_vnops.c:215
#6  0xc0257d67 in ffs_sync (mp=0xc2c7d400, waitfor=2, cred=0xc22b7e80, 
    td=0xc02fd740) at vnode_if.h:597
#7  0xc020657b in sync (td=0xc02fd740, uap=0x0)
    at ../../../kern/vfs_syscalls.c:129
#8  0xc01b367b in boot (howto=256) at ../../../kern/kern_shutdown.c:254
#9  0xc01b3bad in panic (fmt=0xc03347e0 "bwrite: buffer is not busy???")
    at ../../../kern/kern_shutdown.c:493
#10 0xc0268be3 in vm_fault () at ../../../vm/vm_fault.c:263
#11 0xc02a9bda in trap_pfault (frame=0xe7f1d8b0, usermode=0, eva=3416355042)
    at ../../../i386/i386/trap.c:748
#12 0xc02a95e9 in trap (frame=
      {tf_fs = -403636200, tf_es = -1071710192, tf_ds = -933691376, tf_edi = 
-1021802240, tf_esi = -878612260, tf_ebp = -403580320, tf_isp = -403580708, tf_ebx = 
220, tf_edx = -933644552, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = 
-1021848459, tf_cs = 8, tf_eflags = 66199, tf_esp = -933644552, tf_ss = -878612252}) 
at ../../../i386/i386/trap.c:446
#13 0xc029aba8 in calltrap () at {standard input}:98
#14 0xc01f74ed in vfs_cache_lookup (ap=0x0) at vnode_if.h:83
#15 0xc01fbc59 in lookup (ndp=0xe7f1dc18) at vnode_if.h:54
#16 0xc01fb61a in namei (ndp=0xe7f1dc18) at ../../../kern/vfs_lookup.c:181
#17 0xc020919f in stat (td=0xc3209b40, uap=0xe7f1dd10)
    at ../../../kern/vfs_syscalls.c:1549
#18 0xc02aa152 in syscall (frame=
      {tf_fs = 47, tf_es = 135266351, tf_ds = -1078001617, tf_edi = 135069921, tf_esi 
= 135291296, tf_ebp = -1077940296, tf_isp = -403579532, tf_ebx = 3, tf_edx = 
135291344, tf_ecx = 0, tf_eax = 188, tf_trapno = 12, tf_err = 2, tf_eip = 134725983, 
tf_cs = 31, tf_eflags = 659, tf_esp = -1077940420, tf_ss = 47})
    at ../../../i386/i386/trap.c:1050
#19 0xc029abfd in Xint0x80_syscall () at {standard input}:140
(kgdb) up
#1  0xc01b364e in boot (howto=260) at ../../../kern/kern_shutdown.c:345
345                     doadump();
(kgdb) 
#2  0xc01b3bad in panic (fmt=0xc02da37d "bwrite: buffer is not busy???")
    at ../../../kern/kern_shutdown.c:493
493             boot(bootopt);
(kgdb) 
#3  0xc01f28d8 in bwrite (bp=0x104) at ../../../kern/vfs_bio.c:797
797                             panic("bwrite: need chained iodone");
(kgdb) 
#4  0xc01f2c89 in bawrite (bp=0x0) at ../../../kern/vfs_bio.c:1082
1082            (void) BUF_WRITE(bp);
(kgdb) 
#5  0xc02588b3 in ffs_fsync (ap=0xe7f1d5ec) at ../../../ufs/ffs/ffs_vnops.c:215
215                                             (void) bawrite(bp);
(kgdb) 
#6  0xc0257d67 in ffs_sync (mp=0xc2c7d400, waitfor=2, cred=0xc22b7e80, 
    td=0xc02fd740) at vnode_if.h:597
597             rc = VCALL(vp, VOFFSET(vop_fsync), &a);
(kgdb) 
#7  0xc020657b in sync (td=0xc02fd740, uap=0x0)
    at ../../../kern/vfs_syscalls.c:129
129                                 ((td != NULL) ? td->td_ucred : NOCRED), td);
(kgdb) 
#8  0xc01b367b in boot (howto=256) at ../../../kern/kern_shutdown.c:254
254                     sync(&thread0, NULL);
(kgdb) 
#9  0xc01b3bad in panic (fmt=0xc03347e0 "bwrite: buffer is not busy???")
    at ../../../kern/kern_shutdown.c:493
493             boot(bootopt);
(kgdb) 
#10 0xc0268be3 in vm_fault () at ../../../vm/vm_fault.c:263
263                     panic("vm_fault: fault on nofault entry, addr: %lx",
(kgdb) 
#11 0xc02a9bda in trap_pfault (frame=0xe7f1d8b0, usermode=0, eva=3416355042)
    at ../../../i386/i386/trap.c:748
748                     rv = vm_fault(map, va, ftype, VM_FAULT_NORMAL);
(kgdb) 
#12 0xc02a95e9 in trap (frame=
      {tf_fs = -403636200, tf_es = -1071710192, tf_ds = -933691376, tf_edi = 
-1021802240, tf_esi = -878612260, tf_ebp = -403580320, tf_isp = -403580708, tf_ebx = 
220, tf_edx = -933644552, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = 
-1021848459, tf_cs = 8, tf_eflags = 66199, tf_esp = -933644552, tf_ss = -878612252}) 
at ../../../i386/i386/trap.c:446
446                             (void) trap_pfault(&frame, FALSE, eva);
(kgdb) 
#13 0xc029aba8 in calltrap () at {standard input}:98
        in {standard input}
Current language:  auto; currently asm
(kgdb) 
#14 0xc01f74ed in vfs_cache_lookup (ap=0x0) at vnode_if.h:83
83              rc = VCALL(dvp, VOFFSET(vop_cachedlookup), &a);
Current language:  auto; currently c
(kgdb) 
#15 0xc01fbc59 in lookup (ndp=0xe7f1dc18) at vnode_if.h:54
54              rc = VCALL(dvp, VOFFSET(vop_lookup), &a);
(kgdb) 
#16 0xc01fb61a in namei (ndp=0xe7f1dc18) at ../../../kern/vfs_lookup.c:181
181                     error = lookup(ndp);
(kgdb) 
#17 0xc020919f in stat (td=0xc3209b40, uap=0xe7f1dd10)
    at ../../../kern/vfs_syscalls.c:1549
1549            if ((error = namei(&nd)) != 0)
(kgdb) 
#18 0xc02aa152 in syscall (frame=
      {tf_fs = 47, tf_es = 135266351, tf_ds = -1078001617, tf_edi = 135069921, tf_esi 
= 135291296, tf_ebp = -1077940296, tf_isp = -403579532, tf_ebx = 3, tf_edx = 
135291344, tf_ecx = 0, tf_eax = 188, tf_trapno = 12, tf_err = 2, tf_eip = 134725983, 
tf_cs = 31, tf_eflags = 659, tf_esp = -1077940420, tf_ss = 47})
    at ../../../i386/i386/trap.c:1050
1050                    error = (*callp->sy_call)(td, args);
(kgdb) 

Reply via email to