From owner-svn-src-head@FreeBSD.ORG Sat Aug 27 21:09:38 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41FA2106564A; Sat, 27 Aug 2011 21:09:38 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id B63A68FC1A; Sat, 27 Aug 2011 21:09:37 +0000 (UTC) Received: by qwc9 with SMTP id 9so3377345qwc.13 for ; Sat, 27 Aug 2011 14:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vBFzFp4brMer6J8YcZRYuSHKFNDSC1IeCG2yQplfh/k=; b=BMtkLCBT1ByHEJwgm+Gj0xa1OuWjaSRHGAMmI4UrVypHHFPbS7p2WyFhy82UhEaihI c8sC0vCSMMNYLcHXKkpBgTfiOIMiX4gLbgpkFxG8G7ckaE/i5CQ5JgChVpOhA7DxIchI yoDQeGbQxDPif13dhQlkv6/7mCylZxmXQ+elM= MIME-Version: 1.0 Received: by 10.229.229.17 with SMTP id jg17mr2907074qcb.131.1314479376847; Sat, 27 Aug 2011 14:09:36 -0700 (PDT) Received: by 10.224.19.131 with HTTP; Sat, 27 Aug 2011 14:09:36 -0700 (PDT) In-Reply-To: <20110827210448.GE21676@zxy.spb.ru> References: <201108262122.p7QLMZXW071323@svn.freebsd.org> <4E583B92.3060100@FreeBSD.org> <20110827081103.GB21676@zxy.spb.ru> <86obzbi75n.fsf@srvbsdfenssv.interne.associated-bears.org> <20110827105342.GC21676@zxy.spb.ru> <4E58D8E8.3090603@FreeBSD.org> <20110827124432.GD21676@zxy.spb.ru> <4E595447.8000104@FreeBSD.org> <20110827210448.GE21676@zxy.spb.ru> Date: Sat, 27 Aug 2011 14:09:36 -0700 Message-ID: From: Garrett Cooper To: Slawa Olhovchenkov Content-Type: text/plain; charset=ISO-8859-1 Cc: Doug Barton , John Baldwin , Eric Masson , svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r225201 - in head/sys: amd64/conf i386/conf X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2011 21:09:38 -0000 On Sat, Aug 27, 2011 at 2:04 PM, Slawa Olhovchenkov wrote: > On Sat, Aug 27, 2011 at 01:32:07PM -0700, Doug Barton wrote: > >> On 08/27/2011 05:44, Slawa Olhovchenkov wrote: >> > On Sat, Aug 27, 2011 at 04:45:44AM -0700, Doug Barton wrote: >> > >> >> On 8/27/2011 3:53 AM, Slawa Olhovchenkov wrote: >> >>> On Sat, Aug 27, 2011 at 10:35:16AM +0200, Eric Masson wrote: >> >>> >> >>>> Slawa Olhovchenkov writes: >> >>>> >> >>>> Hello, >> >>>> >> >>>>> Yes, from FreeBSD 6.x puc.ko don't work. Only in-kernel version work. >> >>>> >> >>>> Nope puc.ko module can't attach drivers compiled in kernel, but if both >> >>>> puc & uart are loaded as modules, they work fine : >> >>> >> >>> >> >>>> The other way could be to ship a stripped down GENERIC kernel and load >> >>>> modules manually or automagically (devd ?) >> >>>> Regards >> >>> >> >>> May be for fist step: w/o devd, simle remove all posible from GENERIC and include all removed >> >>> drivers in /boot/loader.conf? >> >> >> >> You're better off using kld_list in rc.conf for anything that doesn't >> >> absolutely have to be loaded with the kernel. >> > >> > What drivers in GENERIC don't need to boot from disk or network? >> > sound only? >> >> man rc.conf, search for kld_list. > > Sorry for bad english. > What drivers (from current GENERIC) don't need for network or disk > boot and can be moved to kld_list? > > I see only sound and agp. The answer varies based on your deployment mechanism and requirements. For example: some modules like the kqemu, nvidia, vboxdrv, etc, etc don't need to be loaded until later on in the boot process. That being said, if I'm netbooting I don't need to load storage drivers and the like until later on (unless I want to do some sort of mountroot manipulation, need to have a working kernel dumpable device at boot, etc). -Garrett