From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Gauthier Date: Fri, 1 Aug 2008 08:55:32 -0700 Subject: [Buildroot] my /etc/init.d/rcS won't run In-Reply-To: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net We've also seen this in other architectures (Xtensa). Turned out bash turns off a whole bunch of features when cross-compiled, not sure why. Someone worked around it by fiddling with the bash configure script, IIRC. But we haven't yet come up with a patch to package/bash/bash.mk to fix it. If you can do that, that would be great! (Or, talk to bash maintainers and fix the configure script itself.) Don't know if that's the same problem you're seeing here. We haven't sync'ed with the main buildroot tree in a few months. So I could be way off here... -Marc Wade Berrier wrote: > I'm also running into this. > > I've found out so far that bash is segfaulting when getting run from init. > > Attached is an strace of this happening. > > Wade > > On Fri, Aug 1, 2008 at 7:12 AM, John Voltz wrote: > >> > >> What I found was that including bash, caused /bin/sh to point to bash > >> and for dome reason bash does not want to run that early. Currently > >> I've dropped bash. > > > > Try adding init=/bin/bash to your kernel parameters in your > bootloader. This > > will boot you directly into a bash shell without running init, > so you can > > see if something's wrong with bash. > > > > John