Re: [gentoo-user] Re: Emergency shutdown, how to?

2008-04-08 Thread Steven Lembark
I agree that your script is nice and simple, and hence less prone to errors. I coded mine in c++ because I use it not only for a machine type watchdog, but also a task based watchdog that reboots the machine based on certain tasks living or not. Each task has to register with the watchdog

Re: [gentoo-user] Re: Emergency shutdown, how to?

2008-04-07 Thread Steven Lembark
Iain Buchanan wrote: On Sat, 2008-04-05 at 12:42 -0400, Steven Lembark wrote: I tried ALT + SysRq + EISUB today on my MythTV backend server which has been crashing lately. Unfortunately it's crashing so badly that even at the server's keyboard this didn't work. I guess my weekend fate of

Re: [gentoo-user] Re: Emergency shutdown, how to?

2008-04-07 Thread Iain Buchanan
On Mon, 2008-04-07 at 13:28 -0400, Steven Lembark wrote: Iain Buchanan wrote: watchdogs are nice, and linux makes them ultra-easy to program, but of course if your watchdog task dies, then the machine effectively hits the reset button for you - no nice shutdown whatsoever! (Which is what

Re: [gentoo-user] Re: Emergency shutdown, how to?

2008-04-06 Thread Iain Buchanan
On Sat, 2008-04-05 at 12:42 -0400, Steven Lembark wrote: I tried ALT + SysRq + EISUB today on my MythTV backend server which has been crashing lately. Unfortunately it's crashing so badly that even at the server's keyboard this didn't work. I guess my weekend fate of building a new

Re: [gentoo-user] Re: Emergency shutdown, how to?

2008-04-05 Thread Steven Lembark
I tried ALT + SysRq + EISUB today on my MythTV backend server which has been crashing lately. Unfortunately it's crashing so badly that even at the server's keyboard this didn't work. I guess my weekend fate of building a new server is sealed... Have fun. Check out motherboards with

Re: [gentoo-user] Re: Emergency shutdown, how to?

2008-04-04 Thread Mark Knecht
On Wed, Apr 2, 2008 at 10:48 AM, Neil Bothwick [EMAIL PROTECTED] wrote: On Wed, 02 Apr 2008 19:40:37 +0200, Michael Schmarck wrote: Neil even proposed ALT + SysRq + EISUB, to be sure everything is killed, sync'd and unmounted. Which might or might not work. But note that I was

Re: [gentoo-user] Re: Emergency shutdown, how to?

2008-04-04 Thread Neil Bothwick
On Fri, 4 Apr 2008 14:05:42 -0700, Mark Knecht wrote: I tried ALT + SysRq + EISUB today on my MythTV backend server which has been crashing lately. Unfortunately it's crashing so badly that even at the server's keyboard this didn't work. Do you have CONFIG_MAGIC_SYSRQ=y in your kernel config?

Re: [gentoo-user] Re: Emergency shutdown, how to?

2008-04-04 Thread Mark Knecht
On Fri, Apr 4, 2008 at 2:50 PM, Neil Bothwick [EMAIL PROTECTED] wrote: On Fri, 4 Apr 2008 14:05:42 -0700, Mark Knecht wrote: I tried ALT + SysRq + EISUB today on my MythTV backend server which has been crashing lately. Unfortunately it's crashing so badly that even at the server's

[gentoo-user] Re: Emergency shutdown, how to?

2008-04-02 Thread Michael Schmarck
Liviu Andronic [EMAIL PROTECTED] wrote: Are there any potential harms to the hardware / system in case one tends to abuse (i.e. use more often than necessary) of this command? You're not shutting down the system in a clean way. Because of this, filesystem and/or applications might get corrupt

Re: [gentoo-user] Re: Emergency shutdown, how to?

2008-04-02 Thread Dirk Heinrichs
Am Mittwoch, 2. April 2008 schrieb ext Michael Schmarck: You're not shutting down the system in a clean way. You're not? I thought that's the purpose of the whole thing? Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211

[gentoo-user] Re: Emergency shutdown, how to?

2008-04-02 Thread Michael Schmarck
ยท Dirk Heinrichs [EMAIL PROTECTED]: Am Mittwoch, 2. April 2008 schrieb ext Michael Schmarck: Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Mittwoch, 2. April 2008 schrieb ext Michael Schmarck: You're not shutting down the system in a clean way. You're not? I thought that's the purpose of

Re: [gentoo-user] Re: Emergency shutdown, how to?

2008-04-02 Thread Neil Bothwick
On Wed, 02 Apr 2008 19:40:37 +0200, Michael Schmarck wrote: Neil even proposed ALT + SysRq + EISUB, to be sure everything is killed, sync'd and unmounted. Which might or might not work. But note that I was also talking about applications being in a corrupted state (the database