> On Jan 15, 2015, at 9:20 AM, Alexey Dokuchaev <da...@freebsd.org> wrote: > > On Thu, Jan 15, 2015 at 10:51:55AM -0500, John Baldwin wrote: >>> [...] >>> +# Pseudo devices. >>> +device loop # Network loopback >>> +device random # Entropy device >>> +device padlock_rng # VIA Padlock RNG >>> +device rdrand_rng # Intel Bull Mountain RNG >>> +device ether # Ethernet support >>> +device vlan # 802.1Q VLAN support >>> +device tun # Packet tunnel. >>> +device gif # IPv6 and IPv4 tunneling >> >> These last three definitely work as modules. (vlan(4) was only recently >> added to GENERIC). > > And many other things as well (like SYSV* for example). I usually go as > far as nodevice'ing io and mem, FWIW. > > That said, if we supply reference MINIMAL, it should *really* be minimal. > And it should not be limited to amd64; lest we forget, our primary target > should still be i386.
Noted. However, the driver here is an automated loading system. This isn’t a theoretical ‘least you can have in the kernel’ thing but rather GENERIC with all the stuff you can practically kldload taken out. But you bring up a good point. i386 is easy, once the basics are done. PowerPC is only slightly harder, since it has good /boot/loader support as well as a GENERIC kernel or two. Ditto sparc64. But stepping into arm and mips then all hell breaks loose. It’s also desirable to refactor GENERIC, for the transition period, to be include MINIMAL + more stuff. I’ll do that as time permits. Warner
signature.asc
Description: Message signed with OpenPGP using GPGMail