Leopold Palomo Avellaneda wrote:
> A Dijous 03 Maig 2007 20:44, Jan Kiszka va escriure:
>> [Oops, almost overseen.]
>>
>> Leopold Palomo-Avellaneda wrote:
>>> Hi,
>>>
>>> some days ago I was sending some messages about the examples of rtnet
>>> using rtai. I compiled and installing rtnet with some problems but I
>>> think that is working.
>>>
>>> I modified the init script for have a notdma option because it's the only
>>> configuration that I need. I never couldn't run the examples of rtai or
>>> generic till yesterday. I modified the examples, created a new examples,
>>> and never worked. I have been more or less stopped in this some days.
>>>
>>> Yesterday, I run in a desperately moment the examples of rtai and generic
>>> and wou!!! it worked!!! However I was I bit worried because I thought
>>> that I have been losing my time and the rtnet list with my stupids
>>> questions. Also, I modified the example to send 100 messages and it ran.
>>>
>>> Today I tried to run the examples and again it failed. I tried to make a
>>> rtnet stop and rtnet notdma again but it failed to unload the module
>>> rtipv4. So, I needed to reboot the box. After reboot it, I could run
>>> again the examples, but only one time. The next time it failed again, and
>>> now I check the /var/log/kern messages and I found this:
>>>
>>>
>>> May  3 10:45:03 ulises kernel: LXRT CHANGED MODE (SYSCALL), PID = 4304,
>>> SYSCALL = 4.
>>> May  3 10:48:30 ulises kernel: Assertion
>>> failed! /root/rtnet-0.9.8/stack/ipv4/udp.c:rt_udp_recvmsg:398 skb != NULL
>>> May  3 10:48:30 ulises kernel: LXRT releases PID 4304 (ID: simpleserver).
>>> May  3 10:48:50 ulises kernel: Assertion
>>> failed! /root/rtnet-0.9.8/stack/ipv4/udp.c:rt_udp_recvmsg:398 skb != NULL
>>> May  3 10:48:50 ulises kernel: LXRT releases PID 4307 (ID: simpleserver).
>> Hmm. What RTAI version? I vaguely recall some bug in RTAI's RTDM layer
>> (3.4?) that triggered similar messages. And it would also explain
>> indeterministic behaviour your observed (internal event signalling was
>> broken).
> 
> rtai 3.4. ummmm ugly. Also I found that I can repeat it if the program fails, 
> or I kill it without finish the rt commands....

Vanilla RTAI 3.4* is not usable with RTnet, see below. Pick something
more recent.

> 
>>> Also, I cannot made a rtnet stop because the script is stopped removing
>>> the rtipv4 module.
>>>
>>> So, this is normal? It's something that I have done wrong? how can I know
>>> what is happening?
>> Core assertion failures are never normal and indicate bugs underneath.
>> Unless you are running an older RTAI version, we would have to dig deeper.
> 
> Ok, next week I can prepare some test and example to send you.

Bug hunting only makes sense if you update or patch your RTAI first.
Here is the related thread I recalled:

http://thread.gmane.org/gmane.linux.real-time.rtnet.user/2105

Jan

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to