Cyril Wallois wrote:
> Hi Jan,
>
> Last week, I tried to run Rtnet on a new embedded system, always with an Arm
> architecture (PXA270).
>
> When I try to run Rtping I have the following error :
>
> Xenomai: suspending kernel thread bf0270e0 ('rtnet-rtpc') at 0xbf02b814
> after exception #8
>
> This error seems to comes from a bad alignment :
>
> /proc/xenomai/faults :
> TRAP CPU0
> 0: 0 (Data or instruction access)
> 1: 0 (Section fault)
> 2: 0 (Generic data abort)
> 3: 0 (Unknown exception)
> 4: 0 (Instruction breakpoint)
> 5: 0 (Floating point exception)
> 6: 0 (VFP Floating point exception)
> 7: 0 (Undefined instruction)
> 8: 1 (Unaligned access exception)
>
> I verify the ipv4_cmd structure, and all data seems to be align on 8 bytes,
> I will run in user space and kernel space to know where the problem comes
> from.OK. Besides that you could also try to associate the reported address with a loaded module (/proc/modules), derive the function offset and check against an annotated disassembly of that module (objdump -dSr, best with CONFIG_DEBUG_INFO). > > About the driver for the dm9000, I read the last source code from > kernel.organd it don't use DMA. I join in this mail a patch made with > the last version > from the git repository. Then I'm afraid the dm9000 does not support DMA at all, at least not on your platform. That puts it into the same category as rt_smc91111 - usable but with serious limitations for RT. However, will have a look once time permits. Thanks for your contribution! Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ RTnet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rtnet-users

