From owner-freebsd-current Mon Mar 3 11:56: 2 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9874F37B401 for ; Mon, 3 Mar 2003 11:56:01 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2D5043F3F for ; Mon, 3 Mar 2003 11:55:57 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a165.otenet.gr [212.205.215.165]) by mailsrv.otenet.gr (8.12.8/8.12.8) with ESMTP id h23Jts5q002189 for ; Mon, 3 Mar 2003 21:55:55 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.7/8.12.7) with ESMTP id h23JZsAi001220 for ; Mon, 3 Mar 2003 21:35:54 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.7/8.12.7/Submit) id h23HJ58F018727; Mon, 3 Mar 2003 19:19:05 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 3 Mar 2003 19:19:05 +0200 From: Giorgos Keramidas To: Michal Mertl Cc: current@FreeBSD.org Subject: Re: potential for foot-shooting with KLD's Message-ID: <20030303171905.GC56386@gothmog.gr> References: <20030302153608.P44831@prg.traveller.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030302153608.P44831@prg.traveller.cz> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-03-02 17:34, Michal Mertl wrote: > Imagine you decided to go with modular kernel. You comment out 'device > random' in your kernel-config and place 'random_load="YES"' in > /boot/loader.conf. When you reboot and don't rebuild the kernel first, you > have your machine unbootable - at least in case you previously had acpi in > your kernel and acpi doesn't work without OS supplied dsdt (as in my > case) or you need acpi as a module or any other module. > > The way out is to boot from install CDROM, have fixit floppy, mount the > old root and remove the random.ko module. Which is pretty inconvenient, > when you don't have the medias handy. > > The problem is that I can't ask loader not to load some module. It doesn't > understand 'unset XX_load'. It doesn't work to say 'set XX_load="NO"' > either. The only way I found to make it not load the modules is to 'load > /boot/kernel/kernel;set module_path="";boot'. Unfortunately it doesn't > help me either because I need to load special acpi_dsdt.aml which isn't > then loaded either. How about `unset XX_load' ? - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message