I compiled a smp linux kernel to support multiple processors, and use busybox 1.6.1 as root filesystem.<br>The compiled linux system can be successfully started, and busybox ash is started, while I typed &quot;poweroff&quot; in ash,
<br><br>If the system run in computer with single processor; system stopped while &quot;Sending SIGTERM to all processes&quot; was printed, <br>and I found in busybox source directory/init/init.c, function shutdown_system(void):
<br><br>message(L_CONSOLE | L_LOG, &quot;Sending SIG%s to all processes&quot;, &quot;TERM&quot;);<br>kill(-1, SIGTERM);<br><br>but kill function can not be proceeded, and system stopped.<br><br>But while the system run in computer with multiple processors; system stopped while &quot;Power down system&quot; was printed, it seems out of busybox, and acpi_power_off is not called.
<br><br>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.<br><br>------------------------------------------------------------------------------
<br>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?<br><br>Thanks<br>