Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2006 21:06:00 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        freebsd-stable@freebsd.org, freebsd-alpha@freebsd.org
Subject:   Re: 6.1-RELEASE panic / lockmgr?
Message-ID:  <20060602010600.GB40143@xor.obsecurity.org>
In-Reply-To: <20060601230007.C69345@fledge.watson.org>
References:  <20060601212736.GA3380@freebie.xs4all.nl> <20060601230007.C69345@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--1LKvkjL3sHcu1TtY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 01, 2006 at 11:01:07PM +0100, Robert Watson wrote:
>=20
> On Thu, 1 Jun 2006, Wilko Bulte wrote:
>=20
> >My dual-CPU DS20 Alpha box can more or less consistently be
> >forced into a panic like:
> >
> >FreeBSD/alpha (goldrush.wbnet) (ttyd0)^
> >
> >login: panic: lockmgr: thread 0xfffffc007d9d4a80, not exclusive lock hol=
der
> >0xfffffc006052d260 unlocking
> >cpuid =3D 1
> >KDB: enter: panic
> >
> >Trigger is a "make -j2 release".  j2 seems to be needed, not seen it with
> >-j1
> >
> >Unfortunately after printing the line with "KDB" the whole thing appears=
=20
> >to become completely catatonic :(
>=20
> Try putting a call to critical_enter() towards the beginning of panic().=
=20
> Sometimes this increases the reliability of entering the debugger by=20
> avoiding interrupt delivery during the process of entering.  If you want =
to=20
> be able to continue out, you'll need a critical_exit() at the end, but th=
at=20
> generally isn't helpful for panic().

Also turn off debug.kdb.stop_other_cpus or whatever it is.  Without
this I usually get lockups on sparc64 SMP machines.

Kris

--1LKvkjL3sHcu1TtY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEf474Wry0BWjoQKURAlraAJ93l1zRM8ns++7JiTLEMKriDpLhOgCeL4qE
F02s26wlPiSNn+SMxdIlpNo=
=D903
-----END PGP SIGNATURE-----

--1LKvkjL3sHcu1TtY--



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