Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2005 14:28:13 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Eirik ?verby <ltning@anduin.net>
Cc:        stable@freebsd.org
Subject:   Re: 5.4-dropping to debugger
Message-ID:  <20050831182813.GA1847@xor.obsecurity.org>
In-Reply-To: <25EF7E8A-5186-483C-9032-108CD3F53911@anduin.net>
References:  <25EF7E8A-5186-483C-9032-108CD3F53911@anduin.net>

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

--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--



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