[BusyBox] init problem
tom at ceisystems.com
tom at ceisystems.com
Thu Jul 17 01:52:56 UTC 2003
Lyle,
Try using the default inittab file, and see where that gets you.
I know it may not provide everything you need, but it will probably help
shed some light on the exact problem. Once you get the original file in
place, and the system boots, try adding your customizations
line-by-line. This will narrow it down to the exact line you have an
issue with.
Many people, when trying to adapt their standard inittab file
for BusyBox get some sort of error like this. It usually ends up being
some simple and trivial mistake that would be extremely easy to miss. I
would actually dig through it, but I am currently on my Windows laptop,
so I can't read the docs or test it.
Good luck,
Thomas Cameron
CEI Systems, Inc.
-----Original Message-----
From: Lyle Bainbridge [mailto:lyle at zevion.com]
Sent: Wednesday, July 16, 2003 7:02 PM
To: busybox at busybox.net
Subject: [BusyBox] init problem
I am using busybox-0.60.5 built using the latest uclibc toolchain
(binutils-2.14, gcc-3.3, uclibc-snapshot). I have configured init to be
included, and use bb ash as the shell.
When init is run after kernel startup, the rcS cannot be run.
I traced into the code and in the run function of init.c it gets to this
line:
/* We're still here? Some error happened. */
message(LOG | CONSOLE, "\rBummer, could not run '%s': %s\n",
My inittab file is as follows:
::sysinit:/etc/inid.d/rcS
::respawn:/sbin/getty -L ttyS0 38400 vt100
::restart:/sbin/init
My rcS file has only an echo line with a message.
I suspected that something in my root filesystem might have been hosed,
so I tried building and using sysvinit-2.85 instead and leaving the rest
of my root the same. It works fine (with a slightly modified initab of
course).
Any thoughts?
Thanks,
Lyle
_______________________________________________
busybox mailing list
busybox at busybox.net http://busybox.net/mailman/listinfo/busybox
More information about the busybox
mailing list