View previous topic :: View next topic |
Author |
Message |
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Thu Oct 24, 2024 7:53 am Post subject: Kernel 6.6.57 not loading |
|
|
Hello All,
Today I had an update where the kernel version was increased from 6.6.51 to 6.6.57. I am using the a distribution kernel.
I am using elilo and have updated by elilo configuration, to use the 6.6.57 version initramfs and vmlinuz files, but the kernel did not load. It froze at the first steps where it loads the vmlinuz and initramfs. It freezes after loading the intramfs file. The message "loading initramfs... done" is printed. But no scrolling kernel messages are displayed.
I reverted back to kernel 6.6.51 and writing this using that kernel.
eselect news list does not list any news relating to the current kernel version bump. There is a news item I have that dates back to 2024-08-09, and think this is not related to todays problem. Here is my eselect output
Code: |
eselect news list
News items:
[1] 2018-08-07 Migration required for OpenSSH with LDAP
[2] 2019-05-23 Change of ACCEPT_LICENSE default
[3] 2020-06-23 sys-libs/pam-1.4.0 upgrade
[4] 2020-06-24 xorg-server dropping default suid
[5] 2021-01-30 New OpenRC Display Manager Initializer Scripts
[6] 2021-07-20 Perl 5.34 upgrade now stable
[7] 2021-08-19 >=app-misc/mc-4.8.27 to drop support for ~/.mc
[8] 2021-09-29 Possible failure to preserve libraries
[9] 2021-10-08 OpenSSH RSA SHA-1 signatures
[10] 2021-10-18 migrating from glibc[crypt] to libxcrypt in stable
[11] 2021-10-24 netifrc DHCP client
[12] 2022-03-30 Qt 5.15.3 version bump with binary path changes
[13] 2022-04-19 Migration to sys-apps/systemd-utils
[14] 2022-07-29 PipeWire sound server migration
[15] 2022-11-19 LVM2 default USE flag change
[16] 2022-11-21 systemd-tmpfiles --clean enabled by default
[17] 2022-12-27 Introduction of app-alternatives ebuilds
[18] 2023-05-11 OpenSSH directory configuration changes
[19] 2023-11-20 CUPS no longer directly depends on its filters
[20] 2024-01-18 Merging of installkernel-gentoo and installkernel-systemd
[21] 2024-02-26 installkernel is no longer implicitly installed
[22] 2024-05-07 dev-lang/perl useflags become a PERL_FEATURES use-expand
[23] 2024-05-09 Python 3.12 to become the default on 2024-06-01
[24] 2024-05-17 Changes to dracut kernel module/microcode handling
[25] 2024-08-09 dracut module config changes
|
Anyone experiencing the same problem with kernel 6.6.57?
Regards |
|
Back to top |
|
|
Nowa Developer
Joined: 25 Jun 2014 Posts: 434 Location: Nijmegen
|
Posted: Thu Oct 24, 2024 2:56 pm Post subject: |
|
|
Please share the output of:
Code: | emerge --config gentoo-kernel |
(or gentoo-kernel-bin if that is the one you are using) _________________ OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400 |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Thu Oct 24, 2024 4:43 pm Post subject: |
|
|
Nowa wrote: | Please share the output of:
Code: | emerge --config gentoo-kernel |
(or gentoo-kernel-bin if that is the one you are using) |
Here is the output of the command (I am using gentoo-kernel-bin)
https://file.io/HKC6zllLZ2lF
Last edited by rzdndr on Fri Oct 25, 2024 2:07 pm; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5169 Location: Bavaria
|
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Oct 25, 2024 1:25 am Post subject: |
|
|
pietinger wrote: |
Hmm ... I get: "The transfer you requested has been deleted." ... Maybe try another pastebin service. |
Sorry for the inconvenience. I did not remember there was pastebin. Here is the link: https://pastebin.com/UWJS81E5 |
|
Back to top |
|
|
Nowa Developer
Joined: 25 Jun 2014 Posts: 434 Location: Nijmegen
|
Posted: Fri Oct 25, 2024 7:53 am Post subject: |
|
|
I don't see anything obviously wrong here. I suspect this is somehow an initramfs issue, have you tried re-generating the initramfs of the currently working kernel? _________________ OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400 |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Oct 25, 2024 10:40 am Post subject: |
|
|
Nowa wrote: |
I don't see anything obviously wrong here. I suspect this is somehow an initramfs issue, have you tried re-generating the initramfs of the currently working kernel? |
Did not try generating the initramfs (for 6.6.57).
I have configuration files in the /boot directory.
Code: | -rw-r--r-- 1 root root 266812 Sep 23 05:58 config-6.6.51-gentoo-dist
-rw-r--r-- 1 root root 267566 Oct 24 19:32 config-6.6.57-gentoo-dist |
I think the difference in the kernels can be identified. Here is the difference between these two files.
Code: | diff config-6.6.51-gentoo-dist config-6.6.57-gentoo-dist
3c3
< # Linux/x86 6.6.51 Kernel Configuration
---
> # Linux/x86 6.6.57 Kernel Configuration
21a22
> CONFIG_HAVE_CTF_TOOLCHAIN=y
1089c1090
< # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set
---
> # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD_DEPRECATED is not set
1093c1094
< CONFIG_Z3FOLD=y
---
> # CONFIG_Z3FOLD_DEPRECATED is not set
4358a4360
> # CONFIG_SERIAL_KGDB_NMI is not set
4363a4366
> CONFIG_CONSOLE_POLL=y
6478a6482
> # CONFIG_DEBUG_KERNEL_DC is not set
7577a7582
> # CONFIG_HID_MCP2200 is not set
10056a10062,10064
> CONFIG_PROC_MEM_ALWAYS_FORCE=y
> # CONFIG_PROC_MEM_FORCE_PTRACE is not set
> # CONFIG_PROC_MEM_NO_FORCE is not set
10159,10160c10167,10168
< # CONFIG_LIST_HARDENED is not set
< # CONFIG_BUG_ON_DATA_CORRUPTION is not set
---
> CONFIG_LIST_HARDENED=y
> CONFIG_BUG_ON_DATA_CORRUPTION=y
10429c10437
< CONFIG_MODULE_SIG_KEY="/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.51/temp/kernel_key.pem"
---
> CONFIG_MODULE_SIG_KEY="/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.57/temp/kernel_key.pem"
10589a10598
> # CONFIG_CTF is not set
10652a10662
> CONFIG_DEBUG_INFO=y
10654,10655c10664,10665
< CONFIG_DEBUG_INFO_NONE=y
< # CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
---
> # CONFIG_DEBUG_INFO_NONE is not set
> CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
10657a10668,10674
> # CONFIG_DEBUG_INFO_REDUCED is not set
> CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
> # CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set
> # CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set
> # CONFIG_DEBUG_INFO_SPLIT is not set
> CONFIG_DEBUG_INFO_BTF=y
> # CONFIG_GDB_SCRIPTS is not set
10682c10699,10706
< # CONFIG_KGDB is not set
---
> CONFIG_KGDB=y
> CONFIG_KGDB_HONOUR_BLOCKLIST=y
> CONFIG_KGDB_SERIAL_CONSOLE=y
> CONFIG_KGDB_TESTS=y
> # CONFIG_KGDB_TESTS_ON_BOOT is not set
> CONFIG_KGDB_LOW_LEVEL_TRAP=y
> # CONFIG_KGDB_KDB is not set
> CONFIG_ARCH_HAS_EARLY_DEBUG=y
10745c10769
< # CONFIG_DEBUG_SHIRQ is not set
---
> CONFIG_DEBUG_SHIRQ=y
10811c10835
< # CONFIG_DEBUG_LIST is not set
---
> CONFIG_DEBUG_LIST=y
10865c10889
< # CONFIG_BOOTTIME_TRACING is not set
---
> CONFIG_BOOTTIME_TRACING=y
10889a10914
> CONFIG_PROBE_EVENTS_BTF_ARGS=y
10904c10929
< # CONFIG_RING_BUFFER_BENCHMARK is not set
---
> CONFIG_RING_BUFFER_BENCHMARK=m
10942c10967
< # CONFIG_X86_DECODER_SELFTEST is not set
---
> CONFIG_X86_DECODER_SELFTEST=y |
Do you see anything that might make the system hang after the initramfs is loaded (with a done message)? How much should I wait for the kernel to start?
Regards |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2183
|
Posted: Fri Oct 25, 2024 11:10 am Post subject: |
|
|
I wonder if it's the same problem I had booting off an SSD with the kernel.org stable. That was 6.11.4, which corresponds to longterm 6.6.57.
If it is, the next update, 6.6.58, should cure it, as 6.11.5 cured it for me. _________________ Greybeard |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Oct 25, 2024 11:12 am Post subject: |
|
|
I have created a initramfs file using dracut for the 6.6.57 kernel using
Code: | dracut initramfs-6.6.57.1-gentoo-dist.img 6.6.57-gentoo-dist |
The output of the command is as such:
Code: | dracut[I]: Executing: /usr/bin/dracut initramfs-6.6.57.1-gentoo-dist.img 6.6.57-gentoo-dist
dracut[I]: 90systemd-cryptsetup: Could not find any command of '/usr/lib/systemd/systemd-cryptsetup'!
dracut[I]: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut[I]: *** Including module: modsign ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: crypt ***
dracut[I]: *** Including module: dm ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: nvdimm ***
dracut[I]: *** Including module: pcmcia ***
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: qemu-net ***
dracut[I]: *** Including module: hwdb ***
dracut[I]: *** Including module: lunmask ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: Skipping program dmi_memory_id using in udev rule 70-memory.rules as it cannot be found
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing AuthenticAMD.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initramfs-6.6.57.1-gentoo-dist.img' ***
dracut[I]: Using auto-determined compression method 'zstd'
dracut[I]: *** Creating initramfs image file '/boot/initramfs-6.6.57.1-gentoo-dist.img' done *** |
The generated initramfs file size was different.
Code: | -rw-r--r-- 1 root root 30861122 Oct 24 19:32 initramfs-6.6.57-gentoo-dist.img
-rw------- 1 root root 30860942 Oct 25 13:50 initramfs-6.6.57.1-gentoo-dist.img |
But did not boot with that initramfs either.
Regards |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Oct 25, 2024 11:14 am Post subject: |
|
|
Goverp wrote: | I wonder if it's the same problem I had booting off an SSD with the kernel.org stable. That was 6.11.4, which corresponds to longterm 6.6.57.
If it is, the next update, 6.6.58, should cure it, as 6.11.5 cured it for me. |
Good to know. Thanks.
Can still use 6.6.51, and will stick with that then.
Regards |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Fri Oct 25, 2024 12:44 pm Post subject: |
|
|
Goverp wrote: | I wonder if it's the same problem I had booting off an SSD with the kernel.org stable. That was 6.11.4, which corresponds to longterm 6.6.57.
If it is, the next update, 6.6.58, should cure it, as 6.11.5 cured it for me. |
Hello Goverp.
I wanted to ask one more thing. I am going to install gentoo on a new x86-64 AMD device. Would the 6.6.57 kernel cause problems when installing? Not loading the kernel as it is the case with my old device.
Regards |
|
Back to top |
|
|
Nowa Developer
Joined: 25 Jun 2014 Posts: 434 Location: Nijmegen
|
Posted: Fri Oct 25, 2024 2:01 pm Post subject: |
|
|
Is dev-util/pahole installed? If not, then please try installing this package, and then re-installing gentoo-kernel-bin. _________________ OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400 |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2183
|
Posted: Fri Oct 25, 2024 6:35 pm Post subject: |
|
|
rzdndr wrote: | ... I wanted to ask one more thing. I am going to install gentoo on a new x86-64 AMD device. Would the 6.6.57 kernel cause problems when installing? Not loading the kernel as it is the case with my old device. ... |
The problem I found was, I guess, somewhere in the device enumeration for SSDs (not NVMe devices, as 6.11.4 worked on my desktop machine), since suddenly there was no /dev/sda, so I presume it would apply to any machine with root filesystem on an SSD.
You should be OK to install Gentoo on a new machine using the Gentoo installation or LiveGUI (or similar) disk, provided either that the installation medium uses a different kernel, or the new machine has something other than an SSD for its root filesystem. _________________ Greybeard |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Sat Oct 26, 2024 3:20 am Post subject: |
|
|
Nowa wrote: | Is dev-util/pahole installed? If not, then please try installing this package, and then re-installing gentoo-kernel-bin. |
This morning the system update had the pahole and kernel updates. Did these and still does not start the kernel (no scrolling messages). I do not know how much I should wait for the kernel to start (scrolling the messages), but I think it should not take 1 minute.
Regards
Last edited by rzdndr on Sat Oct 26, 2024 4:32 am; edited 2 times in total |
|
Back to top |
|
|
rzdndr Tux's lil' helper
Joined: 26 Jul 2024 Posts: 112
|
Posted: Sat Oct 26, 2024 3:24 am Post subject: |
|
|
Goverp wrote: | rzdndr wrote: | ... I wanted to ask one more thing. I am going to install gentoo on a new x86-64 AMD device. Would the 6.6.57 kernel cause problems when installing? Not loading the kernel as it is the case with my old device. ... |
The problem I found was, I guess, somewhere in the device enumeration for SSDs (not NVMe devices, as 6.11.4 worked on my desktop machine), since suddenly there was no /dev/sda, so I presume it would apply to any machine with root filesystem on an SSD.
You should be OK to install Gentoo on a new machine using the Gentoo installation or LiveGUI (or similar) disk, provided either that the installation medium uses a different kernel, or the new machine has something other than an SSD for its root filesystem. |
On my current hardware there are no SSD's. All are HDD's, And all are mapped as /dev/sda, /dev/sdb,
The new machine will have an NVMe, so that means it will/might work on the new hardware.
Regards. |
|
Back to top |
|
|
|