[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] Can't Unload Modules - "in use"
- To: rtl@fsmlabs.com
- Subject: Re: [rtl] Can't Unload Modules - "in use"
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Fri, 1 Jun 2001 08:29:28 +0200 (CEST)
- In-Reply-To: <0560141A7916D211A64A00A0C9C9A81501949BBF@nwms15.chinalake.navy.mil>from "Estabridis, Janet P" at "May 31, 2001 07:28:34 am"
> 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
- Prev by Date:
Embedded, Firmware, Real Time, Electronics, C / C++, Assembler / Assembly Language, RTX, RTOS, Triscend TE520 CSOC Microcontroller & FPGA in single chip, C167, 8051, ST6, etc...
- Next by Date:
BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- Prev by thread:
Embedded, Firmware, Real Time, Electronics, C / C++, Assembler / Assembly Language, RTX, RTOS, Triscend TE520 CSOC Microcontroller & FPGA in single chip, C167, 8051, ST6, etc...
- Next by thread:
Re: [rtl] Can't Unload Modules - "in use"
- Index(es):