From owner-freebsd-stable@FreeBSD.ORG Thu Nov 20 07:02:32 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1160016A4CE for ; Thu, 20 Nov 2003 07:02:32 -0800 (PST) Received: from ngfl.dialnet.com (ngmail.ngfl.dialnet.com [212.44.44.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E52443FEA for ; Thu, 20 Nov 2003 07:02:28 -0800 (PST) (envelope-from ict@cardinalnewman.coventry.sch.uk) Received: from ngmfilt.ngfl.dialnet.com [212.44.44.121] by ngfl.dialnet.com with ESMTP (SMTPD32-6.06) id A6D641240110; Thu, 20 Nov 2003 14:59:34 +0000 Received: from relay.ngfl.dialnet.com (unverified) by ngmfilt.ngfl.dialnet.com for ; Thu, 20 Nov 2003 14:59:29 +0000 Received: from firewall.cardinalnewman.lan ( [172.30.0.70]) by relay.ngfl.dialnet.com with SMTP (MailShield v2.04 - WIN32 Jul 17 2001 17:12:42); Thu, 20 Nov 2003 15:00:48 -0000 Received: from mail.cardinalnewman.lan (mail.cardinalnewman.lan [192.168.0.3]) hAKF2Oxj000516 for ; Thu, 20 Nov 2003 15:02:24 GMT (envelope-from ict@cardinalnewman.coventry.sch.uk) Received: from dumpster.cardinalnewman.lan (dumpster.cardinalnewman.lan [192.168.0.9])hAKF2Ncr008680 for ; Thu, 20 Nov 2003 15:02:23 GMT (envelope-from ict@cardinalnewman.coventry.sch.uk) From: ict technician Organization: Cardinal Newman School To: freebsd-stable@freebsd.org Date: Thu, 20 Nov 2003 15:02:22 +0000 User-Agent: KMail/1.5.4 References: <200311181724.18225.ict@cardinalnewman.coventry.sch.uk> In-Reply-To: <200311181724.18225.ict@cardinalnewman.coventry.sch.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311201502.22720.ict@cardinalnewman.coventry.sch.uk> X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-32.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, QUOTE_TWICE_1,REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_KMAIL version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Filter-Version: 1.11a (mail.cardinalnewman.lan) X-SMTP-HELO: firewall.cardinalnewman.lan X-SMTP-MAIL-FROM: ict@cardinalnewman.coventry.sch.uk X-SMTP-RCPT-TO: freebsd-stable@freebsd.org X-SMTP-PEER-INFO: [172.30.0.70] Subject: Re: panic ffs_blkfree bad size X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 15:02:32 -0000 On Tuesday 18 November 2003 5:24 pm, ict technician wrote: > This is on a 4.8-RELEASE system. I know this is ancient but the referenced > code doesn't seem to have changed much. > > This is our samba file server. We've been getting reboots every 20 days or > so. vinum RAID10 if that matters. dmesg/WHY on request. That'll teach me to mock the gods. Got another panic today. > > I am not a kernel hacker. > > dumpster# gdb -k^M > GNU gdb 4.18 (FreeBSD) > Copyright 1998 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-unknown-freebsd". > (kgdb) stmymbol-file ke^Grnel.d^Gebug > Reading symbols from kernel.debug...Deprecated bfd_read called at > /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c > line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at > /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c > line 933 in fill_symbuf done. > (kgdb) exec-file ke^Grnel.4 > (kgdb) core-file vm^Gcore.4 > IdlePTD at phsyical address 0x003c4000 > initial pcb at physical address 0x0031f6a0 > panicstr: ffs_blkfree: bad size > panic messages: > --- > panic: ffs_blkfree: bad size > > syncing disks... 154 21 > done > Uptime: 18d20h25m18s [snip vmcore.4 dump] dumpster# gdb -k GNU gdb 4.18 (FreeBSD) Copyright 1998 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-unknown-freebsd". (kgdb) symbol-file kernel.debug Reading symbols from kernel.debug...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf done. (kgdb) exec-file kernel.5 (kgdb) core-file vmcore.5 IdlePTD at phsyical address 0x003c4000 initial pcb at physical address 0x0031f6a0 panicstr: lockmgr: non-zero exclusive count panic messages: --- panic: lockmgr: non-zero exclusive count syncing disks... 107 11 done Uptime: 2d3h54m12s dumping to dev #da/0x20001, offset 1048704 dump 1535 [snip...] 1 0 --- #0 0xc017d98a in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) bt #0 0xc017d98a in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc3f0e694 in ?? () #2 0xc017d75b in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:319 #3 0xc017db80 in poweroff_wait (junk=0xc02c7680, howto=65554) at /usr/src/sys/kern/kern_shutdown.c:612 #4 0xc01780b9 in lockmgr (lkp=0xc66bf300, flags=16842770, interlkp=0xe697bb6c, p=0xe05c05e0) at /usr/src/sys/kern/kern_lock.c:381 #5 0xc01a8b10 in vop_stdunlock (ap=0xe3654ec0) at /usr/src/sys/kern/vfs_default.c:279 #6 0xc025b201 in ufsdirhash_build (ip=0xe3654ec0) at /usr/src/sys/ufs/ufs/ufs_dirhash.c:107 #7 0xc01b2c8d in vn_lock (vp=0xe697bb00, flags=65554, p=0xe05c05e0) at /usr/src/sys/kern/vfs_vnops.c:680 #8 0xc01aba5f in vget (vp=0xe697bb00, flags=18, p=0xe05c05e0) at /usr/src/sys/kern/vfs_subr.c:1538 #9 0xc0252f73 in ffs_sync (mp=0xc3fe5600, waitfor=3, cred=0xc295c900, p=0xe05c05e0) at vnode_if.h:558 #10 0xc01acde5 in sync_inactive (ap=0xe3654f7c) at /usr/src/sys/kern/vfs_subr.c:2977 #11 0xc01ab46f in sched_sync () at vnode_if.h:886 -- i j hart ICT Technician Cardinal Newman Catholic School & Community College