Jens
You may have made a mistake in your module code.
I have seen this sort of behavior when I have made a coding error.
Cut sections of code out and see what happens.
Regards
Phil Wilshire
> Hi folks,
>
> I have some problems in handling RTAI modules.
> While rmmod I get this messages so I have to reboot the whole machine
> because I cannot insert a new version of my driver ...
>
> [root@antec28 test]# /sbin/rmmod pad12
> rmmod: QM_REFS: No such file or directory
> [root@antec28 test]# /sbin/rmmod rtai_fifos
> rmmod: QM_REFS: No such file or directory
> [root@antec28 test]# /sbin/rmmod rtai_sched
> rmmod: QM_REFS: No such file or directory
> [root@antec28 test]# /sbin/rmmod amcc
> rmmod: QM_REFS: No such file or directory
> [root@antec28 test]# /sbin/insmod ../amcc.o
>
> altough /proc/modules shows:
>
> [root@antec28 test]# less /proc/modules
> pad12 3044 0 (unused)
> rtai_fifos 31472 22 [pad12]
> rtai_sched 15888 0 [pad12]
> rtai 15504 1 [rtai_fifos rtai_sched]
> amcc 12764 0 (deleted)
>
> the behavior of the module amcc is slighly different. It is a non RT
> module und I can insmod it a second time with result in /proc/modules:
>
> amcc 12764 0 (unused)
> pad12 3044 0 (unused)
> rtai_fifos 31472 22 [pad12]
> rtai_sched 15888 0 [pad12]
> rtai 15504 1 [rtai_fifos rtai_sched]
> amcc 12764 0 (deleted)
>
> and rmmod again ...
>
> Any ideas for that ? What does I have forgotten somewhere (in
> cleanup_module?)?
>
> thanks
>
> --
> Jens Lauer
> TU Chemnitz /Germany
> 09107 Chemnitz
> Fakultaet fuer Elektrotechnik und Informationstechnik
> Lehrstuhl Elektrische Maschinen und Antriebe (Prof. Hofmann)
>
> Tel +49 (0)371 531 3379
> Fax +49 (0)371 531 3324
> [EMAIL PROTECTED]
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/