Marcelo Coelho wrote:
> Hi!
> 
> I've been playing with the examples within the examples folder of rtnet,
> specifically the ones inside the Xenomai folder. As i'm not using
> xenomai i ported the raw-packet at folder
> (..)/rtnet/examples/xenomai/native/kernel to RTAI.

If you post your ported code, we could a) commit it to the official
version and b) try to reproduce your scenario.

For b) a detailed description of your setup, maybe in form of a start-up
script, would be very helpful.

> 
> At this time i wasn't capable of sending or receiving messages. After
> spreading some "printks" i found out that the problem was inside
> function int nomac_rt_packet_tx, line 50 of nomac_proto.c
> 
>          rtdm_mutex_unlock(&rtdev->xmit_mutex);
> 
> I still can't understand why it blocks at that mutex UNLOCK, but if i
> comment that line the example starts sendig the messages.
> 
> Is it a bug or something i'm making wrong?
> 

Under RTAI 3.3 (BTW, which version / CVS checkout of RTAI are you
using?) rtdm_mutex_unlock is directly wrapped on rt_sem_signal, no RTnet
code is involved here.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to