[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Spin on failure?
From: |
Jeff Bailey |
Subject: |
Re: Spin on failure? |
Date: |
Wed, 24 Oct 2001 21:07:13 -0700 |
User-agent: |
Mutt/1.2.5i |
On Thu, Oct 25, 2001 at 12:01:54AM -0400, Roland McGrath wrote:
> Do you mean a gnumach panic, or a Hurd panic that reboots?
Sadly, I'm not sure. I came over to see why the drives stopped
whirring and heard the beep from the reboot.
> For a gnumach panic to spin instead of reboot, you need to edit panic in
> kern/debug.c and make it call halt_all_cpus(0) instead of halt_all_cpus(1).
>
> If you are talking about a Hurd panic, then it calls host_reboot. If it's
> init calling host_reboot, then you can diddle that call to use the RB_HALT
> flag (set crash_flags in hurd/init/init.c).
Cool, thanks.
--
Abandon the search for truth; settle for a good fantasy.