[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: ping illegal instruction error in buidroot with busybox
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2008-06-26 21:04:01
Message-ID: 200806262304.01268.vda.linux () googlemail ! com
[Download RAW message or body]

On Thursday 26 June 2008 20:23, Ram kumar wrote:
> hi,
>          I have built the filesystem with buildroot snapshot.When i connect
> my arm AT91SAM9260 target and type a ping command in the console it says
> illegal instruction.My ifconfig,modprobe,hostname all are working fine.But
> iam not able to use ping command.

You need to find out the exact address of this instruction.
I don't have an example handy, but on Internet you can find
the C code of a SIGILL handler which reports the address
of failing instruction and exits.

Then just run

$TARGET-objdump -dr busybox_unstripped

and find in _which function_ it happens.

Run "make networking/ping.s" and generate assembler output,
and find failing instruction in ping.s

Then post collected information to the list.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic