Re: sak-2.1.131.diff

Michael Dale Long (mlong@custom.net)
Tue, 15 Dec 1998 11:19:15 -0500 (EST)


On Tue, 15 Dec 1998, Ragnar Hojland Espinosa wrote:
>
> I guess I should had added a note about that on the help. Or, if anyone
> has any alternative scan code, or suggestion..

Personally I think Alt+SysRQ is the most logical choice. Although an
alternate assignment for testing might help... ;)

> Yep. But there's not much you can do [0], since the kernel doesn't know
> how to properly restore video modes.

There must be some standard way to tell the video card to go back to 80x25
textmode. At least on the i386 architecture. Unfortunately I don't
enough about video card programming to know what that would be.

Actually I've been looking at the do_SAK() code and thinking that if it
sent SIGHUP, SIGTERM, and finally SIGKILL to the processes that were
originally on the console, it would give X time to shut itself down and
take care of the problem itself. But a failsafe where the keyboard would
be put back in XLATE mode and the video mode restored to text would be
nice too.

> > Alt+SysRQ+k incarnation as well. I'd try it to see but I've crashed my
> > console enough times for a 24-hour period. ;)
>
> Doing svgalib stuff? ;)

*chuckle*

-
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.tux.org/lkml/