Auto-rebooting (was Re: [parisc-linux] C100 & Latest CVS Bits)

Greg Ingram ingram@symsys.com
Wed, 14 Feb 2001 10:17:56 -0600 (CST)


On Tue, 13 Feb 2001, Steven Pritchard wrote:

> Does rebooting with sysrq work?  

Er, as in on the keyboard?  It's not even plugged in.  I haven't gotten a
monitor to work with my C100 so I've only used the serial console and
telnet.

> (I've never actually tried it over a serial console, but I seem to
> recall that you can send a break, then "b".)

My terminal program is cu on a Sun SparcStation 2.  Sending a break with
'~#' and '~%break' with and without a trailing 'b' don't have any effect.

> Actually, will that work, or do you have to turn on sysrq via /proc
> after booting?
> 
> Oh, wait, it looks like you can pass "panic=1" as a kernel parameter. 
> That should have the same effect as "echo 1 > /proc/sys/kernel/panic"
> (or adding "kernel.panic = 1" to /etc/sysctl.conf and running "sysctl
> -p") on a running system.

I'll go ahead and append this option, but I think some of the times the
kernel is dead.

- Greg