Busybox Shell Exiting
Manju Mahajan
manju at skipperwireless.com
Fri Oct 14 19:25:53 UTC 2005
thanks for your reply
Can't find the file. : file exists
Wrong permissions on the file. (is the exec bit set?) : yes it is set
Can't find the libraries for the file. (And remember: libraries can load
libraries. ldd is your friend, or readelf.) : I don;t fully undestand this
one
which libraries ?
I will try standalone shell version, how do I do that ?.
-----Original Message-----
From: Rob Landley [mailto:rob at landley.net]
Sent: Friday, October 14, 2005 12:13 PM
To: busybox at busybox.net
Cc: Manju Mahajan
Subject: Re: Busybox Shell Exiting
On Friday 14 October 2005 11:07, Manju Mahajan wrote:
> I got the same error, but so far did not get any help.
> I enabled some debug messages in busybox, init.c file, it is dying as it
> cannot execv. but don't know how to resolve
There's only a half-dozen or so options with cannot execv:
Can't find the file.
Wrong permissions on the file. (is the exec bit set?)
Can't find the libraries for the file. (And remember: libraries can load
libraries. ldd is your friend, or readelf.)
Try building a statically linked "standalone shell" version of busybox and
running it as init (append init=/path/to/ash to your kernel command line).
Then try running the normal shell from that one. If that works, the problem
is more likely with init...
Rob
More information about the busybox
mailing list