Total system lockup with Alt-SysRQ-L

From: Russell King (rmk@arm.linux.org.uk)
Date: Sun Dec 23 2001 - 12:58:46 EST


Ok, alt-sysrq-l is a pretty major thing to do, as it has the effect of
killing everything, including init.

When pid1 exits (maybe due to a kill signal), we lockup hard in (iirc)
exit_notify. I don't remember the details I'm afraid.

Back in 2.3, I had a go at fixing this, Linus rejected the patch saying
that it was doing the wrong thing. To this day, the kernel still suffers
from this, and I've not had the inclination to spend any more time on it.

So, I'm just letting people know that alt-sysrq-l is rather fatal,
especially if you want to do the following sequence to avoid a fsck:

        alt-sysrq-l
        alt-sysrq-s
        alt-sysrq-u
        alt-sysrq-b

IMHO either alt-sysrq-l should be removed, or someone who knows the logic
behind the linking of tasks together needs to fix exit_notify so it doesn't
enter an infinite loop when init exits.

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:30 EST