Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 1995 14:16:15 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@FreeBSD.org (FreeBSD hackers)
Subject:   grafx console & DDB
Message-ID:  <199504021216.OAA01253@uriah.heep.sax.de>

next in thread | raw e-mail | index | archive | help
It hit me again... X was running, and the system panicked.  Since my
development machine ususally runs with DDB enabled, the system just
stalled at this time.

What do people think about a global variable (`console_unavail' ?)
that can be set to TRUE by the graphics console drivers while the
current VT is in `process' mode (i.e., needs the interaction of a
process [the X server] in order to be succesfully switched from/to)?

panic() should then avoid calling Debugger() if this variable is TRUE.
The console drivers should only set it if they are acting as the
system's console (so if someone runs a serial console, it would still
go into DDB).


Before Terry jumps in: i know that this is not the generic solution.
The console drivers should reinitialize the system's console via a
vm86() call to the video BIOS -- but i don't see this solution around
the corner within the next weeks.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



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