Alphan Ulusoy wrote: > Hi all, > > I' am trying to send small UDP datagrams in a real-time system. I can't > get 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 task > that includes the sock_sendmsg() call runs, system crashes. However, if > a 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 send > a 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 _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
