Subject: Re: Any way to switch out of X when in ddb?
To: None <port-i386@NetBSD.ORG>
From: Guenther Grau <s_grau@ira.uka.de>
List: port-i386
Date: 12/03/1996 15:07:20
Hi,

[Can you switch from X into a console window? - question deleted]
> Unfortunately: no. X may have done all sorts of things to your video mode,
> and the rest of the system has no knowledge about it, so it does not
> know how to restore text mode. The VT switch in pcvt out of X works,
> because X is signaled to switch, so it has the chance to save its
> own state and restore the old one, something which it can do because
> it has knowledge of the current state.

While I have to admit, that I don't know how gfx-cards exactly work, I
have a hard time to believe, that you cannot reset the card to text mode,
regardless of the state it is in.

I agree that I wouldn't be able to switch back to the previous state, but
I don't think that this would be needed, as once you are dropped into
ddb, the only thing you still want to do is grovel the kernel structures a bit
to find out what happened and then reboot.

Or am I completly missing something,

  Guenther