svn commit: r225201 - in head/sys: amd64/conf i386/conf

Garrett Cooper yanegomi at gmail.com
Sat Aug 27 21:09:38 UTC 2011


On Sat, Aug 27, 2011 at 2:04 PM, Slawa Olhovchenkov <slw at zxy.spb.ru> 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 <slw at zxy.spb.ru> 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


More information about the svn-src-all mailing list