Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2000 09:12:34 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Chris Hardie <chris@summersault.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mysterious ffs_clusteralloc kernel panics: need help!
Message-ID:  <20000721091234.G936@wantadilla.lemis.com>
In-Reply-To: <Pine.BSF.4.21.0007200927390.531-100000@summersault.com>
References:  <20000720094750.A50320@wantadilla.lemis.com> <Pine.BSF.4.21.0007200927390.531-100000@summersault.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>>> <snip>
>>> ---
>>> #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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000721091234.G936>