Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 00:42:52 +0200 (CEST)
From:      Michael Reifenberger <root@nihil.plaut.de>
To:        FreeBSD-Current <current@freebsd.org>
Subject:   Still under -current: bwrite: buffer is not busy???
Message-ID:  <20021014003402.P315-100000@nihil>

next in thread | raw e-mail | index | archive | help
Hi,
I still get the following panic (2 are attached) under -current
on my notebook when doing a 'portupgrade -R -f kdebase'.
Anyone else sees this?

### crash1 ###

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: cd36f000

syncing disks... panic: bwrite: buffer is not busy???
Uptime: 1d1h35m29s
cbb0: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
cbb1: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
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:223
223		dumping++;
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:223
#1  0xc01a41c7 in boot (howto=260) at ../../../kern/kern_shutdown.c:355
#2  0xc01a439c in poweroff_wait (junk=0xc02b8641, howto=0)
    at ../../../kern/kern_shutdown.c:508
#3  0xc01d7497 in bwrite (bp=0x104) at ../../../kern/vfs_bio.c:796
#4  0xc01d7a24 in bawrite (bp=0x0) at ../../../kern/vfs_bio.c:1085
#5  0xc024666d in ffs_fsync (ap=0xe5af377c) at ../../../ufs/ffs/ffs_vnops.c:230
#6  0xc024640f in VOP_FSYNC (vp=0x0, cred=0x0, waitfor=0, td=0x0)
    at vnode_if.h:612
#7  0xc0245ad5 in ffs_sync (mp=0xc2e7c600, waitfor=2, cred=0xc22b6e80,
    td=0xc02e09a0) at ../../../ufs/ffs/ffs_vfsops.c:1120
#8  0xc01e8ad8 in sync (td=0xc02e09a0, uap=0x0)
    at ../../../kern/vfs_syscalls.c:130
#9  0xc01a3dfd in boot (howto=256) at ../../../kern/kern_shutdown.c:264
#10 0xc01a439c in poweroff_wait (junk=0xc02c5510, howto=-852037632)
    at ../../../kern/kern_shutdown.c:508
#11 0xc025328b in vm_fault (map=0xc083a000, vaddr=3442929664,
    fault_type=1 '\001', fault_flags=0) at ../../../vm/vm_fault.c:263
#12 0xc028d20d in trap_pfault (frame=0xe5af39a0, usermode=0, eva=3442929890)
    at ../../../i386/i386/trap.c:748
#13 0xc028cdc1 in trap (frame=
      {tf_fs = 24, tf_es = -1006108656, tf_ds = -441516016, tf_edi = -852037412, tf_esi = -1022582016, tf_ebp = -441500960, tf_isp = -441501236, tf_ebx = 4096, tf_edx = -933053184, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1022622794, tf_cs = 8, tf_eflags = 66199, tf_esp = -933053184, tf_ss = -852037404}) at ../../../i386/i386/trap.c:446
#14 0xc027ff28 in calltrap () at {standard input}:98
#15 0xc01dbc8a in vfs_cache_lookup (ap=0x0) at vnode_if.h:82
#16 0xc01df83b in lookup (ndp=0xe5af3c30) at vnode_if.h:52
#17 0xc01df2d5 in namei (ndp=0xe5af3c30) at ../../../kern/vfs_lookup.c:181
#18 0xc01eaffa in stat (td=0xc408e000, uap=0xe5af3d14)
    at ../../../kern/vfs_syscalls.c:1615
#19 0xc028d88a in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 135071169, tf_esi = 135272344, tf_ebp = -1077939976, tf_isp = -441500300, tf_ebx = 6, tf_edx = 135272372, tf_ecx = 0, tf_eax = 188, tf_trapno = 12, tf_err = 2, tf_eip = 134723667, tf_cs = 31, tf_eflags = 659, tf_esp = -1077940100, tf_ss = 47})
    at ../../../i386/i386/trap.c:1071
#20 0xc027ff7d in Xint0x80_syscall () at {standard input}:140
(kgdb) up
#1  0xc01a41c7 in boot (howto=260) at ../../../kern/kern_shutdown.c:355
355			doadump();
(kgdb)
#2  0xc01a439c in poweroff_wait (junk=0xc02b8641, howto=0)
    at ../../../kern/kern_shutdown.c:508
508		boot(bootopt);
(kgdb)
#3  0xc01d7497 in bwrite (bp=0x104) at ../../../kern/vfs_bio.c:796
796				panic("bwrite: need chained iodone");
(kgdb)
#4  0xc01d7a24 in bawrite (bp=0x0) at ../../../kern/vfs_bio.c:1085
1085		(void) BUF_WRITE(bp);
(kgdb)
#5  0xc024666d in ffs_fsync (ap=0xe5af377c) at ../../../ufs/ffs/ffs_vnops.c:230
230						(void) bawrite(bp);
(kgdb)
#6  0xc024640f in VOP_FSYNC (vp=0x0, cred=0x0, waitfor=0, td=0x0)
    at vnode_if.h:612
