[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] How do I unload a crashed module?
----- Original Message -----
From: Stephane List <stephane.list@fr.alcove.com>
To: <rtl@fsmlabs.com>
Sent: Thursday, September 06, 2001 4:50 AM
Subject: Re: [rtl] How do I unload a crashed
module?
Th easiest way is to rebuild your module, change
is name and try again..
I reboot only when it crashes.
On Wed, Sep 05, 2001 at 03:58:05PM +0930, Thamm,
Russell wrote :
> Hi,
>
> I apparently have an error in init_module() and
I get an exception message:
> /usr/bin/rtlinux: line 161: 3155 Segmentation
fault ${INSMOD} $modules
> when I load the module.
> However, after this I cannot unload the module :
> Device or resource busy.
> Is there any way to recover from this apart from
rebooting?
It may not be possible to reload a module that
acquires physical resources like I/O ports because
the one that has crashed hasn't released them and
they're not shareable. This might work for a
module which only presents a device-like interface
to a user-task without managing any hardware --
for example a shared-memory-manager.
But ... as I mentioned in my posting yesterday,
when a module crashes the system (at least 2.2.x
where x >= 14) turns off kernel logging so you
won't be able to see any printk messages from any
new modules you might load.
Norm