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.
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? Thanks for any replies Marcelo Coelho DISCLAIMER: This message may contain confidential information or privileged material and is intended only for the individual(s) named. If you are not a named addressee and mistakenly received this message you should not copy or otherwise disseminate it: please delete this e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. Therefore, the sender does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmissions. Please request a hard copy version if verification is required. Critical Software.