Skip to contentSkip to conversation

New: Busybox compiled from buildroot hangs on pass from intiramfs to init

Buildroot bugzilla at busybox.net 1 participant 3 messages Jan 13, 2014 – Feb 23, 2014

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=6794

Summary: Busybox compiled from buildroot hangs on pass from
intiramfs to init
Product: buildroot
Version: 2013.11
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: anthonysepa at yahoo.ca
CC: buildroot at uclibc.org
Estimated Hours: 0.0

I use the same binary in a initramfs that processes an init script. At the time that it passes off the processing to the busybox on my rootfs as /sbin/init it hangs. If I replace the binaries with an "out of tree" compiled version it works fine.

If I replace the installed binary with the binary in the output/build/busybox-1.21.1 it works fine also. In trying to track down the problem I noticed that the installed binary is different from the built binary and was modified 3 minutes later in the build process.

I am cross compiling on a Ubuntu 64 bit machine for an arm gaming device.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 6794] Busybox compiled from buildroot hangs on pass from intiramfs to init

https://bugs.busybox.net/show_bug.cgi?id=6794

--- Comment #1 from Thomas De Schampheleire <[email protected]> 2014-02-07 08:27:56 UTC --- All binaries are stripped later in the build process, which explains the
difference between the binary in output/build/busybox... and the one in
output/target.

However, stripping should not affect runtime behavior.

Have you found a solution to this problem?
Is this an unmodified busybox version?

A workaround is to specify the busybox binary in option BR2_STRIP_EXCLUDE_FILES but it is not a real solution of course.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 6794] Busybox compiled from buildroot hangs on pass from intiramfs to init

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=6794

Thomas De Schampheleire <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #2 from Thomas De Schampheleire <[email protected]> 2014-02-23 14:48:48 UTC --- Many people are using busybox inside an initramfs without problems. Therefore,
I am closing this bug. If you still experience this problem, please reopen and
provide more details about this problem, ideally with a reproducible
configuration. Thanks.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.