Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2009 00:01:55 -0700
From:      Tim Judd <tajudd@gmail.com>
To:        freebsd@sopwith.solgatos.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to interrupt hung boot process?
Message-ID:  <1234594915.7816.10.camel@gateway>
In-Reply-To: <200902210632.GAA06072@sopwith.solgatos.com>
References:  <200902210632.GAA06072@sopwith.solgatos.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2009-02-20 at 22:32 +0000, Dieter wrote:
> Working on updating a amd64 box from 7.0 to 7.1.
> A shell script called from rc.local hung.
> (Still don't know why, works fine in 7.0, works
> fine in 7.1 executed manually once system is up.)
> Tried ^C, ^\, ^P and nearly every other key on the
> keyboard.  They echo, but nothing will interrupt
> the hung process.  I had to press the reset button.
> 
> Back in the day, typing ^C on the console would
> interrupt the boot process and give you a shell
> prompt.  How do I interrupt the boot process
> with FreeBSD?
> 
> Is there a way to have getty start before running
> rc.local?

If a shell script traps the signals, there is nothing you can do except
by calling a SIGKILL to the PID, which requires the system to be in
Multi-User Mode.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1234594915.7816.10.camel>