From owner-cvs-all Fri Aug 10 16:46:58 2001 Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 7A24237B401; Fri, 10 Aug 2001 16:46:55 -0700 (PDT) Subject: Re: cvs commit: src/sys/kern link_elf.c In-Reply-To: <200108102336.f7ANaUQ85691@green.bikeshed.org> from "Brian F. Feldman" at "Aug 10, 2001 07:36:29 pm" To: green@FreeBSD.org (Brian F. Feldman) Date: Fri, 10 Aug 2001 16:46:55 -0700 (PDT) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20010810234655.7A24237B401@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > I must be misremembering that at one point you couldn't unload a preloaded > module... It was probably due to this bug. :) A pre-loaded module looks exactly the same to the system as a module loaded after system boot. If you pre-load a driver module on which the system depends, i.e. the driver for the disk controller on which your root filesystem resides, then you can't unload it without catastrophic results. But that's a special case. In my case, I'm trying to unload a driver for a network card which is idle, and it works properly now with this fix. The only pre-loaded module you can't ever unload under any circumstances is "kernel." And if anybody out there says "Wait! I have patches to fix that!" I'll scream. -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message