[BusyBox] ARM problems

Robert Schwebel robert at schwebel.de
Mon Jan 27 10:21:03 UTC 2003


On Mon, Jan 27, 2003 at 04:33:49AM -0700, Erik Andersen wrote:
> Any way you can try and track things down a bit better?  For
> example by doing things like
> 
>     cvs up -D"1 September 2002"

That's what I just tried :) But unfortunately it doesn't work as well.
It looks like only some of the applets are affected. If I boot the
system with my old (working) busybox binary and try the new one this
happens: 

----------8<----------
# ./busybox-new route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
213.252.143.160 0.0.0.0         255.255.255.240 U     0      0        0 eth0
0.0.0.0         213.252.143.161 0.0.0.0         UG    0      0        0 eth0
#
---------->8----------

Hmm, route seems to work. 

----------8<----------
# ./busybox-new ls /    
bin      dev      home     linuxrc  proc     tmp
boot     etc      lib      mnt      sbin     usr
#
---------->8----------

Same. 

----------8<----------
# ./busybox-new netstat -ta
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address
State      
---------->8----------

Looks good. But: 

----------8<----------
# ./busybox-new ifconfig   
pc : [<00073b00>]    lr : [<00052884>]    Not tainted
sp : bffffce0  ip : 00106c54  fp : 00000000
r10: 000003c0  r9 : bffffea8  r8 : 00000003
r7 : 0000001e  r6 : 00000000  r5 : 000003c0  r4 : 000767ec
r3 : 00106f4c  r2 : 00106234  r1 : 000003c0  r0 : 00000000
Flags: nzCv  IRQs on  FIQs on  Mode USER_32  Segment user
Control: 397F  Table: A033C000  DAC: 00000015
Segmentation fault
---------->8----------

Etc. Mmm, here are the facts. 

- old busybox binary works 
  -> glibc seems to be ok. 

- newly compiled stuff works, I have just compiled wget with the same
  toolchain. Works. I can download files and gunzip/untar them via the
  old busybox binary. 
  -> glibc and compiler seem to be ok

- busybox from today and from Sep 1 2002 break with register dumps
  
Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4



More information about the busybox mailing list