Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 10:30:21 +0100
From:      Josef Karthauser <joe@tao.org.uk>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        current@freebsd.org
Subject:   Re: Kernel debugging - what's the procedure?
Message-ID:  <20020408093021.GA54610@genius.tao.org.uk>
In-Reply-To: <3CB0B1F0.F2D701F7@mindspring.com>
References:  <20020407091335.GA697@genius.tao.org.uk> <3CB01F95.ACCDAA82@mindspring.com> <20020407105959.GA14407@genius.tao.org.uk> <3CB0B1F0.F2D701F7@mindspring.com>

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

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

On Sun, Apr 07, 2002 at 01:54:08PM -0700, Terry Lambert wrote:
> Josef Karthauser wrote:
> > > You use another machine, and connect the serial ports together.
> > > See the handbook for details.
> >=20
> > I'd love to ;) but no additional machine is available at the moment.
>=20
> Then you install vmware, and Julian's back-to-back serial
> driver, and then run the kernel to be debuged in the vmware
> session.  This lets you debug the kernel on a virtual
> machine (single CPU only).

Yes I do have vmware, but it's not going to help me debug the usb stack
is it?  (I know vmware3 does usb, but not if the underlying usb stack on
the host machine is also hosed).
=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.
> >=20
> > 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.
>=20
> Well, since this is the -current list... have you updated
> recently?  There were some recent changes by PHK to the dump
> format that may have broken/fixed things, if your answer to
> that question is yes/no, respectively.

Yes, that's what I implied by the above paragraph.  I was up-to-date
with sources yesterday.

Joe

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

iEYEARECAAYFAjyxYy0ACgkQXVIcjOaxUBYIPwCcD77yCXzcZMh6SRJkCRcJjt/m
AIoAoKWqbWTnTt+8AL/qCv5Nx+zZqn2K
=L4Ug
-----END PGP SIGNATURE-----

--LQksG6bCIzRHxTLp--

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




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