Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2002 13:23:02 +0000
From:      "Mack Lobell" <macklobell@hotmail.com>
To:        freebsd-current@freebsd.org
Subject:   Panicstring: bwrite: buffer is not busy???
Message-ID:  <F60ak5BMYiN8ZslP53e0000853b@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

Lately i have been getting a lot of these crashes. They are quite easy to 
reproduce, the only thing i have to do is start to compile 2-3 programs.

root/usr/crash#more info.0
Good dump found on device /dev/ad0s3b
  Architecture: i386
  Architecture version: 1
  Dump length: 805240832B (767 MB)
  Blocksize: 512
  Dumptime: Thu Sep 26 19:31:27 2002
  Hostname: volvo.tomten.homelinux.net
  Versionstring: FreeBSD 5.0-CURRENT #0: Sun Sep 15 21:39:51 CEST 2002
    root@volvo.tomten.homelinux.net:/usr/obj/usr/c/src/sys/KERNEL3
  Panicstring: bwrite: buffer is not busy???
  Bounds: 0

root/usr/crash#gdb -k /boot/kernel/kernel.debug vmcore.0
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:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xbfc20e04
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc02fc897
stack pointer           = 0x10:0xd873dc6c
frame pointer           = 0x10:0xd873dc84
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         = 68710 (cc1)
trap number             = 12
panic: page fault

syncing disks... panic: bwrite: buffer is not busy???
Uptime: 1h10m25s
Dumping 767 MB
ata0: resetting devices ..
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 54
4 560[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort]  576[CTRL-C to 
abort]  592 608 624 640 656 672 688 704 720 736 752
---
#0  doadump () at /usr/c/src/sys/kern/kern_shutdown.c:213

warning: Source file is more recent than executable.

213                     ts.tv_sec %= 60;
(kgdb) where
#0  doadump () at /usr/c/src/sys/kern/kern_shutdown.c:213
#1  0xc01d8150 in boot (howto=260) at 
/usr/c/src/sys/kern/kern_shutdown.c:345
#2  0xc01d8366 in panic () at /usr/c/src/sys/kern/kern_shutdown.c:493
#3  0xc02197c7 in bwrite (bp=0xc2b01540) at 
/usr/c/src/sys/kern/vfs_bio.c:798
#4  0xc021ac3b in vfs_bio_awrite (bp=0xcf2d0de0) at 
/usr/c/src/sys/kern/vfs_bio.c:1639
#5  0xc02aa40f in ffs_fsync (ap=0xd873dae4) at 
/usr/c/src/sys/ufs/ffs/ffs_vnops.c:248
#6  0xc02a9791 in ffs_sync (mp=0xc2b02a00, waitfor=2, cred=0xc1c9ee80, 
td=0xc036f460) at vnode_if.h:597
#7  0xc022c883 in sync (td=0xc036f460, uap=0x0) at 
/usr/c/src/sys/kern/vfs_syscalls.c:130
#8  0xc01d7d5c in boot (howto=256) at 
/usr/c/src/sys/kern/kern_shutdown.c:254
#9  0xc01d8366 in panic () at /usr/c/src/sys/kern/kern_shutdown.c:493
#10 0xc02ff103 in trap_fatal (frame=0xc2b01540, eva=0) at 
/usr/c/src/sys/i386/i386/trap.c:846
#11 0xc02fedec in trap_pfault (frame=0xd873dc2c, usermode=0, eva=3217165828) 
at /usr/c/src/sys/i386/i386/trap.c:760
#12 0xc02fe857 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1062284488, tf_esi = 
-1077801468, tf_ebp = -663495548, tf_isp = -663495592,
tf_ebx = -1044845364, tf_edx = 4, tf_ecx = -1065113408, tf_eax = 134660, 
tf_trapno = 12, tf_err = 0, tf_eip = -1070610281, tf_cs
= 8, tf_eflags = 66066, tf_esp = -1065113408, tf_ss = -1045010492}) at 
/usr/c/src/sys/i386/i386/trap.c:446
#13 0xc02f02e8 in calltrap () at {standard input}:98
#14 0xc01bf20c in exit1 (td=0xc2b01540, rv=0) at vm_map.h:226
#15 0xc01bec5e in sys_exit () at /usr/c/src/sys/kern/kern_exit.c:112
#16 0xc02ff430 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1, tf_ebp = 
-1077944292, tf_isp = -663495308, tf_ebx = 675416348
, tf_edx = 10, tf_ecx = 675415984, tf_eax = 1, tf_trapno = 12, tf_err = 2, 
tf_eip = 675010171, tf_cs = 31, tf_eflags = 658, tf_es
---Type <return> to continue, or q <return> to quit---
p = -1077944336, tf_ss = 47}) at /usr/c/src/sys/i386/i386/trap.c:1050
#17 0xc02f033d in Xint0x80_syscall () at {standard input}:140
---Can't read userspace from dump, or kernel process---

I don't know if it helps, but i have also been getting the following loggs:
Sep 27 14:17:54 volvo kernel: ad0: WRITE command timeout tag=0 serv=0 - 
resetting
Sep 27 14:17:54 volvo kernel: ata0: resetting devices ..
Sep 27 14:17:54 volvo kernel: ata0: resetting devices ..
Sep 27 14:17:54 volvo kernel: ad0: DMA limited to UDMA33, non-ATA66 cable or 
device
Sep 27 14:17:54 volvo kernel: ad0: DMA limited to UDMA33, non-ATA66 cable or 
device
Sep 27 14:17:54 volvo kernel: done
Sep 27 14:17:54 volvo kernel: done


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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?F60ak5BMYiN8ZslP53e0000853b>