From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 8 23:50:32 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58F3D16A4E3 for ; Wed, 8 Dec 2004 23:50:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED3A243D5C for ; Wed, 8 Dec 2004 23:50:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iB8NoRfl029657 for ; Wed, 8 Dec 2004 23:50:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iB8NoRs1029656; Wed, 8 Dec 2004 23:50:27 GMT (envelope-from gnats) Resent-Date: Wed, 8 Dec 2004 23:50:27 GMT Resent-Message-Id: <200412082350.iB8NoRs1029656@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stephane Legrand Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1CBF16A4CE for ; Wed, 8 Dec 2004 23:43:29 +0000 (GMT) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78B3943D54 for ; Wed, 8 Dec 2004 23:43:28 +0000 (GMT) (envelope-from stephane@freebsd-fr.org) Received: from sequoia.mondomaineamoi.megalo (lns-vlq-17f-81-56-170-180.adsl.proxad.net [81.56.170.180]) by postfix4-2.free.fr (Postfix) with ESMTP id A2F8B24D52F for ; Wed, 8 Dec 2004 22:16:48 +0100 (CET) Received: from sequoia.mondomaineamoi.megalo (localhost.mondomaineamoi.megalo [127.0.0.1])iB8LGkT4075149 for ; Wed, 8 Dec 2004 22:16:46 +0100 (CET) (envelope-from stephane@sequoia.mondomaineamoi.megalo) Received: (from stephane@localhost)iB8LGksh075148; Wed, 8 Dec 2004 22:16:46 +0100 (CET) (envelope-from stephane) Message-Id: <200412082116.iB8LGksh075148@sequoia.mondomaineamoi.megalo> Date: Wed, 8 Dec 2004 22:16:46 +0100 (CET) From: Stephane Legrand To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/74877: Panic after halting the system - vrele: negative ref cnt X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Stephane Legrand List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 23:50:32 -0000 >Number: 74877 >Category: kern >Synopsis: Panic after halting the system - vrele: negative ref cnt >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 08 23:50:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Stephane Legrand >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD 5.3-STABLE #10: Fri Nov 26 19:49:00 CET 2004 i386 >Description: After halting my system, i get the following panic: #halt ... syncing disks, vnodes remaining... 1 1 0 0 0 done No buffers busy after final sync ad6: TIMEOUT - READ_DMA retrying (2 retries left) LBA = 15667327 ad6: FAILURE - READ_DMA timed out panic: vrele: negative ref cnt KDB: enter: panic [thread 100191] stopped at kdb_enter + 0x30: leave db>trace kdb_enter (c06b227d, c0702f80, c06b6c8b, d2630bbc, d2630ba8) at kdb_enter + 0x30 panic (c06b6c8b, c20cf190, d2630bb0, c06d4760, c1741600) at panic + 0xd5 vrele (c17d8b58, 1, 0, c20cf190, 0) at vrele + 0x2dc ffs_unmount (c173f800, 80000, c20cf190, c20cf190, 0) at ffs_unmount + 0x19a dounmount (c173f800, 80000, c20cf190, c7111aec, 0) at dounmount + 0x284 vfs_unmountall (c7111d68, 0, d2630cbc, c04f4dc6, c0702dc0) at vfs_unmountall + 0x5e boot (8, 1, c20cd710, c20cf190, 0) at boot + 0x537 reboot (c20cf190, d2630d14, 4, d2630d3c, c0518916) at reboot + 0x67 syscall (2f, 2f, 2f, 0, 650a) at syscall + 0x330 Xint0x80_syscall() at Xint0x80_syscall + 0x1f ---syscall (55, FreeBSD ELF 32, reboot), eip = 0x280ac25b, esp = 0xbfbfed1c, ebp = 0xbfbfed68 --- db> Note that the ad6 disk was certainly in a standby mode. # atacontrol cap 3 0 ATA channel 3, Master, device ad6: Protocol ATA/ATAPI revision 4 device model IBM-DJNA-371350 serial number GM0GMF06050 firmware revision J76OA30K cylinders 16383 heads 16 sectors/track 63 lba supported 26520480 sectors lba48 not supported dma supported overlap not supported Feature Support Enable Value Vendor write cache yes yes read ahead yes yes dma queued yes yes 31/0x1F SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management no no 0/0x00 automatic acoustic management no no 0/0x00 0/0x00 >How-To-Repeat: Don't know. I will see if i get the same panic at my next halt. >Fix: Don't know. >Release-Note: >Audit-Trail: >Unformatted: