Hi everybody,

I have one strange issue with rtnet (latest SVN version and RTAI 3.3 on a SMP 
Pentium 4, kernel 2.6.16):
In my application I do regularly UDP reads using rt_dev_recv with a fairly long 
timeout (12 seconds).
The timeout is set before using rt_dev_ioctl(...RTNET_IOCTL_TIMEOUT).
This works fine.
However, while shuting down my application and rtnet while I am still waiting 
for the timeout
I get the error message from RTDM: RTDM: device  still in use - waiting for 
release...
Up to this point I have performed the following steps:
rmmod my kernel module
rtifconfig down
rmmod rt_eepro100
It is not possible any more to rmmod rtipv4 and I have to restart my PC to 
continue.
If I wait longer than my timeout time, I can shut down everything without any 
problem.

More details:
I use a kernel module for UDP communication. 
In the cleanup_module I do a rt_task_suspend() followed by a rt_task_delete().
Then  rt_dev_close(sock) is called. The creation of the socket is done in 
init_module, not in the task!

Has anybody an idea on that behaviour?

Thanks for any hint!

Regards

Mathias

-- 
Mathias Koehrer
[EMAIL PROTECTED]


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  44,85 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2


_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to