After trying out genkernel (I normally configure the kernel myself) I found out that DRM, AMDGPU, Framebuffer drivers were NOT enabled by default. This is inexcusable because $genkernel all takes a while to finish and the average user would just quit when they find out their GPU doesn't have appropriate drivers. In reality genkernel also would not load appropriate firmware files for GPU found in /lib/firmware, I had to insert it into the .config. Genkernel is a tool for users who do not want to deal with configuring kernels, it is a broken tool and will leave its users without a properly working installation. I suggest porting over and merging genkernel to Ubuntus kernel system, this is because they obviously got it right. Booting their live cd renders my hardware more usable (led light on mute function keys light up and some others) were as they wouldn't on both genkernel AND my manual configed kernel. There is NOTHING to loose in doing this, only more users to gain.
There are much more things which genkernel did not make work on my laptop were as Ubuntus livecd proved their kernel system is superior because the hardware worked.
Created attachment 524762 [details] Notice the useless pata drivers with genkernel
(In reply to Zakhar from comment #0) > After trying out genkernel (I normally configure the kernel myself) I found > out that DRM, AMDGPU, Framebuffer drivers were NOT enabled by default. This > is inexcusable because > > $genkernel all > > takes a while to finish and the average user would just quit when they find > out their GPU doesn't have appropriate drivers. In reality genkernel also > would not load appropriate firmware files for GPU found in /lib/firmware, I > had to insert it into the .config. Genkernel is a tool for users who do not > want to deal with configuring kernels, it is a broken tool and will leave > its users without a properly working installation. I suggest porting over > and merging genkernel to Ubuntus kernel system, this is because they > obviously got it right. Booting their live cd renders my hardware more > usable (led light on mute function keys light up and some others) were as > they wouldn't on both genkernel AND my manual configed kernel. There is > NOTHING to loose in doing this, only more users to gain. It is true that CONFIG_DRM_AMDGPU is not yet included in the default x86_64 config but should be. Most other video drivers are enabled as modules with the default config. Genkernel is a one-size-fits most tool but it occasionally needs to be tweaked by using the --menuconfig option. As for the firmware, firmware files are not required to be part of the kernel. They are included in the initramfs if the --firmware option is given or FIRMWARE="yes" in genkernel.conf is set. Not everyone needs this.
Created attachment 524764 [details] This is Ubuntus lsmod
Created attachment 524766 [details] lspci to show there are no pata devices
AMDGPU is only 1 example of MANY which do not work with kernel generated with genkernel with my laptop.
You are welcome to submit patches here or PRs to https://github.com/gentoo/genkernel Ubuntu likely just does 'make allmodconfig' and not use a static config like genkernel does. They may also include udev which genkernel does not do.
They don't use that command because: laptop /usr/src/linux # make allmodconfig scripts/kconfig/conf --allmodconfig Kconfig # # configuration written to .config # laptop /usr/src/linux # wc -l .config && wc -l ~/ubuntu-kernel-config 11375 .config 8491 /root/ubuntu-kernel-config ubuntu config taken from here: https://gist.github.com/eeyrjmr/279a0930253831a34be53e74ae4311cb
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=803093e728262d03ae39b5acd30914f1a2f506ee commit 803093e728262d03ae39b5acd30914f1a2f506ee Author: Ben Kohler <bkohler@gentoo.org> AuthorDate: 2019-03-07 21:28:51 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2019-03-07 21:30:46 +0000 x86{,_64}/kernel-config: add DRM_AMDGPU Closes: https://bugs.gentoo.org/651126 Signed-off-by: Ben Kohler <bkohler@gentoo.org> arch/x86/kernel-config | 1 + arch/x86_64/kernel-config | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)