[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["Estabridis, Janet P" <EstabridisJP@navair.navy.mil>] (fwd)



>From owner-rtl Fri Jun  1 12:32:29 2001
Received: from mulder.chinalake.navy.mil (mulder.chinalake.navy.mil [206.37.206.69])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f51IWSs19013
	for <rtl@fsmlabs.com>; Fri, 1 Jun 2001 12:32:29 -0600
Received: by mulder.chinalake.navy.mil; id LAA08799; Fri, 1 Jun 2001 11:25:56 -0700 (PDT)
Received: from nwim11.chinalake.navy.mil(199.211.228.45) by mulder.chinalake.navy.mil via smap (V4.2)
	id xma008575; Fri, 1 Jun 01 11:25:36 -0700
Received: by nwim11.chinalake.navy.mil with Internet Mail Service (5.5.2653.19)
	id <MCRDJH6T>; Fri, 1 Jun 2001 11:25:35 -0700
Message-ID: <0560141A7916D211A64A00A0C9C9A81505383A03@nwms15.chinalake.navy.mil>
From: "Estabridis, Janet P" <EstabridisJP@navair.navy.mil>
To: "'Der Herr Hofrat '" <der.herr@hofr.at>,
   "'rtl@fsmlabs.com '"
	 <rtl@fsmlabs.com>
Subject: RE: [rtl] Can't Unload Modules - "in use"
Date: Fri, 1 Jun 2001 11:25:34 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"

 Thanks to all who answered my e-mail.  It has helped me understand better
and get this up and running.

Janet Estabridis

-----Original Message-----
From: Der Herr Hofrat
To: rtl@fsmlabs.com
Sent: 5/31/01 11:29 PM
Subject: Re: [rtl] Can't Unload Modules - "in use"

> 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 majordomo@rtlinux.org OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/