lkml.org 
[lkml]   [1998]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: kill -9 <pid of X>
Date
From
> in userspace code than in the kernel, and the second can be worked around
> by having a simple textmode driver that is always in the kernel (it would
> be quite small) and if the console's video driver oopses it can be
> deactivated and the consoles mapped back to the fallback mini-driver.

And you _again_ get the problem of "how do I switch back into text
mode when the driver which has switched into graphics mode has exited
prematurely?"

This problem is not solvable in the general case. I think the graphics
mode switcher belongs in the kernel, but it must be stable. If it
oopses, this is a fatal error. The only band-aid you can put around
that is initiate a safe reboot, just with the current X-in-userspace
mess. But if it is in the kernel, at least you won't be able to crash
it from user space, and moreover, it is easier to design and perhaps
even prove correct a rather small kernel driver.

olaf


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site