Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2001 00:09:00 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Jaime Kikpole <jkikpole@cairodurham.org>
Cc:        Kris Kennaway <kris@obsecurity.org>, freebsd-stable@freebsd.org
Subject:   Re: Random (?) kernel panics
Message-ID:  <20010426000900.A88014@xor.obsecurity.org>
In-Reply-To: <20010425213951.U42637-100000@zeus>; from jkikpole@cairodurham.org on Wed, Apr 25, 2001 at 09:42:45PM -0400
References:  <20010425161809.E38790-100000@zeus> <20010425213951.U42637-100000@zeus>

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

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

On Wed, Apr 25, 2001 at 09:42:45PM -0400, Jaime Kikpole wrote:
> On Wed, 25 Apr 2001, Jaime Kikpole wrote:
> > On Wed, 25 Apr 2001, Kris Kennaway wrote:
> > > This is better, but if you can compile a debug kernel as described in
> > > the handbook, it will show more information from those crashdumps and
> > > allow pinpointing of exactly which line of code is causing it to fail.
> >
> > 	Very cool.  I'll do that a.s.a.p.  Thanks.
>=20
> 	Very odd.... If I understand the web site correctly
> (http://www.freebsd.org/doc/en_US.ISO_8859-1/books/faq/kernelconfig.html)
> then my kernel is already compiled with debugging options.  Here's the
> relivant line in my config file:
>=20
> makeoptions	DEBUG=3D-g		#Build kernel with gdb(1) debug symbols
>=20
> 	This is compiled into the current kernel.  This kernel was the one
> involved with the kernel.3 and vmcore.3 dump files.  Did I miss something?

The debugging stuff is all stripped out when the kernel is installed
into /, however it remains in the kernel.debug file in your kernel
build directory: if you haven't rebuilt your kernel since, you can use
this kernel with gdb and the vmcore image (it must be the same one as
the kernel which panicked and dumped the vmcore, otherwise it won't
work properly).

Kris

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE658mLWry0BWjoQKURAmjhAJ9stS1FxeBgu1PsirasdE4xMiXeVACfWH5y
EiFueE0WR9vRHJuIFtL7cZ0=
=xjOc
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--

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




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