From owner-svn-src-head@FreeBSD.ORG Mon Aug 29 11:10:17 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 866F010656DB; Mon, 29 Aug 2011 11:10:17 +0000 (UTC) (envelope-from vadim@nuclight.avtf.net) Received: from nuclight.avtf.net (208.88.188.90.adsl.tomsknet.ru [90.188.88.208]) by mx1.freebsd.org (Postfix) with ESMTP id 68C3F8FC25; Mon, 29 Aug 2011 11:10:16 +0000 (UTC) Received: from kernblitz.nuclight.avtf.net (vadim@localhost [127.0.0.1]) by nuclight.avtf.net (8.14.4/8.14.4) with ESMTP id p7TAWaCL023257; Mon, 29 Aug 2011 17:32:36 +0700 (NOVST) (envelope-from vadim@kernblitz.nuclight.avtf.net) Received: (from vadim@localhost) by kernblitz.nuclight.avtf.net (8.14.4/8.14.4/Submit) id p7TAWZ6p023254; Mon, 29 Aug 2011 17:32:35 +0700 (NOVST) (envelope-from vadim) Message-Id: <201108291032.p7TAWZ6p023254@kernblitz.nuclight.avtf.net> To: Doug Barton From: Vadim Goncharov In-Reply-To: =?UTF-8?Q?=3C4E595EC8=2E40307=5F=5F41269=2E9701650583=24131?= =?UTF-8?Q?4479863=24gmane=24org=40FreeBSD=2Eorg=3E?= 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> <4E595EC8.40307__41269.9701650583$1314479863$gmane$org@FreeBSD.org> X-Comment-To: Doug Barton Date: Mon, 29 Aug 2011 17:32:34 +0700 User-Agent: slrn/0.9.9p1 (FreeBSD) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, John Baldwin 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 Reply-To: vadim_nuclight@mail.ru 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: Mon, 29 Aug 2011 11:10:17 -0000 Hi Doug Barton! On Sat, 27 Aug 2011 14:16:56 -0700; Doug Barton wrote: >>>>>> 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. > > I'm not going to do your homework for you. :) Try it and find out for > yourself. I will tell you that given that rc.d/kld runs right after the > disks are mounted means that (unless you are netbooting) you can put > just about everything that isn't directly related to mounting your disks > in kld_list. Beyond that, you just need to experiment on your own. No, you've misunderstood him. For the installation or simple boot you may need *all* network drivers and _all_ storage drivers (including USB) already on boot, you can't move them to kld_list as it is after initial boot. And most lines in GENERIC are exactly for storage and network cards. Also, as only GENERIC is updated by freebsd-update(8), you can't workaround such things for installation media but also need to keep in kernel/loader for production use, too. So what could be really axed from there? Just agp, PCMCIA, parallel ports, some of firewire drivers (not all - some needed for SCSI). The possible solution to this may be to have a MINIMAL kernel, also updated by freebsd-update(8), but that will double requirements for space in /boot... -- WBR, Vadim Goncharov. ICQ#166852181 mailto:vadim_nuclight@mail.ru [Anti-Greenpeace][Sober FreeBSD zealot][http://nuclight.livejournal.com]