Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Apr 2002 13:54:08 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        current@freebsd.org
Subject:   Re: Kernel debugging - what's the procedure?
Message-ID:  <3CB0B1F0.F2D701F7@mindspring.com>
References:  <20020407091335.GA697@genius.tao.org.uk> <3CB01F95.ACCDAA82@mindspring.com> <20020407105959.GA14407@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Josef Karthauser wrote:
> > 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.

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).


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

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.

-- Terry

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?3CB0B1F0.F2D701F7>