From owner-freebsd-questions@FreeBSD.ORG Sun Jan 7 23:10:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C1A416A403 for ; Sun, 7 Jan 2007 23:10:26 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (avn41.neoplus.adsl.tpnet.pl [83.27.47.41]) by mx1.freebsd.org (Postfix) with ESMTP id 700BB13C441 for ; Sun, 7 Jan 2007 23:10:25 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from blackacidevil.orchid.homeunix.org (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.6/8.13.6) with ESMTP id l07MwabJ001526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 7 Jan 2007 23:58:44 +0100 (CET) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <45A17B2D.9090200@orchid.homeunix.org> Date: Sun, 07 Jan 2007 23:58:53 +0100 From: Karol Kwiatkowski User-Agent: Thunderbird 2.0b1 (X11/20070106) MIME-Version: 1.0 To: christopher floess References: <45A107A0.5020401@orchid.homeunix.org> In-Reply-To: X-Enigmail-Version: 0.94.1.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig662D878AF1F903DDEF4A866F" X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on orchid.homeunix.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: obtaining kernel.debug X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 23:10:26 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig662D878AF1F903DDEF4A866F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable christopher floess wrote: > On 1/7/07, Karol Kwiatkowski wrote: >> >> christopher floess wrote: >> > I've obtained a vmcore file, and now I just need kernel.debug. >> > >> > Is there a way to get this file using the new make procedure for >> kernels? >> > Can I just use the 'kernel' file, or is there a difference between >> 'kernel' >> > and 'kernel.debug'? Thanks for any help ~ Chris >> >> I'm also new to this so take it with a grain of salt. >> >> You'll need kernel with debug symbols (kernel.debug). Add this line to= >> your kernel config (it is included in 6.2 GENERIC): >> >> makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug symbols= >> >> The 'new make procedure' will produce both kernel and kernel.debug fil= es >> in obj/usr/src/sys/YOUR_KERNEL_NAME >=20 >=20 > Sounds good, Karol. Will my current core file work with the recompiled > kernel? Or will I have to generate a new one? I've got no idea, cc'ing @freebsd-questions, someone here may have one. Cheers, Karol --=20 Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc --------------enig662D878AF1F903DDEF4A866F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFoXs2ezeoPAwGIYsRCCrTAJ9bW4mD5pw0w+feWn8nTYkO5wGKuQCcCwTU gZl/EQJJnQ2aQLuzCCNdFeg= =HCR7 -----END PGP SIGNATURE----- --------------enig662D878AF1F903DDEF4A866F--