[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Fri, 1 Jun 2001 08:33:40 +0200 (CEST)
>From owner-rtl Fri Jun 1 01:30:59 2001
Received: from kanga.hofr.at ([62.47.35.193])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f517Uws14873
for <rtl@fsmlabs.com>; Fri, 1 Jun 2001 01:30:58 -0600
Received: (from hofrat@localhost)
by kanga.hofr.at (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) id f516TSt19363
for rtl@fsmlabs.com; Fri, 1 Jun 2001 08:29:28 +0200
From: Der Herr Hofrat <der.herr@hofr.at>
Message-Id: <200106010629.f516TSt19363@kanga.hofr.at>
Subject: Re: [rtl] Can't Unload Modules - "in use"
In-Reply-To: <0560141A7916D211A64A00A0C9C9A81501949BBF@nwms15.chinalake.navy.mil>
from "Estabridis, Janet P" at "May 31, 2001 07:28:34 am"
To: rtl@fsmlabs.com
Date: Fri, 1 Jun 2001 08:29:28 +0200 (CEST)
X-Mailer: ELM [version 2.4ME+ PL60 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
> 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