View previous topic :: View next topic |
Author |
Message |
Cheyenne n00b
Joined: 05 Jan 2005 Posts: 33
|
Posted: Tue Mar 05, 2024 3:53 pm Post subject: GRUB can probe NVME, but occasionally the Linux kernel can't |
|
|
This is an intermittent problem, happens on a couple of my systems with NVME drives (both efi and non-efi based systems).
Every now and then if I do a reboot, I will get the grub menu, the system will boot into the kernel, but then the kernel either hangs or fails to find the nvme drive(s). I need to do a full power-off instead of the reboot to get past this.
Any ideas?
EDIT:
The system hangs if the root volume is on the NVME, otherwise it just fails to see the NVME drive while coming up. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5377 Location: Bavaria
|
|
Back to top |
|
|
Cheyenne n00b
Joined: 05 Jan 2005 Posts: 33
|
Posted: Tue Mar 05, 2024 6:37 pm Post subject: |
|
|
I don't think I have fastboot enabled, but will need to double check on the next boot of the system(s). |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Tue Mar 05, 2024 7:17 pm Post subject: |
|
|
You are using UUIDs? Because nvme drives, like sata/usb drives, don't have fixed device names.
If you can reproduce it on a Live CD, or get into Initramfs / rescue shell, check dmesg, lspci, /proc/partitions if there's anything. |
|
Back to top |
|
|
Cheyenne n00b
Joined: 05 Jan 2005 Posts: 33
|
Posted: Wed Mar 06, 2024 12:09 am Post subject: |
|
|
frostschutz wrote: | You are using UUIDs? Because nvme drives, like sata/usb drives, don't have fixed device names.
If you can reproduce it on a Live CD, or get into Initramfs / rescue shell, check dmesg, lspci, /proc/partitions if there's anything. |
The problem isn't with device names (I crossed that path ages ago
It's just that the device itself isn't showing up.
When it's the root device, somtimes the kernel hangs immediately (no output on loglevel=7 earlyprintk=vga), other times it gets to the point that it says it can't find a block device. If it's not the root device the system will boot up, but the nvme is not even in /dev. If I do a restart, it still doesn't show, if I do a power-off, count to 5 power-on it appears. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2695
|
Posted: Wed Mar 06, 2024 6:55 am Post subject: |
|
|
Sounds like a hardware issue. Anything interesting in the smart data of the disk?
Best Regards,
Georgi |
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 513 Location: San Diego, California USA
|
Posted: Wed Mar 06, 2024 6:43 pm Post subject: |
|
|
I definitely had this problem on some early 6.6.x kernels. Not sure which kernel version you are trying. The issue is that they changed the NVME drive initialization to be more asynchronous and I would run into this problem. I haven't noticed the issue on 6.7.x kernels.
Maybe try adding the "rootwait" parameter to the kernel command-line. |
|
Back to top |
|
|
Cheyenne n00b
Joined: 05 Jan 2005 Posts: 33
|
Posted: Thu Mar 07, 2024 3:17 am Post subject: |
|
|
gentoo_ram wrote: | I definitely had this problem on some early 6.6.x kernels. Not sure which kernel version you are trying. The issue is that they changed the NVME drive initialization to be more asynchronous and I would run into this problem. I haven't noticed the issue on 6.7.x kernels.
Maybe try adding the "rootwait" parameter to the kernel command-line. |
That could very well be it.. All my systems are on a 6.6.x kernel |
|
Back to top |
|
|
|