From owner-freebsd-stable@FreeBSD.ORG Wed Aug 31 18:28:17 2005 Return-Path: X-Original-To: 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 EE65716A41F for ; Wed, 31 Aug 2005 18:28:17 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C30243D45 for ; Wed, 31 Aug 2005 18:28:17 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j7VISFvf001584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 31 Aug 2005 14:28:15 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j7VISE6P020646; Wed, 31 Aug 2005 14:28:14 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9CD46511FD; Wed, 31 Aug 2005 14:28:13 -0400 (EDT) Date: Wed, 31 Aug 2005 14:28:13 -0400 From: Kris Kennaway To: Eirik ?verby Message-ID: <20050831182813.GA1847@xor.obsecurity.org> References: <25EF7E8A-5186-483C-9032-108CD3F53911@anduin.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <25EF7E8A-5186-483C-9032-108CD3F53911@anduin.net> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org Subject: Re: 5.4-dropping to debugger X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 18:28:18 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 31, 2005 at 12:51:00PM +0200, Eirik ?verby wrote: > Hi, every once in a while (about once a week lately), one of my =20 > servers has been known to stop responding. Upon connecting the serial =20 > console, I find myself at a debugger prompt. This is the output I've =20 > gotten this time. >=20 > I do think I have a debug kernel on that machine, what can I do to =20 > get more useful information out? See the chapter on kernel debugging in the developers' handbook. Kris >=20 > PS: I have seen various kinds of instability on most of my 5.4-=20 > installations, no matter the patchlevel. This box is just one of many. >=20 > Anyone? >=20 > /Eirik >=20 > db> > db> c > Fatal trap 12: page fault while in kernel mode > cpuid =3D 1; apic id =3D 01 > fault virtual address =3D 0x2007010 > fault code =3D supervisor write, page not present > instruction pointer =3D 0x8:0xc0581fe8 > stack pointer =3D 0x10:0xe3384c40 > frame pointer =3D 0x10:0xe3384c70 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, def32 1, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 29 (irq18: fxp0) > [thread pid 29 tid 100000 ] > Stopped at fxp_add_rfabuf+0x68: movw %ax,0xe(%ebx) > db> trace > Tracing pid 29 tid 100000 td 0xc22a0000 > fxp_add_rfabuf(c2404000,c2404500,2,a6c54bb2,b51487f8) at =20 > fxp_add_rfabuf+0x68 > fxp_intr_body(c2404000,c2404000,40,ffffffff,8) at fxp_intr_body+0xf1 > fxp_intr(c2404000,0,0,0,0) at fxp_intr+0x14e > ithread_loop(c22f6500,e3384d38,0,0,0) at ithread_loop+0x1b8 > fork_exit(c06a9150,c22f6500,e3384d38) at fork_exit+0x80 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0x1, eip =3D 0, esp =3D 0xe3384d6c, ebp =3D 0 --- >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >=20 --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDFfa9Wry0BWjoQKURAq8JAKC1XpCwuc9ESQuHIes5J5uDrNEdswCbBnsB WnQkV5oNiEJRjB9ZlMhH0Os= =hYFJ -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--