Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 14:34:48 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Kernel debugger and X11.
Message-ID:  <20020319143448.A44276@panzer.kdm.org>
In-Reply-To: <20020319201528.GI4989@genius.tao.org.uk>; from joe@tao.org.uk on Tue, Mar 19, 2002 at 08:15:29PM %2B0000
References:  <20020319201528.GI4989@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 19, 2002 at 20:15:29 +0000, Josef Karthauser wrote:
> I'm having some intermittant problems on my laptop that I'd like to
> debug, but as I use X11 most of the time it's difficult to use the
> kernel debugger when the machine hangs, which is when I'm in X :(.
> 
> Of course the nicest thing would be to return the screen to text mode
> automatically when the the kernel debugger is entered, but because X
> controls the video registers I guess that that's not easy or possible.
> 
> I suppose that the best way is to have a second FreeBSD box and couple
> them via RS232, but this isn't always convenient. (I seem to have the
> most time to work on FreeBSD when I'm travelling).
> 
> Does anyone have any working practices around this problem?  I'm sure
> that I'm not the only one of us with it.

I would recommend just enabling crash dumps; then it doesn't matter if
you're in X when the machine panics, and you can get a stack trace and look
at things once the machine reboots.

Ken
-- 
Kenneth Merry
ken@kdm.org

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




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