Cannot reboot from busybox

Rob Landley rob at landley.net
Fri Dec 23 01:14:10 UTC 2005


On Thursday 22 December 2005 06:15, Roberto A. Foglietta wrote:
> IraqiGeek ha scritto:
> > Hi all,
> >
> > I am building a small Linux system around busybox. The system boots fine,
> > the applets work fine apart from the halt and reboot. I am using the boot
> > scripts from ttyLinux, which also uses busybox. When I run the reboot or
> > halt applet I get the message "reboot: no process killed" in the case of
> > reboot. Are there any specific applets, or options that I need to select
> > before compiling busybox or any changes to any of the bootscripts I am
> > using?
> >
> > I have done some googling about this, but couldn't come across any page
> > that
> > helped solving this.
>
>   mount /proc should resolve, in my case had resolved even I am not
> happy about need of proc for reboot.

You shouldn't have to mount proc in order for reboot to work.  reboot() is a 
system call.

>   After mounting /proc reboot could fails for some other reasons:
>
>   - hw reboot sometimes need acpi/apm has been activated by software
> (not kernel, only) before reboot or shutdown
>
>   - in some hw BIOS is buggy and hang/freeze instead of reboot happen.

Or simply because the call to the reboot applet never makes it to the reboot() 
call at the end of bb_shutdown_system() in  init/init_shared.c.

Rob
-- 
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.



More information about the busybox mailing list