From owner-freebsd-questions Fri Jul 12 22: 4:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F9D037B400 for ; Fri, 12 Jul 2002 22:04:22 -0700 (PDT) Received: from mail4.nc.rr.com (fe4.southeast.rr.com [24.93.67.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64C0943E31 for ; Fri, 12 Jul 2002 22:04:21 -0700 (PDT) (envelope-from bts@babbleon.org) Received: from i8k.babbleon.org ([66.26.254.93]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Sat, 13 Jul 2002 01:04:08 -0400 Received: by i8k.babbleon.org (Postfix, from userid 111) id 311E1BA05; Sat, 13 Jul 2002 01:03:46 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Roman Neuhauser , "Brian T. Schellenberger" Subject: Re: Unloading Kernel Modules Date: Sat, 13 Jul 2002 01:03:45 -0400 X-Mailer: KMail [version 1.3] Cc: Holt Grendal , questions@FreeBSD.ORG References: <20020713023341.71837.qmail@web11605.mail.yahoo.com> <20020713034002.0BF72BA05@i8k.babbleon.org> <20020713043628.GL295@freepuppy.bellavista.cz> In-Reply-To: <20020713043628.GL295@freepuppy.bellavista.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020713050346.311E1BA05@i8k.babbleon.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday 13 July 2002 12:36 am, Roman Neuhauser wrote: | > From: Brian T.Schellenberger | > To: Holt Grendal , 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