xfs
[Top] [All Lists]

Re: KDB vs. X

To: Steve Lord <lord@xxxxxxx>
Subject: Re: KDB vs. X
From: Andi Kleen <ak@xxxxxxx>
Date: Thu, 5 Jul 2001 15:40:09 +0200
Cc: Keith Owens <kaos@xxxxxxxxxxxxxxxxx>, Alan Eldridge <alane@xxxxxxxxxxxx>, Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <200107051331.f65DVU924817@jen.americas.sgi.com>; from lord@sgi.com on Thu, Jul 05, 2001 at 08:31:30AM -0500
References: <kaos@melbourne.sgi.com> <200107051331.f65DVU924817@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Jul 05, 2001 at 08:31:30AM -0500, Steve Lord wrote:
> Typing go does work from within X should you happen to drop into kdb by
> mistake. Keith, the really nice trick would be virtual console switching from 
> within kdb so if I crash while X is on the screen I could at least go
> see what happened.

That would basically requiring duplicating a lot of the X server code into
KDB (vty switching from X requires intimate knowledge about the chipset etc.
and is handled in userspace). With fbcon it would be in theory possible,
but that still is risky with X acceleration and worse fbcon and the console
subsystem is a very complex beasts with lots of locks, so if KDB started to
mess with that it would probably soon end in deadlock country.

Your best bet is to always boot with a serial console enabled in addition 
to the normal console; and when you see the blinking keyboard lights switch 
on your laptop and connect it via a null modem to the serial port and edit
from there.

-Andi

<Prev in Thread] Current Thread [Next in Thread>