Date: Sun, 25 Nov 2012 00:29:30 +0100 From: Andreas Nilsson <andrnils@gmail.com> To: Chris H <chris#@1command.com> Cc: Warren Block <wblock@wonkity.com>, Derek Kulinski <takeda@takeda.tk>, bright@mu.org, FreeBSD Stable Mailing List <freebsd-stable@freebsd.org> Subject: Re: Where do I purchace an unlock code to build a custom kernel? Message-ID: <CAPS9%2BSvYF%2Bhd5hjy0fF_Bh42=aPPEopDipO5hQ7A6tDVPEDe2A@mail.gmail.com> In-Reply-To: <b6038444468b25690f850a59930de537.authenticated@ultimatedns.net> References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> <b518dcdcd1129ea5bacb4c6656f462f3.authenticated@ultimatedns.net> <1864583315.20121123233938@takeda.tk> <7d9b8b9da9bbf74a134fb581bc133ec1.authenticated@ultimatedns.net> <1147916428.20121124000013@takeda.tk> <8c535b696c2a9cd805d68f52633c3044.authenticated@ultimatedns.net> <alpine.BSF.2.00.1211240830080.13869@wonkity.com> <b6038444468b25690f850a59930de537.authenticated@ultimatedns.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I full-heartedly agree that include-statement is good, but still $ wc -l /usr/src/sys/amd64/conf/MINI 174 /usr/src/sys/amd64/conf/MINI And this is just after removing network cards ( (usb)ethernet, (usb)wlan, raid drivers and firewire) for my pretty standard lenovo t510. There is so much in GENERIC today that seems to work just as well as modules. I guess one thread on a mailing list this summer tried to achieve a more modular config, which would make the include statement even more useful. Best regards Andreas On Sat, Nov 24, 2012 at 6:50 PM, Chris H <chris#@1command.com> wrote: > > On Sat, 24 Nov 2012, Chris H wrote: > > > >>> Hi Chris, > >>> > >>> Friday, November 23, 2012, 11:50:16 PM, you wrote: > >>> > >>>> Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured > config(8) > >>>> would "throw me a bone" if it were wrong. > Greetings, and thank you for your reply. > >>>> Anyway, I'll take your advice. > >>> > >>> There are some architecture specific settings there, so it is best to > >>> actually do this and fail it early (well if you would do buildkernel > >>> it would be earlier :) than getting some strange errors. > >>> > >>> If you were thinking to just copy it to i386 directory, to save you > >>> future issues, I would recommend you to redo the config based on > >>> GENERIC in i386 directory. > >> > >> Understood. That's what I did (i386/GENERIC --> CUSTOM). > >> I _knew_ there would be issue(s) otherwise. > >> > >> Thank you again for the advice. Looks to be working as expected. :) > > > > Rather than copy and modify, a custom config can include the GENERIC > > config and override settings. That generally makes the custom config > > file smaller and easier to maintain: > > http://www.wonkity.com/~wblock/docs/html/kernelconfig.html > > Excellent advice. In fact I now feel fairly embarrassed, as your > suggestion seems so _obvious_. :P > > Thanks, that will _definitely_ be my course of action, going forward > (as will cross-compiling on my 6 core AMD64 for this k7) :) > > Best wishes. > > --Chris > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSvYF%2Bhd5hjy0fF_Bh42=aPPEopDipO5hQ7A6tDVPEDe2A>