[BusyBox] Halt hangs

John Hall John.Hall at optionexist.co.uk
Thu Jun 20 09:29:02 UTC 2002


Hi,

I'm using Busybox 0.60.3 on Linux 2.4.18 on an SA1100. I'm using the
Buxybox init and halt applets. When I type halt, all I get is:

	bash-2.04# halt

	The system is going down NOW !!
	Sending SIGTERM to all processes.

and then the board hangs. This is the code from init.c:

    /* Send signals to every process _except_ pid 1 */
    message(CONSOLE|LOG, "\rSending SIGTERM to all processes.\n");
    kill(-1, SIGTERM);
    sleep(1);
    sync();

I put some printf's in, and init appears to execute the kill
successfully, but hangs on the sleep; it never gets as far as sync'ing.

Any ideas?

regards,
John Hall

-- 
OptionExist Limited.
The Irwin Centre, Scotland Road, Dry Drayton, Cambridge.
Tel: +44 (0)1954 211244, Fax: +44 (0)1954 211565
http://www.optionexist.co.uk/



More information about the busybox mailing list