612		rc = VCALL(vp, VOFFSET(vop_fsync), &a);
(kgdb)
#7  0xc0245ad5 in ffs_sync (mp=0xc2e7c600, waitfor=2, cred=0xc22b6e80,
    td=0xc02e09a0) at ../../../ufs/ffs/ffs_vfsops.c:1120
1120					if ((error = VOP_FSYNC(vp, cred, waitfor, td)) != 0)
(kgdb)
#8  0xc01e8ad8 in sync (td=0xc02e09a0, uap=0x0)
    at ../../../kern/vfs_syscalls.c:130
130				    ((td != NULL) ? td->td_ucred : NOCRED), td);
(kgdb)
#9  0xc01a3dfd in boot (howto=256) at ../../../kern/kern_shutdown.c:264
264			sync(&thread0, NULL);
(kgdb)
#10 0xc01a439c in poweroff_wait (junk=0xc02c5510, howto=-852037632)
    at ../../../kern/kern_shutdown.c:508
508		boot(bootopt);
(kgdb)
#11 0xc025328b in vm_fault (map=0xc083a000, vaddr=3442929664,
    fault_type=1 '\001', fault_flags=0) at ../../../vm/vm_fault.c:263
263			panic("vm_fault: fault on nofault entry, addr: %lx",
(kgdb)
#12 0xc028d20d in trap_pfault (frame=0xe5af39a0, usermode=0, eva=3442929890)
    at ../../../i386/i386/trap.c:748
748			rv = vm_fault(map, va, ftype, VM_FAULT_NORMAL);
(kgdb)
#13 0xc028cdc1 in trap (frame=
      {tf_fs = 24, tf_es = -1006108656, tf_ds = -441516016, tf_edi = -852037412, tf_esi = -1022582016, tf_ebp = -441500960, tf_isp = -441501236, tf_ebx = 4096, tf_edx = -933053184, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1022622794, tf_cs = 8, tf_eflags = 66199, tf_esp = -933053184, tf_ss = -852037404}) at ../../../i386/i386/trap.c:446
446				(void) trap_pfault(&frame, FALSE, eva);
(kgdb)
#14 0xc027ff28 in calltrap () at {standard input}:98
	in {standard input}
Current language:  auto; currently asm
(kgdb)

### crash2 ###

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: cebef000

syncing disks... panic: bwrite: buffer is not busy???
Uptime: 3h35m23s
cbb0: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
cbb1: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
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:223
223		dumping++;
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:223
#1  0xc01a41c7 in boot (howto=260) at ../../../kern/kern_shutdown.c:355
#2  0xc01a439c in poweroff_wait (junk=0xc02b8641, howto=-934892192)
    at ../../../kern/kern_shutdown.c:508
#3  0xc01d7497 in bwrite (bp=0x104) at ../../../kern/vfs_bio.c:796
#4  0xc01d7a24 in bawrite (bp=0x0) at ../../../kern/vfs_bio.c:1085
#5  0xc0175dbe in spec_fsync (ap=0xe59b2770)
    at ../../../fs/specfs/spec_vnops.c:464
#6  0xc0175337 in spec_vnoperate (ap=0x0)
    at ../../../fs/specfs/spec_vnops.c:124
#7  0xc024640f in VOP_FSYNC (vp=0x0, cred=0x0, waitfor=0, td=0x0)
    at vnode_if.h:612
#8  0xc0245c7e in ffs_sync (mp=0xc2e7c800, waitfor=2, cred=0xc22b6e80,
    td=0xc02e09a0) at ../../../ufs/ffs/ffs_vfsops.c:1155
#9  0xc01e8ad8 in sync (td=0xc02e09a0, uap=0x0)
    at ../../../kern/vfs_syscalls.c:130
#10 0xc01a3dfd in boot (howto=256) at ../../../kern/kern_shutdown.c:264
#11 0xc01a439c in poweroff_wait (junk=0xc02c5510, howto=-826347520)
    at ../../../kern/kern_shutdown.c:508
#12 0xc025328b in vm_fault (map=0xc083a000, vaddr=3468619776,
    fault_type=1 '\001', fault_flags=0) at ../../../vm/vm_fault.c:263
#13 0xc028d20d in trap_pfault (frame=0xe59b29a0, usermode=0, eva=3468620002)
    at ../../../i386/i386/trap.c:748
#14 0xc028cdc1 in trap (frame=
      {tf_fs = 24, tf_es = -1019609072, tf_ds = -442826736, tf_edi = -826347300, tf_esi = -1022721280, tf_ebp = -442815776, tf_isp = -442816052, tf_ebx = 4096, tf_edx = -932419712, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1022655562, tf_cs = 8, tf_eflags = 66199, tf_esp = -932419712, tf_ss = -826347292}) at ../../../i386/i386/trap.c:446
