From owner-freebsd-stable Fri Apr 5 5:58:15 2002 Delivered-To: freebsd-stable@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id BF21D37B41A for ; Fri, 5 Apr 2002 05:58:11 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 16tUEE-0007Pc-00; Fri, 5 Apr 2002 14:58:10 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.6/8.11.1) id g35DwAY28443; Fri, 5 Apr 2002 14:58:10 +0100 (BST) (envelope-from jcm) Date: Fri, 5 Apr 2002 14:58:09 +0100 From: j mckitrick To: freebsd-stable@freebsd.org, andrew@cream.org Subject: Modules and kldunloads Message-ID: <20020405145809.A28418@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry I'm jumping into this thread so late. I have done some experimenting with modules myself. I helped turn a few devices into loadable modules, and I use a few on my system. I use loader.conf to load sound, and when I do my system backups to ZIP I use kldload to load the driver. However, I have problems when unloading these as well. IIRC, unloading snd will cause a panic, but I never do that anyway. Unloading the ZIP driver doesn't kill anything, but reloading it makes the SCSI/CAM system act funny, and it allocates the device with an incrementally higher node number. I tried getting the driver to disconnect from CAM properly, but this seems elusive at best. I guess I thought I was the only one that put most of my drivers into modules and load them at boot time, rather than compiling them into the kernel. Apparently, I'm not alone. Please CC me in replies, since I'm not currently subscribed. jm -- My other computer is your windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message