View previous topic :: View next topic |
Author |
Message |
TsTr n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Jun 2019 Posts: 14
|
Posted: Thu Jun 13, 2019 8:50 am Post subject: menuconfig default settings and kernel compilation |
|
|
Hi,
I would like to make Gentoo kernel configuration as efficient as possible.
When I extract the tarball file, the .conf has some selected settings as its default.
1. Who choose those settings?
2. Is those settings are the minimum that mandatory?
3. How can I know what is mandatory for specific pc and what is not (lspci? lshw?)
4. Is make clean is recommended before recompile the kernel or not?
Mod edit: Potentially confusing typo corrected, in boldface, above. — JRG |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54851 Location: 56N 3W
|
Posted: Thu Jun 13, 2019 5:11 pm Post subject: |
|
|
TsTr,
Welcome to Gentoo.
Quote: | 1. Who choose those settings? | The upstream kernel devs.
Quote: | 2. Is those settings are the minimum that mandatory? | No. There is a lot of things there you do not need and a few things you need will be off. Its unlikely the default kernel comfiguration works for anyone.
Quote: | 3. How can I know what is mandatory for specific pc and what is not (lspci? lshw?) | There is no simple answer. lspci and lsusb will show some but not all connected hardware. There is no tool to shom devices ot I2C and SPI.
Support is also required for things you choose to use, like filesystems.
Quote: | 4. Is make clean is recommended before recompile the kernel or not? | Sometimes. It depends what configuration options you change. The kernel is pretty good but not perfect at getting this right.
Its a great time saver to not run as existing binaries will be reused if possible. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fturco Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Dec 2010 Posts: 1181
|
Posted: Thu Jun 13, 2019 8:18 pm Post subject: Re: menuconfig default settings and kernel compilation |
|
|
TsTr wrote: | 4. Is make clear is recommended before recompile the kernel or not? |
There's a typo. The right command is make clean, not make clear.
Cleaned up, so to speak. — JRG |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TsTr n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Jun 2019 Posts: 14
|
Posted: Fri Jun 14, 2019 3:47 am Post subject: |
|
|
hello,
Thank you very much.
Yes, I made a typo error, thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pietinger Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
Joined: 17 Oct 2006 Posts: 5394 Location: Bavaria
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|