Hi Gilles,
Sorry, I don't mention that my problem has ever been evoqued on xenomai-help
one month ago :
2010/6/8 Cyril Wallois wrote:
> Hi Gilles,
>
> Thanks for your help
>
> Still on ARM, right? Do you have the same issue if you use an I-pipe
> patch for a more recent kernel versions (anything more recent than
> 2.6.28).
>
>
> Yes on ARM with PXA270 (toradex colibri), I try to use a newer kernel
> but I have a problem of file system and can't use NFS (ethernet driver
> as module for rtnet).
> On an other embedded system, with kernel 2.6.29, I haven't any problem.
>
> Other than that, you do not give us enough information to help solving
> your issue. What about the last issue you had? What was the value of
the
> r3 register at the time of the alignment fault?
>
>
> I don't solve the last issue, I focus on try with newer version of
> kernel and xenomai.
> Probably my problem should be solve with a more recent kernel , I think
> I will try 2.6.29 (and try to solve fs problem).
I do not understand why choosing such an old kernel when starting a new
project. Why not 2.6.33? 2.6.29 is more than one year old.
As for the unaligned access, it looks like a problem in rtnet. So, I
doubt it could be solved by a more recent version of Xenomai. For the
record, I have been using Xenomai and rtnet for a long time on ARM, and
had no issues, so, there is definitely no bug fixed recently in Xenomai
to get rtnet working on ARM, they have been working together for a long
time. But Ok, it will avoid bugs that we already know.
--
Gilles.
2010/7/15 Gilles Chanteperdrix <[email protected]>
> Cyril Wallois wrote:
> > Hi everybody,
> >
> > I have try to solve my problem by using a newer kernel (2.6.30) without
> > success, I have always the same issue with rtnet when I try rtping :
> >
> > #./rtping 127.0.0.1
> > Xenomai: suspending kernel thread bf009310 ('rtnet-rtpc') at 0xc002d3c8
> > after exception #0
>
> Why simply not disassembling the kernel and looking at what is at
> 0xc002d3c8 and looking at the values of the registers? It is entirely
> possible that the RTnet IP stack requires unaligned accesses (the
> vanilla kernel does it, notably for handling of IP options), and as you
> may know it, unaligned accesses may require software emulation on some
> platforms. However, I am not sure you would get an exception #0 in that
> case. Your post does not even tell us on what platform you get this
> issue, though I suspect this is ARM.
>
> --
> Gilles.
>
0xc002d3c8 correspond to do_page_fault in /proc/kallsyms
I will looking at the value of the register.
Best regards,
WALLOIS Cyril
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help