Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2011 15:57:36 -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:  <CAGH67wS8-fDFKVkWc2W-n-bg7xhDJH4oPmQOTsSDiTP_MGhKGw@mail.gmail.com>
In-Reply-To: <4E598221.6080104@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> <CAGH67wR-LjcvAvfmcTcr-W4pWT4JFaP3TfwJFZfEJp5=1Nv=yQ@mail.gmail.com> <4E598221.6080104@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 27, 2011 at 4:47 PM, Doug Barton <dougb@freebsd.org> wrote:
> On 08/27/2011 14:39, Garrett Cooper wrote:
>> =A0 =A0 A certain set of quick guidelines (< 1 page should suffice) for
>> kld_list should be devised though.
>
> I look forward to reviewing your draft of that. :)

I wish I had the docs stuff setup -- I would generate a draft for that
if sgml functioned for me. The docs really need dusting off for 9.0 in
the booting and rc area.

The base premise is: put everything in /boot/loader.conf that's
required to initial mount the system (aka mountcritlocal).

Which means in the following generic, simple use cases:

1. When booting off USB media, you must put the USB stack (ehci, uhci,
xhci, umass) etc in /boot/loader.conf (wash, rinse, repeat for
firewire).
2. When booting off CD/DVD media, you must put the appropriate drivers
(e.g. ata_cam, ahci, etc) in /boot/loader.conf .
3. When PXE booting, you must put the proper network driver (e.g.
if_em, if_msk, if_re) in /boot/loader.conf .
4. When booting off a local disk, you must put the appropriate disk
controller driver (e.g. ahci, ata_cam, mfi, twa, etc) in
/boot/loader.conf .

If the requirements for the boot process are non-standard (i.e. your
boot starts out as PXE, then switches over to disk access), then a
cross product of those permutations should be performed.

Thanks,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wS8-fDFKVkWc2W-n-bg7xhDJH4oPmQOTsSDiTP_MGhKGw>