Regards,
alphan On Oct 30, 2008, at 11:38 AM, Jan Kiszka wrote:
Alphan Ulusoy wrote:Hi all,I' am trying to send small UDP datagrams in a real-time system. I can'tget a satisfactory performance when I send these packets from a userspace Xenomai task using sendto() call. That's why I tried to code a small kernel module to make some measurements. However; whenever • A xenomai task • An alarm function • A thread created with kthread_run() form a xenomai taskthat includes the sock_sendmsg() call runs, system crashes. However, ifa write a regular kernel module, the it works just fine... Below you can find the code and the crash dump.Does anyone have any suggestions? Is there any other way that I can senda UDP packet from a kernel Xenomai task?I think Philippe already suggested that you should start reading a bit about the co-kernel model and its implications. Also, you may want to look at RTnet if you have to send UDP packets under RT constraints. Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
