Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 16:42:45 +0100
From:      Matthias Oestreicher <matthias@smormegpa.no>
To:        freebsd-questions@freebsd.org
Subject:   Re: Re: Barebone kernel options request
Message-ID:  <e0075b67d23277f9ae9f909fb3a29c0a27c79bd3.camel@smormegpa.no>
In-Reply-To: <ea-mime-5c867122-b27-360ee79e@webmail.numericable.fr>
References:  <ea-mime-5c867122-b27-360ee79e@webmail.numericable.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Montag, den 11.03.2019, 15:30 +0100 schrieb samir.otmane@numericable.fr:
> Not really related about hardware, i just don't like being enforced features that i
> don't need/want of, yet i understand that there will *might* not be noticeable
> performance impact upon keeping/get rid of some features.
> 
> 
> ---- Message d'origine ----
> De : "Carmel NY" <carmel_ny@outlook.com>
> À : "FreeBSD" <freebsd-questions@freebsd.org>
> Objet : Re: Barebone kernel options request
> Date : 11/03/2019 14:54:48 CET
> 
> On Mon, 11 Mar 2019 09:08:48 -0400, Robert Huff stated:
> 
> > Polytropon writes:
> > 
> > > You will then make a copy of the GENERIC kernel configuration file
> > > and adjust it to your needs, i. e., remove all the entries you do
> > > not need. 
> > 
> > Proceed with caution here.
> > I do not know if it is currently true, but it has in the past
> > been the case that (e.g.) option Q depends on device F which depends
> > on device B; while the relationship between Q and F is documented in
> > the config file, the one between F and B is not.
> > The easy targets are disk(/RAID) drivers and network cards.
> > After that? Stay alert; trust no-one; keep your un-delete key handy.
> > 
> > 
> > Respectfully,
> > 
> > 
> > Robert Huff
> 
> Just out of some sort of morbid curiosity, I would be interested in
> knowing exactly what problem the OP is trying to correct or alleviate
> here. If his storage, memory or whatever resources are stretched to the
> limit, he would be better served by purchasing a newer, more powerful
> machine. "You can't make a silk purse out of a sow's ear."
> 
Agree. There are only two reasons to build a kernel nowadays IMO:
1. to solve a real problem
or
2. to learn about FreeBSD


 "Not really related about hardware, i just don't like being enforced features"

I'd say, most of the kernel is hardware related. You can't really strip down
the kernel, if you don't want to touch any of the drivers in the config.

You have got several examples already. Now you just have to configure and
build the kernel you want. You can't avoid reading the Handbook section
you've been pointed to and the comments in GENERIC. There simply isn't
THE ulitmate stripped down config that fits anyone and no one will or can
do that job for you.
Try it, then ask specific questions if you run into trouble building or
booting you kernel.

P.S. You make it hard for yourself to get help by first posting the
same question 3 times and then top posting in addition. This thread is so
torn apart that it's not fun to follow. Almost unreadable.
No offense, Samir, but this could be something for you:
http://www.catb.org/esr/faqs/smart-questions.html

It's a good read and will help you post questions in a way that will actually
help you get better help.
 

Best Regards
Matthias





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e0075b67d23277f9ae9f909fb3a29c0a27c79bd3.camel>