Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2002 01:03:45 -0400
From:      Brian T.Schellenberger <bschellenberger@nc.rr.com>
To:        Roman Neuhauser <neuhauser@bellavista.cz>, "Brian T. Schellenberger" <bschellenberger@nc.rr.com>
Cc:        Holt Grendal <holtor@yahoo.com>, questions@FreeBSD.ORG
Subject:   Re: Unloading Kernel Modules
Message-ID:  <20020713050346.311E1BA05@i8k.babbleon.org>
In-Reply-To: <20020713043628.GL295@freepuppy.bellavista.cz>
References:  <20020713023341.71837.qmail@web11605.mail.yahoo.com> <20020713034002.0BF72BA05@i8k.babbleon.org> <20020713043628.GL295@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 13 July 2002 12:36 am, Roman Neuhauser wrote:
| > From: Brian T.Schellenberger <bschellenberger@nc.rr.com>
| > To: Holt Grendal <holtor@yahoo.com>, questions@FreeBSD.ORG
| > Subject: Re: Unloading Kernel Modules
| > Date: Fri, 12 Jul 2002 23:40:02 -0400
| >
| > On Friday 12 July 2002 10:33 pm, Holt Grendal wrote:
| > | My kernal has these modules loaded:
| > | > kldstat
| > |
| > | Id Refs Address    Size     Name
| > |  1    3 0xc0100000 1bb548   kernel
| > |  2    1 0xc5b8d000 14000    linux.ko
| > |
| > | Is it safe to Unload them or will this Crash the system?
| >
| > If it's unsafe to unload them, the kernel should refuse your request to
| > do so, and kldunload will complain, so there's no harm in trying.
|
|     I can't recall which exact module was it, but I got my machine
|     panic trying to unload a kernel module. That was 4.4-STABLE, IIRC,
|     so maybe it's gotten better.

Well I almost wrote "the kernel will refuse" and then thought better of it 
and substituted "the kernel should refuse."  I know that when I tried it just 
on a few of my modules that are currently loaded it refused to unload them on 
the grounds that they were in use, so it certainly "means" to detect the 
condition, but I must admit at not being shocked that it might not always be 
able to properly tell.

|
|     These senior moments are terrible...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020713050346.311E1BA05>