From owner-freebsd-current Mon Apr 8 2:31: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 252C937B419 for ; Mon, 8 Apr 2002 02:31:24 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id C9E3D2C8; Mon, 8 Apr 2002 10:30:21 +0100 (BST) Date: Mon, 8 Apr 2002 10:30:21 +0100 From: Josef Karthauser To: Terry Lambert Cc: current@freebsd.org Subject: Re: Kernel debugging - what's the procedure? Message-ID: <20020408093021.GA54610@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> <20020407105959.GA14407@genius.tao.org.uk> <3CB0B1F0.F2D701F7@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <3CB0B1F0.F2D701F7@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 --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