On 09/20/2011 11:02 AM, Hinko Kocevar wrote:
> I stand corrected - the problem is in the second part of that line, what
> was proven by two more debug lines:
>
> rtdm_printk("%s: rtdm_clock_read() = %lld\n", __FUNCTION__,
> rtdm_clock_read());
> rtdm_printk("%s: *((nanosecs_abs_t *)skb->data) = %lld\n", __FUNCTION__,
This is wrong: skb->data is a char *, you cast it to nanosecs_abs_t *
which has a strongest alignment requirement, so you get...
> [ 226.206024] Xenomai: suspending kernel thread bf011030 ('rtnet-rtpc')
> at 0xbf01e66c after exception #0x8
... an alignment trap.
--
Gilles.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers