Date: Mon, 29 Aug 2011 17:32:34 +0700 From: Vadim Goncharov <vadim_nuclight@mail.ru> To: Doug Barton <dougb@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, John Baldwin <jhb@FreeBSD.org> Subject: Re: svn commit: r225201 - in head/sys: amd64/conf i386/conf Message-ID: <201108291032.p7TAWZ6p023254@kernblitz.nuclight.avtf.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Doug Barton! On Sat, 27 Aug 2011 14:16:56 -0700; Doug Barton <dougb@FreeBSD.org> 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]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108291032.p7TAWZ6p023254>