Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2011 14:39:24 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        src-committers@freebsd.org, John Baldwin <jhb@freebsd.org>, Eric Masson <emss@free.fr>, svn-src-all@freebsd.org, Slawa Olhovchenkov <slw@zxy.spb.ru>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r225201 - in head/sys: amd64/conf i386/conf
Message-ID:  <CAGH67wR-LjcvAvfmcTcr-W4pWT4JFaP3TfwJFZfEJp5=1Nv=yQ@mail.gmail.com>
In-Reply-To: <4E595EC8.40307@FreeBSD.org>
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@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 27, 2011 at 2:16 PM, Doug Barton <dougb@freebsd.org> wrote:
> On 08/27/2011 14:04, 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 <slw@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.
>
> 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.

    A certain set of quick guidelines (< 1 page should suffice) for
kld_list should be devised though. It would at least make quick
booting more feasible for the masses.
Thanks,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wR-LjcvAvfmcTcr-W4pWT4JFaP3TfwJFZfEJp5=1Nv=yQ>