From owner-freebsd-stable@FreeBSD.ORG  Fri Jul  1 18:43:53 2005
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
X-Original-To: freebsd-stable@freebsd.org
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 AA76F16A41C;
	Fri,  1 Jul 2005 18:43:53 +0000 (GMT)
	(envelope-from kris@obsecurity.org)
Received: from obsecurity.dyndns.org
	(CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com
	[69.194.102.232])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5B23943D49;
	Fri,  1 Jul 2005 18:43:53 +0000 (GMT)
	(envelope-from kris@obsecurity.org)
Received: by obsecurity.dyndns.org (Postfix, from userid 1000)
	id 48DEE513E1; Fri,  1 Jul 2005 14:43:52 -0400 (EDT)
Date: Fri, 1 Jul 2005 14:43:52 -0400
From: Kris Kennaway <kris@obsecurity.org>
To: Kris Kennaway <kris@obsecurity.org>
Message-ID: <20050701184352.GA177@xor.obsecurity.org>
References: <42BF8815.6090909@atopia.net> <20050627081933.GA97832@cell.sick.ru>
	<42C16394.4040904@atopia.net>
	<1119971279.36316.45.camel@buffy.york.ac.uk>
	<42C16C0E.9090002@atopia.net>
	<20050629100535.GC27557@xor.obsecurity.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA"
Content-Disposition: inline
In-Reply-To: <20050629100535.GC27557@xor.obsecurity.org>
User-Agent: Mutt/1.4.2.1i
Cc: Matt Juszczak <matt@atopia.net>, Gleb Smirnoff <glebius@freebsd.org>,
	freebsd-stable@freebsd.org
Subject: Re: FreeBSD -STABLE servers repeatedly crashing.
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, 
	<mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Jul 2005 18:43:53 -0000


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

On Wed, Jun 29, 2005 at 06:05:35AM -0400, Kris Kennaway wrote:
> On Tue, Jun 28, 2005 at 11:26:06AM -0400, Matt Juszczak wrote:
>=20
> > >OK, when it crashes next and is sat at the "db>" prompt, type "tr" and
> > >press enter to get a trace.  Copy this down (or have a serial console =
to
> > >capture the output).  Also, try typing "call doadump()" and see if that
> > >succeeds in generating a crash dump.  How were you trying to generate
> > >one before?
> > >
> > >Gavin
> > >=20
> > >
> >=20
> > I can't type anything.  The machine locks up.
> >=20
> > See: http://paste.atopia.net/126
> >=20
> > After CPUID: 1, the machine locks cold and nothing else is printed to=
=20
> > the screen.
>=20
> Try two things:
>=20
> 1) adding 'options KDB_STOP_NMI' to your kernel config.

I just learned that you also need to set the
debug.kdb.stop_cpus_with_nmi=3D1 sysctl (e.g. in sysctl.conf).

Kris

--AqsLC8rIMeq19msA
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCxY7nWry0BWjoQKURAtghAKDSwNaiBdLNfAUGYkG8yqxErv8kOQCfREIc
o1gG24iyCRnjXW6S/fi5dc4=
=G3dv
-----END PGP SIGNATURE-----

--AqsLC8rIMeq19msA--