[uClinux-dev] busybox ping in latest release

Matt Waddel Matt.Waddel at freescale.com
Fri Oct 28 19:29:15 EDT 2005


Simple question 1st - more detail below.
Has anybody tried the busybox ping with the fancy option output
set in the latest 2.6.12 kernel release?

More detail.

I'm using the 20050906 release with the 2.6.12-uc0 kernel.  The
platform is the M5208EVB.

When I ping with the SIZE value set to between 6 and 11
everything works great.

# ping -s 11
PING ( 11 data bytes
19 bytes from icmp_seq=0 ttl=64 time=3.1 ms
19 bytes from icmp_seq=1 ttl=64 time=0.7 ms
19 bytes from icmp_seq=2 ttl=64 time=0.7 ms

--- ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.7/1.5/3.1 ms

When I set the size to a greater value I get the following:

# ping -s 12
PING ( 12 data bytes
20 bytes from icmp_seq=0 ttl=64 time=2.2 ms
Illegal instruction

I don't think the "Illegal instruction" message is valid.
I've traced the source of this message to the kernel/traps.c
file to VEC_LINE11.  I'm not sure what VEC_LINE11 is, but I
don't think it's the root cause of this problem.


asmlinkage void trap_c(struct frame *fp)
         /* send the appropriate signal to the user program */
         switch ((fp->ptregs.vector) >> 2) {
             case VEC_ADDRERR:
                 info.si_code = BUS_ADRALN;
                 sig = SIGBUS;
             case VEC_ILLEGAL:
             case VEC_LINE10:
             case VEC_LINE11:      <<<<<< (fp->ptregs.vector>>2)
                 info.si_code = ILL_ILLOPC;
                 sig = SIGILL;

Any ideas?


More information about the uClinux-dev mailing list