From owner-freebsd-current Sat Mar 15 23:59:30 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2D1C37B404; Sat, 15 Mar 2003 23:59:25 -0800 (PST) Received: from flaske.stud.ntnu.no (flaske.stud.ntnu.no [129.241.56.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6924E43F85; Sat, 15 Mar 2003 23:59:24 -0800 (PST) (envelope-from morten@rodal.no) Received: from localhost (localhost [127.0.0.1]) by flaske.stud.ntnu.no (Postfix) with ESMTP id C7C96FF302; Sun, 16 Mar 2003 08:59:22 +0100 (CET) Received: from slurp.rodal.no (m200h.studby.ntnu.no [129.241.135.200]) by flaske.stud.ntnu.no (Postfix) with ESMTP id 1E70BFF195; Sun, 16 Mar 2003 08:59:22 +0100 (CET) Received: (from morten@localhost) by slurp.rodal.no (8.12.8/8.12.8/Submit) id h2G7xLMv005607; Sun, 16 Mar 2003 08:59:21 +0100 (CET) (envelope-from morten) Date: Sun, 16 Mar 2003 08:59:21 +0100 From: Morten Rodal To: Jeff Roberson Cc: Doug Barton , Attila Nagy , freebsd-current@FreeBSD.ORG Subject: Re: kern/49079: panic: bwrite: buffer is not busy Message-ID: <20030316075920.GA5468@slurp.rodal.no> References: <20030315220802.GA531@slurp.rodal.no> <20030316024543.V41845-100000@mail.chesapeake.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline In-Reply-To: <20030316024543.V41845-100000@mail.chesapeake.net> X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --oLBj+sq0vYjzfsbl Content-Type: multipart/mixed; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 16, 2003 at 02:46:13AM -0500, Jeff Roberson wrote: > On Sat, 15 Mar 2003, Morten Rodal wrote: >=20 > > 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 > Excelent, can you open up the kernel in gdb again. Then do the following: >=20 > frame 3 > print bp >=20 > With this information I should be able to find the problem. >=20 --=20 Morten Rodal --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="panic.3" Content-Transfer-Encoding: quoted-printable Script started on Sun Mar 16 08:57:26 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) frame 3 #3 0xc02194e2 in bwrite (bp=3D0xcc9a5fe8) at /usr/src/sys/kern/vfs_bio.c:8= 02 802 panic("bwrite: need chained iodone"); (kgdb) print bp $1 =3D (struct buf *) 0xcc9a5fe8 (kgdb) print *bp $2 =3D {b_io =3D {bio_cmd =3D 2, bio_dev =3D 0xffffffff, bio_disk =3D 0x0,= =20 bio_blkno =3D 4188480, bio_offset =3D 2145681408, bio_bcount =3D 16384,= =20 bio_data =3D 0xd219e000 "", bio_flags =3D 0, bio_error =3D 0, bio_resid= =3D 0,=20 bio_done =3D 0xc021d1f0 , bio_driver1 =3D 0x0, bio_driver2 = =3D 0x0,=20 bio_caller1 =3D 0xc39c9400, bio_caller2 =3D 0xcc9a5fe8, bio_queue =3D { tqe_next =3D 0x0, tqe_prev =3D 0xc39c940c}, bio_attribute =3D 0x0,=20 bio_from =3D 0x0, bio_to =3D 0x0, bio_length =3D 0, bio_completed =3D 0= ,=20 bio_children =3D 1398, bio_inbed =3D 0, bio_parent =3D 0x0, bio_t0 =3D = {sec =3D 0,=20 frac =3D 0}, bio_task =3D 0, bio_task_arg =3D 0x0, bio_pblkno =3D 518= 876},=20 b_op =3D 0xc036e018, b_magic =3D 280038160,=20 b_iodone =3D 0xc0221300 , b_offset =3D 262144, b_vnbufs= =3D { tqe_next =3D 0x0, tqe_prev =3D 0x0}, b_left =3D 0x0, b_right =3D 0x0,= =20 b_vflags =3D 0, b_freelist =3D {tqe_next =3D 0xcc9a5908, tqe_prev =3D 0xc= 03a145c},=20 b_qindex =3D 0, b_flags =3D 1677721604, b_xflags =3D 0 '\0', b_lock =3D { lk_interlock =3D 0xc039b7a4, lk_flags =3D 0, lk_sharecount =3D 0,=20 lk_waitcount =3D 0, lk_exclusivecount =3D 0, lk_prio =3D 80,=20 lk_wmesg =3D 0xc034482b "bufwait", lk_timo =3D 0, lk_lockholder =3D 0xf= fffffff,=20 lk_newlock =3D 0x0}, b_bufsize =3D 16384, b_runningbufspace =3D 0,=20 b_kvabase =3D 0xd219e000 "", b_kvasize =3D 16384, b_lblkno =3D 16,=20 b_vp =3D 0xc41b1a44, b_object =3D 0x0, b_dirtyoff =3D 0, b_dirtyend =3D 1= 6384,=20 b_rcred =3D 0x0, b_wcred =3D 0x0, b_saveaddr =3D 0xd219e000, b_pager =3D { pg_spc =3D 0x0, pg_reqpage =3D 0}, b_cluster =3D {cluster_head =3D { tqh_first =3D 0xccab02f8, tqh_last =3D 0xccab0420}, cluster_entry =3D= { tqe_next =3D 0xccab02f8, tqe_prev =3D 0xccab0420}}, b_pages =3D {0xc0= f97d08,=20 0xc0f80c50, 0xc0f92398, 0xc0e9cfe0, 0xc0eefc48, 0xc0efd490, 0xc0a8a3d8,= =20 0xc0f04120, 0xc0a85c68, 0xc0a853b0, 0xc0a3c1f8, 0xc0f1a140, 0xc0de4288,= =20 0xc0f468d0, 0xc0ac3c18, 0xc0a61e60, 0xc0a4fea8, 0xc0f175f0, 0xc0de5638,= =20 0xc0dee680, 0xc0ddeac8, 0xc0f07210, 0xc0a9fe58, 0xc0f462a0, 0xc0dd40e8,= =20 0xc0f3a630, 0xc0ef4178, 0xc0f3dcc0, 0xc0de6b08, 0xc0f3b050, 0xc0f17998,= =20 0xc0dd81e0}, b_npages =3D 4, b_dep =3D {lh_first =3D 0x0}} (kgdb) slurp# ^Dexit Script done on Sun Mar 16 08:57:55 2003 --yrj/dFKFPuw6o+aM-- --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+dC7YbWe1Cy11WVsRAvGYAJ4j9UFfBdJDHIGtyxInwOpEx+BblQCguqT8 KRmbkVEGDmBgVIkyNBs39fM= =5ZCh -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message