Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2011 14:37:34 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        Doug Barton <dougb@freebsd.org>, John Baldwin <jhb@freebsd.org>, Eric Masson <emss@free.fr>, 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
Message-ID:  <CAGH67wTN9c0HQh%2BpPHdsch4PgyL_UAKtdvW%2BFLbjneKWcFj5Mw@mail.gmail.com>
In-Reply-To: <20110827212118.GF21676@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> <CAGH67wSXSLx9fTmHHxJxX=gjROdTmsAnZkcL1e7XU2V7%2BzsJ=A@mail.gmail.com> <20110827212118.GF21676@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 27, 2011 at 2:21 PM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
> On Sat, Aug 27, 2011 at 02:09:36PM -0700, Garrett Cooper wrote:
>
>> >> > 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.
>>
>> =A0 =A0 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
>
> No-no-no.
> GENERIC placed on instalation CD/DVD and updated by freebsd-update.
> So GENERIC (and modules loaded in /boot/loader.conf from instalation
> image and in default install) must be enought to install in widest
> environment.

    This method is for customizers more than generalists today. but
should potentially be extended to generalists tomorrow (this method is
similar to what I would refer to as "pimp my PC").

> If drivers moved from GENERIC to /boot/loader.conf it allow preserve
> wide range of installation environment and give light way to reduce
> count of loaded devices (by edit /boot/loader.conf).

    /boot/loader.conf is empty by default. GENERIC for the most part
is a complete, monolithic kernel. I'm not sure what the issue is here,
because this is for more advanced usage (i.e. you do linux_load=3D"YES"
in /boot/loader.conf, etc).
Thanks,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wTN9c0HQh%2BpPHdsch4PgyL_UAKtdvW%2BFLbjneKWcFj5Mw>