-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With dracut 100, nvme kernel drivers are not included in hostonly mode #130
Comments
@dalto8 would have been great to try v60 but I see it is no longer available as the upgrade is from 059 --> 100. @dalto8 can you please share the log (dracut -v ...) You can also just temporary add the drivers and confirm that the workaround works - https://wiki.archlinux.org/title/Dracut CC @freswa |
Here is the log with dracut -v https://pastebin.mozilla.org/vbT0oBGO I suspect it will work if I add the driver manually since it is added when it isn't in hostonly mode but I will test it. If needed, I can build and test v60. EDIT: Using |
I see no change around the nvme driver (file changed but not the line) - https://github.com/dracut-ng/dracut-ng/blob/main/modules.d/90kernel-modules/module-setup.sh#L30 Can you confirm that kernel-modules dracut module itself is included ? |
This is in the logs:
Is there something else I should check? |
It isn't even reaching that line. It isn't entering this |
I built the Arch packages for 60-1 and 60-2.(The latter removes some patches). Both those versions include the nvme driver. Only when upgrading to 100 does it stop being included. |
@dalto8 Could you post your dracut config and the command you run dracut with please? |
Perhaps caused by this #36 ? |
The command is The config file is unchanged but I do have a drop in that has this in it.
I commented out
Let me revert that and test. |
If So, as a first action it would be great to check what's the output of |
I suspect it may be hard to identify all the cases that could cause this condition to occur but what about scenarios in which The reason it fails in my case is probably that the code has cases to handle finding the underlying block devices for zfs datasets and btrfs filesystems. However, if the mountpoint is mounted on something other than block device, that Instead of |
A debug log would help us to understand what is happening in your system, to add a proper fix. As I said, the revert also breaks another systems. You do not need to break you system, you can just modify the line, create |
Yes, I already reviewed the logs and analyzed the relevant code to determine the issue. That is where my description above came from. My mountpoints are not mounted on block devices. However, the prior fix skipped the entire remainder of the loop, not just adding that specific device. I created #155 that works for my situation and hopefully resolves the issue you were facing as well. |
Describe the bug
When building the initrd with
dracut --hostonly --no-hostonly-cmdline
nvme kernel drivers are not included even though there are nvme devices installed and used in the system. Downgrading to 059 includes these drivers.Distribution used
Arch Linux
Dracut version
100
Init system
systemd
Please let me know if I can provide any further information.
The text was updated successfully, but these errors were encountered: