> 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 definetly need a inti_module/cleaup_module in every kernel module 
otherwise the module count will not be decremented corectly - also it 
could hang because you allocate some resources that you don't free corectly 
or keep in use (typically a non-rt process having a /dev/rtfX open and
rmmod of a module that allocated it on the rt-side -> module busy).

hofrat

-- [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/

Reply via email to