"Estabridis, Janet P" wrote:
>
> Hi,
> Sorry I am not at my machine to get the exact message and I haven't gotten
> to check the archives, but I figure someone can steer me in the correct
> direction.
>
> I am using RTLV2.3 with kernel 2.2.14
>
> I have four modules, three of them just contain routines that the main
> modules calls.
>
> bit.o
> vig.o
> tspi.o
> rt_main.o
>
> When I try and remove the modules with "rmmod" I get that it can't be
> removed because the modules are in use. I use "lsmod" and try and remove
> them in the correct order, but still it won't let me remove any of them. I
> have to re-boot.
>
You could keep a backdoor open, either via /proc or maybe
a timeout to run this code when needed:
while (MOD_IN_USE) MOD_DEC_USE_COUNT;
This resets the usage counter and should allow you
to remove the module.
Regards,
Iwo
-- [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/