[BusyBox] Segment user error, busybox 1.00pre1 ARM EP9312 dev.board

Magnus Møller Petersen magnus at 215miles.dk
Tue Sep 23 22:41:44 UTC 2003



Hey.

I'm kinda stuck with this problem. I've got a pre-build busybox static
binary, and a ramdisk for the development board in subject. This works
fine. When I compile my own static busybox binary, it comes up with an
error similar to the following as the kernel calls init. Or, sometimes it
does, sometimes it doesn't.

pc : [<4003708c>]    lr : [<4000b0c8>]    Not tainted
sp : bffffec4  ip : 0000002f  fp : 00000000
r10: 40128940  r9 : 00000002  r8 : bfffff24
r7 : bfffff30  r6 : bfffff24  r5 : 00000002  r4 : 400143a0
r3 : 03500440  r2 : bfffff30  r1 : 00000000  r0 : 00000002
Flags: nzCv  IRQs on  FIQs on  Mode USER_32  Segment user
Control: 217F  Table: 40014015  DAC: 00000015

I've tried with both GCC 2.95.3 and GCC 3.2.3 (both compiled using
crosstool), and I get similar results. And I've also tried with BB 0.60.5,
which yields the same =/

The kernel (2.4.19) compiles perfect, and seems to run perfect as well. It
is able to run the pre-compiled busybox binary, and all is well.

Any suggestions on what to do? Is it a busybox configuration issue?

The configuration files for both versions of bb can be found here:
  http://215miles.dk/arm/


-- 
/Magnus

 http://215miles.dk/






More information about the busybox mailing list