Skip site navigation (1)Skip section navigation (2)
Date:      12 Mar 2001 23:16:45 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Mikhail Teterin <mi@mail.virtual-estates.net>
Cc:        current@freebsd.org
Subject:   Re: panic trying to play Civillization (with trace, etc.)
Message-ID:  <xzpy9uavdiq.fsf@flood.ping.uio.no>
In-Reply-To: Mikhail Teterin's message of "Mon, 12 Mar 2001 00:26:41 -0500 (EST)"
References:  <200103120526.AAA09072@mail.virtual-estates.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mikhail Teterin <mi@mail.virtual-estates.net> writes:
> > If you can, please reproduce the panic on a kernel compiled with the
> > INVARIANTS, INVARIANT_SUPPORT and WITNESS options.
> Well, with this options on, the machine does not crash, but the
> program segfaults on startup:

The trace you're showing looks like it's from a shell script that
starts civctp. I need to see the trace from the civctp binary itself.

> 	lock order reversal
> 	 1st lockmgr interlock last acquired @ ../../kern/kern_lock.c:239
> 	 2nd 0xcefa0520 process lock @ ../../kern/kern_sig.c:183
> 	 3rd 0xc1029f80 lockmgr interlock @ ../../kern/kern_lock.c:560

Haven't seen this one before... If it's reproducible, could you do the
following:

 1) recompile your kernel with WITNESS_DDB

 2) hook up a serial console and boot with '-h' in /boot.config

 3) provoke the reversal, then get the output from 'trace', 'show
    mutex' and 'show witness' at the DDB prompt

 4) type 'continue' to exit DDB and continue running normally.

> 	lock order reversal
> 	 1st vnode interlock last acquired @ ../../kern/vfs_vnops.c:625
> 	 2nd 0xc0419680 mntvnode @ ../../ufs/ffs/ffs_vfsops.c:939
> 	 3rd 0xcefb986c vnode interlock @ ../../ufs/ffs/ffs_vfsops.c:948

This is a known (and probably benign) bug.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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