From owner-freebsd-hackers Tue Mar 19 13:35:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 3B24B37B416 for ; Tue, 19 Mar 2002 13:35:07 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id g2JLYmH44295; Tue, 19 Mar 2002 14:34:48 -0700 (MST) (envelope-from ken) Date: Tue, 19 Mar 2002 14:34:48 -0700 From: "Kenneth D. Merry" To: Josef Karthauser Cc: hackers@FreeBSD.ORG Subject: Re: Kernel debugger and X11. Message-ID: <20020319143448.A44276@panzer.kdm.org> References: <20020319201528.GI4989@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020319201528.GI4989@genius.tao.org.uk>; from joe@tao.org.uk on Tue, Mar 19, 2002 at 08:15:29PM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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