Torpus wrote:[...] There was a new kernel called gentoo-defi. [...]
... gentoo-dist ...
Torpus wrote:[...] It gave me the exact same errors as in my original kernel.
No errors. All is okay - it must be okay because it is our "user" kernel. See below.
Maybe you already know what I am telling you now - then, please do not be offended:
Most people dont like to configure manually a kernel ... because it can be difficult ... in every case it is time consuming ... and it is error prone
But there is a "little" problem: The Linux kernel MUST have all modules to be able to acces the root partition. These are many modules: For PCI, AHCI (and/or NVMe), GPT partitions and last but not least the filesystem (EXT4, XFS, ...). But the kernel can LOAD these modules only (from disk) AFTER kernel has ACCESS to disk ... So there exists two options:
1. You configure all these necessary modules static <*> into your kernel, OR
2. Kernel has an initramfs, which does all jobs and actions to enable the kernel accessing its root partition. This means: Every possible kernel module is here integrated as <M>odul and initramfs checks the hardware and loads EVERY necessary module.
EVERY bootable LinuxLiveCD - and of course also our GentooLiveCD / GentooMinimalCD - MUST use option 2 ... and also our dist-kernel uses option 2. A kernel with such an initramfs has (almost) EVERY module "in it" and therefore is able to do every job (e.g. ALL crypto modules are available). With such a kernel you have to change something only in very rare cases ... but it is not a "slim" kernel ... and it is not a hardened kernel ...
Back to your dmesg - This is all fine ...
Code: Select all
[ 5.374094] Asymmetric key parser 'pkcs8' registered
[ 5.374641] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.386673] Loading firmware: regulatory.db
[ 5.387736] Loading firmware: regulatory.db.p7s
[ 5.468579] Intel(R) Wireless WiFi driver for Linux
[ 5.468688] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[ 5.470854] iwlwifi 0000:02:00.0: Detected crf-id 0xbadcafe, cnv-id 0x10 wfpm id 0x80000000
[ 5.470875] iwlwifi 0000:02:00.0: PCI dev 24fd/0110, rev=0x230, rfid=0xd55555d5
[ 5.473805] Loading firmware: iwlwifi-8265-36.ucode
[ 5.491946] iwlwifi 0000:02:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
[ 6.541537] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[ 6.600581] iwlwifi 0000:02:00.0: base HW address: b8:9a:2a:33:98:89, OTP minor version: 0x0
[ 11.080552] iwlwifi 0000:02:00.0: Registered PHC clock: iwlwifi-PTP, with index: 0
... There is only ONE "small" difference ...
Code: Select all
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.4.12-gentoo-dist root=UUID=487a6fe3-e0f7-43b4-9bbb-b5dc47b981c0 ro net.ifnames=0 amd-pstate=passive acpi_osi=Linux
In the default kernel command line for a dist-kernel there is an additional paramter: "net.ifnames=0". This parm prevents renaming of all interfaces ...
Just do a
(later do also an "ip r" and "ip n" ... and look into manpage of ip)
Now - Back to Neddy
Sidenote - Hint:
Save this dmesg, because you can use it for your manual kernel configuration. You will see some modules you might have forgot to enable ... Exampole:
Code: Select all
[ 5.375625] asus_wmi: ASUS WMI generic driver loaded
[ 5.377122] asus_wmi: Initialization: 0x1
[ 5.377622] AMD-Vi: AMD IOMMUv2 loaded and initialized
[ 5.377656] asus_wmi: BIOS WMI version: 9.0
[ 5.377747] asus_wmi: SFUN value: 0x21
[ 5.377759] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[ 5.377768] asus-nb-wmi asus-nb-wmi: Detected ATK, enable event queue