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
|