View previous topic :: View next topic |
Author |
Message |
herkusPT n00b
Joined: 15 Feb 2008 Posts: 26
|
Posted: Fri Dec 21, 2018 8:14 pm Post subject: kernel configuration file |
|
|
Hi,
Where I can download the default .config file to compile kernel linux-4.14.83-gentoo ?
Best Regards,
Herculano _________________ HerkusPT |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54640 Location: 56N 3W
|
Posted: Fri Dec 21, 2018 8:20 pm Post subject: |
|
|
herkusPT,
Its built into the kernel. There is a choice. Look in /usr/src/linux/arch/x86/configs/
None will work though. They are not intended to be used as is.
If you like the kernel on the liveCD, its made with
Genkernel provides its own kernel config file. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
herkusPT n00b
Joined: 15 Feb 2008 Posts: 26
|
Posted: Sun Dec 23, 2018 2:07 pm Post subject: |
|
|
NeddySeagoon,
What is the best kernel configuration for desktop user, livedvd-amd64-multilib-20160704.iso or install-amd64-minimal-20181220T214503Z.iso ?
Thanks for your help _________________ HerkusPT |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54640 Location: 56N 3W
|
Posted: Sun Dec 23, 2018 2:53 pm Post subject: |
|
|
herkusPT,
You need to define 'best'. There is no single answer.
The install-amd64-minimal.iso kernel is made with genkernel provides its own default .config file.
The liveDVD kernel is made the same way but possibly with a different .config file.
Its gets more complex too. Different hardware setups need different, often conflicting, kernel options, so the install-amd64-minimal.iso kernel supports only very general (slow) run almost anywhere graphics. There are wiki pages for popular GPUs like Radeon, Intel, nVidia and so on, that all have their required kernel options.
A good start is Pappy's preconfigs!. That's Pappys take on a good minimal kernel .config without any hardware support.
That gets around the hardware config conflicts. You need to add all your own hardware support.
The method is here That site has been unmaintained for several years but the method is sound.
Find a seed/preconfig to match your kernel. Drop it into your kernel tree as .config
Run and answer the questions, if any.
Run and set the options for your hardware. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
herkusPT n00b
Joined: 15 Feb 2008 Posts: 26
|
Posted: Sun Dec 23, 2018 4:16 pm Post subject: |
|
|
Hi,
I'm going to use the preconfiguration that exists in the topic that refers
When I refere the best kernel configuration for desktop user, I refere for example, the kernel more compatible which more usual devices, like sabayon distro for example, similar to gentoo distro.
Thanks _________________ HerkusPT |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54640 Location: 56N 3W
|
Posted: Sun Dec 23, 2018 4:29 pm Post subject: |
|
|
herkusPT,
Binary distros cheat.
They build the incompatible parts as modules then hope that the modules you don't need load, find nothing, then unload.
The backstop is to blacklist things you don't want.
The source based distro way is to build only what you need. That's probably harder, as at the start, you don't know everything you need and your kernel won't boot.
Be sure to not overwrite your genkernel kernel or its modules.
Be sure to set CONFIG_LOCALVERSION in your own kernel to stop that happening. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
niku n00b
Joined: 23 Dec 2018 Posts: 38
|
Posted: Mon Dec 24, 2018 5:03 am Post subject: |
|
|
You could start with sys-kernel/gentoo-sources, and apply all the required configuration mentioned in the Gentoo Handbook. (Most of these were correctly set already, when I first ran make menuconfig.)
Doing just the above got me a bootable system. All that I had to do on top of it (which I did later) was to add the required support for WiFi, Bluetooth, USB Tethering, Sound Card, and some Power Management and ACPI options. For these, I used the Gentoo (and ocassionally ArchLinux) wiki site. |
|
Back to top |
|
|
Muso Veteran
Joined: 22 Oct 2002 Posts: 1052 Location: The Holy city of Honolulu
|
Posted: Mon Dec 24, 2018 6:26 am Post subject: |
|
|
The very idea of a default config is weird. Binary distros, as NeddySeagoon has pointed out, build gigantic, bloated, modular kernels which modprobe like a hail Mary. To understand what your computer's kernel needs, know the hardware. So try an lspci. Also check the .pdf file from the manufacturer if you didn't build it yourself. Know what you need, build it into your kernel. _________________ "You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop! |
|
Back to top |
|
|
herkusPT n00b
Joined: 15 Feb 2008 Posts: 26
|
Posted: Mon Dec 24, 2018 12:31 pm Post subject: |
|
|
Hi,
Ok, let me try start to build my kernel configuration to my computer. It is a very long work but is the best idea, I forget the standard configuration, and build my configuration.
Thank _________________ HerkusPT |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54640 Location: 56N 3W
|
Posted: Mon Dec 24, 2018 12:43 pm Post subject: |
|
|
herkusPT,
That will be this method.
The method is still valid but the kernel has grown a lot since I posted that.
Good use of the menus will save a lot of time. Setting and entire menu to off, sets its contents to off too.
e.g. If you don't have any TV cards, you can turn them all off.
There is no need to do it all in one sitting' if you save the config, you carry on from where you left off. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
herkusPT n00b
Joined: 15 Feb 2008 Posts: 26
|
Posted: Wed Dec 26, 2018 3:16 pm Post subject: |
|
|
Thanks so much for your help _________________ HerkusPT |
|
Back to top |
|
|
|