I compiled a smp linux kernel to support multiple processors, and use
busybox 1.6.1 as root filesystem.
The compiled linux system can be successfully started, and busybox ash is
started, while I typed "poweroff" in ash,

If the system run in computer with single processor; system stopped while
"Sending SIGTERM to all processes" was printed,
and I found in busybox source directory/init/init.c, function
shutdown_system(void):

message(L_CONSOLE | L_LOG, "Sending SIG%s to all processes", "TERM");
kill(-1, SIGTERM);

but kill function can not be proceeded, and system stopped.

But while the system run in computer with multiple processors; system
stopped while "Power down system" was printed, it seems out of busybox, and
acpi_power_off is not called.

And if I compiled my linux kernel without CONFIG_SMP configed, and use the
same busybox root file system, there was none poweroff problems in my
system.

------------------------------------------------------------------------------
So, I want to know is there someone successfully use busybox to poweroff
computer with SMP kernel? And what is the possible reason of my problem?

Thanks
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to