[BusyBox] reboot not working?

Matt Kraai kraai at alumni.carnegiemellon.edu
Wed Sep 20 22:59:14 UTC 2000


On Wed, Sep 20, 2000 at 02:15:28PM -0300, Bruno L. F. Cabral wrote:
> Hi there
> 
> > > whatever I do, they simply don't reboot the machine, nor
> > > control-alt-del
> 
> > > P.S. I'm using a self-made disk distrib with has only BB,
> > > tinylogin and LVS stuff.
> > 
> > Yup.  I'd be willing to bet $10.00 that you have BB_FEATURE_LINUXRC
> > enabled and are running as an initrd.  Right?
> 
> send me $10 bucks of beer through the e-mail ;> from my busybox.def
> 
> //#define BB_INIT
> #define BB_FEATURE_USE_PROCFS
> //#define BB_FEATURE_LINUXRC
> 
> yes, I'm running it as an initrd. I'm also using the system init 
> instead of BB's init. the inittab is

I'd like to place my money on the fact that busybox halt, poweroff, and
reboot only work with busybox init (as they communicate via signals,
whereas the standard init uses a magic file).

> talking about bugs, I discovered that if you do this
> 
> //#define BB_CAT
> #define BB_ECHO
> 
> BB 0.46 won't compile. this block would solve it
> 
> #ifdef BB_ECHO
> #ifndef BB_CAT
> #define BB_CAT
> #endif
> #endif

This is fixed in CVS.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20000920/28a35bcf/attachment.pgp 


More information about the busybox mailing list