Re: Unkillable processes stuck in "D" state running forever

Federico Sevilla III (jijo@free.net.ph)
Tue, 30 Jul 2002 11:13:21 +0800


On Mon, Jul 29, 2002 at 09:13:33AM -0700, Randy.Dunlap wrote:
> On Mon, 29 Jul 2002, Denis Vlasenko wrote:
> | It is logged by syslog. /var/log/messages if your conf is standard.
> That helps on the output side, sure, but I (mis?)understood the question
> to be about the ability to do Alt-SysRq-x via ssh. Is that possible?

No you didn't misunderstand my question. Alt-SysRq-x via ssh doesn't
work, and that's what I was wondering about. :)

> Not that I know of, but I could be wrong about that.
> So if you really need Alt-SysRq over a network connection (or even
> a serial console connection)...
> A few months ago I cooked up a patch so that "echo {magickey}"
> mimics SysRq via proc/sysctl. Patch against 2.4.18 is here:
> http://www.osdl.org/archive/rddunlap/patches/sys-magic.dif
> Usage is: echo {key} > /proc/sys/kernel/magickey

I'm curious: can anyone logged on do this? With the physical Alt-SysRq-x
people have to actually go into the server room, up to the server,
connect a keyboard, and do their mumbo-jumbo. With this anybody can say,
unmount all filesystems, right?

:(

But thanks, anyway. I'm thinking about whether or not I should do this
(and just restrict logins to root, or something like that).

--> Jijo

-- 
Federico Sevilla III   :  <http://jijo.free.net.ph/>
Network Administrator  :  The Leather Collection, Inc.
GnuPG Key ID           :  0x93B746BE
-
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/