#15 0xc027ff28 in calltrap () at {standard input}:98
#16 0xc01dbc8a in vfs_cache_lookup (ap=0x0) at vnode_if.h:82
#17 0xc01df83b in lookup (ndp=0xe59b2c30) at vnode_if.h:52
#18 0xc01df2d5 in namei (ndp=0xe59b2c30) at ../../../kern/vfs_lookup.c:181
#19 0xc01eaffa in stat (td=0xc33a98f0, uap=0xe59b2d14)
    at ../../../kern/vfs_syscalls.c:1615
#20 0xc028d88a in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 135071169, tf_esi = 135272344, tf_ebp = -1077939976, tf_isp = -442815116, tf_ebx = 6, tf_edx = 135272372, tf_ecx = 0, tf_eax = 188, tf_trapno = 12, tf_err = 2, tf_eip = 134723667, tf_cs = 31, tf_eflags = 659, tf_esp = -1077940100, tf_ss = 47})
    at ../../../i386/i386/trap.c:1071
#21 0xc027ff7d in Xint0x80_syscall () at {standard input}:140
(kgdb) up
#1  0xc01a41c7 in boot (howto=260) at ../../../kern/kern_shutdown.c:355
355			doadump();
(kgdb)
#2  0xc01a439c in poweroff_wait (junk=0xc02b8641, howto=-934892192)
    at ../../../kern/kern_shutdown.c:508
508		boot(bootopt);
(kgdb)
#3  0xc01d7497 in bwrite (bp=0x104) at ../../../kern/vfs_bio.c:796
796				panic("bwrite: need chained iodone");
(kgdb)
#4  0xc01d7a24 in bawrite (bp=0x0) at ../../../kern/vfs_bio.c:1085
1085		(void) BUF_WRITE(bp);
(kgdb)
#5  0xc0175dbe in spec_fsync (ap=0xe59b2770)
    at ../../../fs/specfs/spec_vnops.c:464
464				bawrite(bp);
(kgdb)
#6  0xc0175337 in spec_vnoperate (ap=0x0)
    at ../../../fs/specfs/spec_vnops.c:124
124		return (VOCALL(spec_vnodeop_p, ap->a_desc->vdesc_offset, ap));
(kgdb)
#7  0xc024640f in VOP_FSYNC (vp=0x0, cred=0x0, waitfor=0, td=0x0)
    at vnode_if.h:612
612		rc = VCALL(vp, VOFFSET(vop_fsync), &a);
(kgdb)
#8  0xc0245c7e in ffs_sync (mp=0xc2e7c800, waitfor=2, cred=0xc22b6e80,
    td=0xc02e09a0) at ../../../ufs/ffs/ffs_vfsops.c:1155
1155			if ((error = VOP_FSYNC(devvp, cred, waitfor, td)) != 0)
(kgdb)
#9  0xc01e8ad8 in sync (td=0xc02e09a0, uap=0x0)
    at ../../../kern/vfs_syscalls.c:130
130				    ((td != NULL) ? td->td_ucred : NOCRED), td);
(kgdb)
#10 0xc01a3dfd in boot (howto=256) at ../../../kern/kern_shutdown.c:264
264			sync(&thread0, NULL);
(kgdb)
#11 0xc01a439c in poweroff_wait (junk=0xc02c5510, howto=-826347520)
    at ../../../kern/kern_shutdown.c:508
508		boot(bootopt);
(kgdb)
#12 0xc025328b in vm_fault (map=0xc083a000, vaddr=3468619776,
    fault_type=1 '\001', fault_flags=0) at ../../../vm/vm_fault.c:263
263			panic("vm_fault: fault on nofault entry, addr: %lx",
(kgdb)
#13 0xc028d20d in trap_pfault (frame=0xe59b29a0, usermode=0, eva=3468620002)
    at ../../../i386/i386/trap.c:748
748			rv = vm_fault(map, va, ftype, VM_FAULT_NORMAL);
(kgdb)
#14 0xc028cdc1 in trap (frame=
      {tf_fs = 24, tf_es = -1019609072, tf_ds = -442826736, tf_edi = -826347300, tf_esi = -1022721280, tf_ebp = -442815776, tf_isp = -442816052, tf_ebx = 4096, tf_edx = -932419712, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1022655562, tf_cs = 8, tf_eflags = 66199, tf_esp = -932419712, tf_ss = -826347292}) at ../../../i386/i386/trap.c:446
446				(void) trap_pfault(&frame, FALSE, eva);
(kgdb)
#15 0xc027ff28 in calltrap () at {standard input}:98
	in {standard input}
Current language:  auto; currently asm
(kgdb)

Bye!
----
Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021014003402.P315-100000>