From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 28 06:26:57 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB8721065671 for ; Thu, 28 Feb 2008 06:26:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 482958FC1C for ; Thu, 28 Feb 2008 06:26:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so161641uge.37 for ; Wed, 27 Feb 2008 22:26:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=7feoWqW/kST8lDw0ymhjo3vNusCg7icfwweZTDv+uWc=; b=aLSLHHgeogaG3B0l/M9JbqMTO21LLlRn93p9XB7xcD+rsdzBwGBI7mIKzdXwLegKnyKYSucBx6n5hg5eK8XiXLA2CBNA+wbwYEqKlg6SX42QGTPS4oaKaykLunblo26Qv+DAIW6Ei1itmvMVtxLiSybtMBrEQMQyhxymXDHN41U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=MqHjxH/wDBu4TgERPoXoKzqv1JRoLHoSEatnyZlMYjdmV8Tag3yQkZv4+Xb52IRBjtD6bNBS/QgdnEhXvbGshZzIufEpuKAtJ4ar2Lt+OutL2mjehpx8ODHYXPWrnwAjk2PVX0j1LsDfyeNG8o2L+MVue+kRg77cXBiRVA3JFG4= Received: by 10.151.105.13 with SMTP id h13mr2596176ybm.180.1204180015283; Wed, 27 Feb 2008 22:26:55 -0800 (PST) Received: by 10.150.144.2 with HTTP; Wed, 27 Feb 2008 22:26:55 -0800 (PST) Message-ID: Date: Thu, 28 Feb 2008 15:26:55 +0900 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: obrien@freebsd.org, "Adrian Chadd" , freebsd-hackers@freebsd.org, hackers@freebsd.org In-Reply-To: <20080227193234.GB54600@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080225174410.GA81874@dragon.NUXI.org> <20080227193234.GB54600@dragon.NUXI.org> X-Google-Sender-Auth: 5d51d1e488d36cc3 Cc: Subject: Re: Modular type GENERIC? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 06:26:57 -0000 On 28/02/2008, David O'Brien wrote: > On Tue, Feb 26, 2008 at 01:56:28PM +0900, Adrian Chadd wrote: > > On 26/02/2008, David O'Brien wrote: > > > > > As you've shown the magic is in the loader.conf. I don't know a good way > > > to handle this other than attempt to load every module (like Microsoft NT > > > installer does) - and hope the probe of a driver that doesn't claim a > > > device doesn't leave that device in a bad state. > > > > > > Have you tried putting every module in /boot/kernel into loader.conf in a > > > "load" statement? > > > > I'm going to try doing that tonight. > > > Cool. Please let us(me) know how it goes. Is there some sane-ish way of auto-generating a list of modules given a config file? The "device" statements don't match up with the module name in all bar 4 or 5 places. Is there some chain of files I can munge to match things up? Adrian -- Adrian Chadd - adrian@freebsd.org