From owner-freebsd-current Sun Apr 7 4: 1:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id A637A37B48D for ; Sun, 7 Apr 2002 04:01:03 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id F3AF05BD; Sun, 7 Apr 2002 11:59:59 +0100 (BST) Date: Sun, 7 Apr 2002 11:59:59 +0100 From: Josef Karthauser To: Terry Lambert Cc: current@freebsd.org Subject: Re: Kernel debugging - what's the procedure? Message-ID: <20020407105959.GA14407@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Terry Lambert , current@freebsd.org References: <20020407091335.GA697@genius.tao.org.uk> <3CB01F95.ACCDAA82@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <3CB01F95.ACCDAA82@mindspring.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 07, 2002 at 03:29:41AM -0700, Terry Lambert wrote: > Josef Karthauser wrote: > > What's the current method for debugging kernels? > >=20 > > genius# gdb -k /usr/obj/usr/src/sys/GENIUS/kernel.debug=20 > Running kernels? >=20 > You use another machine, and connect the serial ports together. > See the handbook for details. I'd love to ;) but no additional machine is available at the moment. =20 > If this is against a dead kernel, etiher your dump image is > bad, or it doesn't match the kernel that made the dump. That's what I'd guess too, but the kernel that crashed is the same as the kernel that I'm debugging it on - I'm pretty sure: compiled today. Joe --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjywJq8ACgkQXVIcjOaxUBaZVACghPajX1pRBFrz4bJWS4WNG3iB Q6kAoOsi27LXFDvjwuifDN7+nh1OTngc =NyLA -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message