On Sun, Feb 18, 2007 at 02:11:33PM -0500, [EMAIL PROTECTED] wrote:
> Hmm, sysrq, eh. It's in the kernel but I never played with it before.

It's better than nothing, and very rarely it has come in handy.

> When it freezes, it freezes hard and stays so for at least a minute (the
> maximum time I've waited before powering down).

That makes it slightly less likely that you'll be able to learn anything
useful.  If you can make it croak, or if it does it all the time, you'll at
least be able to see the last syslog message if you were watching tty12 when
it happens.

> Happens w and w/o X, in single-user mode, multiuser mode, with various
> modules loaded or not. What a pain. (this is the point where the "OPC"
> user says "linux sucks" :)

Yeah.

> How do I put it on tty12?

Alt-f12, or ctrl-alt-f12.  This only works after syslog (or whatever) has
opened tty12.

Note that if the kernel has already wedged, you probably won't be able to
switch virtual terminals.

As a result, you're probably best off either:
directing it to a file and hoping that the file gets written before the
hang, or leaving the system on tty12 and hoping it hangs without user
intervention (such as running some particularly naughty piece of code).

If you're going to do the latter, you probably want to turn off automatic
console blanking (setterm -blank 0).

Ben
-- 
Ben Stern             UNIX & Networks Monkey             [EMAIL PROTECTED]
This post does not represent FTI, even if I claim it does.  Neener neener.
UM Linux Users' Group     Electromagnetic Networks      Microbrew Software

Reply via email to