Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2003 23:08:03 +0100
From:      Morten Rodal <morten@rodal.no>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        Doug Barton <DougB@FreeBSD.ORG>, Attila Nagy <bra@fsn.hu>, freebsd-current@FreeBSD.ORG
Subject:   Re: kern/49079: panic: bwrite: buffer is not busy
Message-ID:  <20030315220802.GA531@slurp.rodal.no>
In-Reply-To: <20030314174727.GA544@slurp.rodal.no>
References:  <20030311171353.B1461@znfgre.tberna.bet> <20030313030309.L43514-100000@mail.chesapeake.net> <20030314174727.GA544@slurp.rodal.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--ADZbWkCsHQ7r3kzd
Content-Type: multipart/mixed; boundary="Kj7319i9nmIyA2yE"
Content-Disposition: inline


--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

--=20
Morten Rodal


--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ddb.log"

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

--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="panic.3"
Content-Transfer-Encoding: quoted-printable

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 condition=
s.
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 =3D 1; lapic.id =3D 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=20
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] [CT=
RL-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 t=
o abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to a=
bort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abor=
t] [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] [CT=
RL-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 t=
o abort]  48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 3=
20 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=3D256) at /usr/src/sys/kern/kern_shutdown.c:3=
71
#2  0xc01d4907 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#3  0xc02194e2 in bwrite (bp=3D0xcc9a5fe8) at /usr/src/sys/kern/vfs_bio.c:8=
02
#4  0xc0219e6c in bawrite (bp=3D0x0) at /usr/src/sys/kern/vfs_bio.c:1144
#5  0xc02220e2 in cluster_wbuild (vp=3D0xc41b1a44, size=3D16384, start_lbn=
=3D17,=20
    len=3D6) at /usr/src/sys/kern/vfs_cluster.c:966
#6  0xc0221931 in cluster_write (bp=3D0xcc9afa98, filesize=3D360448, seqcou=
nt=3D2)
    at /usr/src/sys/kern/vfs_cluster.c:566
#7  0xc02aa1ef in ffs_write (ap=3D0xd533fbc4)
    at /usr/src/sys/ufs/ffs/ffs_vnops.c:726
#8  0xc023885d in vn_write (fp=3D0xc3ec26cc, uio=3D0xd533fc70,=20
    active_cred=3D0xc3fdc300, flags=3D0, td=3D0xc38d5c30) at vnode_if.h:417
#9  0xc01f7fb8 in dofilewrite (td=3D0xc38d5c30, fp=3D0xc3ec26cc, fd=3D0,=20
    buf=3D0x859e800, nbyte=3D0, offset=3D0, flags=3D0) at file.h:239
#10 0xc01f7df9 in write (td=3D0xc38d5c30, uap=3D0xd533fd10)
    at /usr/src/sys/kern/sys_generic.c:329
#11 0xc030d09c in syscall (frame=3D
      {tf_fs =3D 149159983, tf_es =3D 47, tf_ds =3D -1078001617, tf_edi =3D=
 0, tf_esi =3D 671674624, tf_ebp =3D -1077939624, tf_isp =3D -718013068, tf=
_ebx =3D 671686852, tf_edx =3D 29, tf_ecx =3D 0, tf_eax =3D 4, tf_trapno =
=3D 0, tf_err =3D 2, tf_eip =3D 677095123, tf_cs =3D 31, tf_eflags =3D 518,=
 tf_esp =3D -1077939684, tf_ss =3D 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

--Kj7319i9nmIyA2yE--

--ADZbWkCsHQ7r3kzd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+c6RCbWe1Cy11WVsRAnGKAKCnbDxPkRjNl0iRx9Bmrs6J5tpz+ACfSnH9
ajx6FwHgJb6VjlHDpmt9ES8=
=3+nF
-----END PGP SIGNATURE-----

--ADZbWkCsHQ7r3kzd--

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?20030315220802.GA531>