[BusyBox] strange problem with BBinit and root=

Geoffrey Espin espin at idiom.com
Thu May 9 18:41:03 UTC 2002


On Thu, May 09, 2002 at 06:00:54PM -0600, Erik Andersen wrote:
> On Thu May 09, 2002 at 04:38:04PM -0700, Joshua J. England wrote:
> > I just expect that BB_FEATURE_LINUXRC would call init as '/linuxrc' no
> Ok.  I think you are fighting with the kernel's behavior here.
> Busybox can't execute the init process as '/linuxrc' unless the
> kernel has invoked it as /linuxrc', which doesn't happen when you
>... 
> When one enables CONFIG_BLK_DEV_INITRD=y in the Linux kernel, but

Which is why I wrote:

] But yeah init=/linuxrc is the only parameter that works for me.
] Maybe it has to do with linux/init/main.c stuffing "linuxrc" in
] argv[0], no matter what, when linux's CONFIG_BLK_DEV_INITRD is set

I tried setting "init=/something/else" but busybox.c:main() looks
at argv[0] (set by the kernel) so says, "Oy, lets run linuxrc".

I guess a kernel patch is needed so busybox can work right. :-)

Geoff
-- 
Geoffrey Espin
espin at idiom.com
--



More information about the busybox mailing list