Hi all,

This problem seems to be solve with last version of Xenomai.

Nevertheless, Rtping doesn't run. Now I have the following error message :

Xenomai: suspending kernel thread bf0096f0 ('rtnet-rtpc') at 0xc002d3c8
after exception #0

The error seems to comes from the function rt_icmp_echo_reply, I put some
some printk in this function, and conclude that the error appears when
trying to use the rtt field of the ping structure in ipv4_cmd :

struct ipv4_cmd {
    struct rtnet_ioctl_head head;

    union {
...

        /*** rtping ***/
        struct {
            __u32       ip_addr;
            __u16       id;
            __u16       sequence;
            __u32       msg_size;
            __u32       timeout;
            __s64       rtt;
        } ping;

        __u64 __padding[8];
    } args;
};

I don't know why I have this error with this embedded system (PXA270,
armv5te) and not with the previous system (armv4t). The compiler is a bit
different, arm-linux-gnueabi against arm-linux-eabi before.

Best regards,

Cyril

2010/6/1 Jan Kiszka <jan.kis...@siemens.com>

> Gilles Chanteperdrix wrote:
> > Jan Kiszka wrote:
> >> Cyril Wallois wrote:
> >>>     2810:    e593300c     ldr    r3, [r3, #12]
> >>>     2814:    e3a01000     mov    r1, #0    ; 0x0
> >> Makes no sense yet. This is moving an immediate into register r1 -
> >> nothing where misaligned memory access can happen.
> >>
> >> Please validate your calculations, maybe also adding some printks to the
> >> lines under suspect.
> >
> > The pc maybe off by 4, so the ldr above could be the culprit, you have
> > to know r3 value to be sure.
>
> Maybe we should also dump the register state in Xenomai's trap handler.
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT T DE IT 1
> Corporate Competence Center Embedded Linux
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to