Re: System reboot from user space without calling motifier_call_chain ?

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Mon, 4 Oct 1999 14:35:21 +0200


Hello!

> Is there a way to force a reboot on a system that is otherwise finding
> itself blocking on reboot() ? I have a system that has a broken raid array
> that won't ever get past the notifier_call_chain ( SYS_RESTART ) list. The
> machine is co-located, and it's hard for me to get a human to reboot it.
> Ideally, I'd like to be able to call machine_restart() directly... can I
> duplicate it's functionality in user space?

Probably the simplest way is to find the notifier_call_chain() call
and modify /dev/mem in order to get rid of it :)

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

- 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/