From owner-freebsd-questions Thu Jul 20 16:42:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id C8B8B37B645 for ; Thu, 20 Jul 2000 16:42:44 -0700 (PDT) (envelope-from grog@wantadilla.lemis.com) Received: (from grog@localhost) by wantadilla.lemis.com (8.9.3/8.9.3) id JAA01343; Fri, 21 Jul 2000 09:12:34 +0930 (CST) (envelope-from grog) Date: Fri, 21 Jul 2000 09:12:34 +0930 From: Greg Lehey To: Chris Hardie Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mysterious ffs_clusteralloc kernel panics: need help! Message-ID: <20000721091234.G936@wantadilla.lemis.com> References: <20000720094750.A50320@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 20 July 2000 at 9:28:59 -0500, Chris Hardie wrote: > > Backtrace is below, as requested. Thanks! > > On Thu, 20 Jul 2000, Greg Lehey wrote: > >>> bash-2.03# gdb -k >>> ... >>> (kgdb) symbol-file kernel.debug >>> (kgdb) exec-file /var/crash/kernel.1 >>> (kgdb) core-file /var/crash/vmcore.1 >>> IdlePTD 3616768 >>> initial pcb at 2ec628 >>> panicstr: lockmgr: locking against myself >>> panic messages: >>> --- >>> panic: ffs_clusteralloc: map mismatch >>> >>> syncing disks... panic: lockmgr: locking against myself >>> >>> dumping to dev 20401, offset 542720 >>> dump 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 >>> >>> --- >>> #0 0xc0163d7f in boot () >> >> OK, now do a backtrace ('bt'). > > (kgdb) bt > #0 0xc0163d7f in boot () > #1 0xc0164004 in at_shutdown () > #2 0xc015fd04 in lockmgr () > #3 0xc0185da0 in vop_stdlock () > #4 0xc02383b9 in ufs_vnoperate () > #5 0xc018ebeb in vn_lock () > #6 0xc018872f in vget () > #7 0xc0234d7b in qsync () > #8 0xc022fb55 in ffs_sync () > #9 0xc018a76b in sync () > #10 0xc0163bc5 in boot () > #11 0xc0164004 in at_shutdown () > #12 0xc022b148 in ffs_clusteralloc () > #13 0xc022a3c6 in ffs_hashalloc () > #14 0xc0229d48 in ffs_reallocblks () > #15 0xc0185407 in cluster_write () > #16 0xc0230c5b in ffs_write () > #17 0xc018e7fe in vn_write () > #18 0xc016ecf6 in dofilewrite () > #19 0xc016ebff in write () > #20 0xc0266ce7 in syscall () You need the kernel with debugging symbols, which you appear to have. But this isn't the one. Take a look at http://www.lemis.com/vinum/how-to-debug.html for further details. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message