Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#74412 - [linux] [linux-zen] root partition not found
Attached to Project:
Arch Linux
Opened by John (graysky) - Friday, 08 April 2022, 22:56 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 09 April 2022, 01:16 GMT
Opened by John (graysky) - Friday, 08 April 2022, 22:56 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 09 April 2022, 01:16 GMT
|
DetailsBooting into linux-5.17.2.arch2-1 drops me into an emergency shell. Downgrading to linux-5.17.1.arch1-1 fixes this issue. Since the root partition is not mounted, I have no journalctl output to post.
Output on screen: Starting version 250.4-2-arch ERROR: device '/dev/nvme0n1p5' not found. Skipping fsck. mount /new_root: no filesystem type specified. You are now being dropped into an emergency shell. sh: can't access tty: job control turned off |
This task depends upon
FS#74411Did whatever generated the initrd not add the NVME module?Also, I believe nvme support is not modular in the kernel, no?
% zgrep -i nvme /proc/config.gz
# NVME Support
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_MULTIPATH=y
CONFIG_NVME_HWMON=y
CONFIG_NVME_FABRICS=m
CONFIG_NVME_RDMA=m
CONFIG_NVME_FC=m
CONFIG_NVME_TCP=m
CONFIG_NVME_TARGET=m
CONFIG_NVME_TARGET_PASSTHRU=y
CONFIG_NVME_TARGET_LOOP=m
CONFIG_NVME_TARGET_RDMA=m
CONFIG_NVME_TARGET_FC=m
CONFIG_NVME_TARGET_FCLOOP=m
CONFIG_NVME_TARGET_TCP=m
# end of NVME Support
CONFIG_RTC_NVMEM=y
CONFIG_NVMEM=y
CONFIG_NVMEM_SYSFS=y
CONFIG_NVMEM_RMEM=m
Perhaps the image is different?
From pacman.log:
[2022-04-08T18:47:49-0400] [ALPM] upgraded linux (5.17.1.arch1-1 -> 5.17.2.arch2-1)
[2022-04-08T18:47:49-0400] [ALPM] transaction completed
[2022-04-08T18:47:49-0400] [ALPM] running '30-systemd-update.hook'...
[2022-04-08T18:47:49-0400] [ALPM] running '60-depmod.hook'...
[2022-04-08T18:47:50-0400] [ALPM] running '90-mkinitcpio-install.hook'...
[2022-04-08T18:47:50-0400] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2022-04-08T18:47:50-0400] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2022-04-08T18:47:50-0400] [ALPM-SCRIPTLET] ==> Starting build: 5.17.2-arch2-1
[2022-04-08T18:47:50-0400] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-04-08T18:47:50-0400] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-04-08T18:47:50-0400] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2022-04-08T18:47:50-0400] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-04-08T18:47:50-0400] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-04-08T18:47:50-0400] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-04-08T18:47:51-0400] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-04-08T18:47:51-0400] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-04-08T18:47:51-0400] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-04-08T18:47:51-0400] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-04-08T18:47:51-0400] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
[2022-04-08T18:47:51-0400] [ALPM-SCRIPTLET] ==> Image generation successful
[1] https://github.com/archlinux/svntogit-packages/commit/0bbf02b31459152f9ca46984fb823537211031ca
[2] https://github.com/archlinux/svntogit-packages/blob/packages/linux/trunk/config#L2529
Perhaps a news item is needed before 5.17.2 goes into [core] or maybe something stronger like a check for nvme devices in the readme.install with a subsequent WARNING to stdout? Too much? I am also wondering which wiki page should be updated to reflect this... maybe https://wiki.archlinux.org/title/Installation_guide#Initramfs
My root device is nvme, here are my mkinitcpio HOOKS: HOOKS="base systemd autodetect modconf block sd-tpm2-totp sd-encrypt sd-vconsole keyboard filesystems"
From pacman.log:
[2022-04-13T23:56:20+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2022-04-13T23:56:20+0200] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2022-04-13T23:56:20+0200] [ALPM-SCRIPTLET] ==> Starting build: 5.17.2-arch3-1
[2022-04-13T23:56:20+0200] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-04-13T23:56:20+0200] [ALPM-SCRIPTLET] -> Running build hook: [systemd]
[2022-04-13T23:56:21+0200] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2022-04-13T23:56:21+0200] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-04-13T23:56:21+0200] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-04-13T23:56:21+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-04-13T23:56:21+0200] [ALPM-SCRIPTLET] -> Running build hook: [sd-tpm2-totp]
[2022-04-13T23:56:21+0200] [ALPM-SCRIPTLET] -> Running build hook: [sd-encrypt]
[2022-04-13T23:56:22+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qat_4xxx
[2022-04-13T23:56:22+0200] [ALPM-SCRIPTLET] -> Running build hook: [sd-vconsole]
[2022-04-13T23:56:22+0200] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-04-13T23:56:23+0200] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-04-13T23:56:23+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-04-13T23:56:23+0200] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
[2022-04-13T23:56:23+0200] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-04-13T23:56:23+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2022-04-13T23:56:23+0200] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2022-04-13T23:56:23+0200] [ALPM-SCRIPTLET] ==> Starting build: 5.17.2-arch3-1
[2022-04-13T23:56:23+0200] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-04-13T23:56:24+0200] [ALPM-SCRIPTLET] -> Running build hook: [systemd]
[2022-04-13T23:56:24+0200] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-04-13T23:56:24+0200] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-04-13T23:56:25+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2022-04-13T23:56:25+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
[2022-04-13T23:56:25+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qed
[2022-04-13T23:56:25+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qla1280
[2022-04-13T23:56:25+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qla2xxx
[2022-04-13T23:56:25+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2022-04-13T23:56:26+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-04-13T23:56:27+0200] [ALPM-SCRIPTLET] -> Running build hook: [sd-tpm2-totp]
[2022-04-13T23:56:27+0200] [ALPM-SCRIPTLET] -> Running build hook: [sd-encrypt]
[2022-04-13T23:56:27+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qat_4xxx
[2022-04-13T23:56:28+0200] [ALPM-SCRIPTLET] -> Running build hook: [sd-vconsole]
[2022-04-13T23:56:28+0200] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-04-13T23:56:29+0200] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-04-13T23:56:30+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-04-13T23:56:30+0200] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2022-04-13T23:56:30+0200] [ALPM-SCRIPTLET] ==> Image generation successful
When I get kicked to an emergency shell, I can see the nvme_core is loaded but my /dev/nvme* devices are all missing. Booting to the fallback image does not help either.
Thanks for the help here, folks.
Maybe something to check out.
FS#68021,FS#74271: Return nvme to a module" reverted. Adding them to the MODULES array doesn't work for me (they get embedded in the initramfs, and added to /etc/modules-load.d/MODULES.conf fine).My mkinitcpio.conf (minus comments) is below.
MODULES="nvme nvme_core vfat nvidia nvidia_drm nvidia_modeset nvidia_uvm"
BINARIES=""
FILES="/boot/luks/nvme-Samsung_SSD_950_PRO_256GB_S2GLNCAGA04283T.hdr"
HOOKS="base systemd autodetect modconf block sd-tpm2-totp sd-encrypt sd-vconsole keyboard filesystems"
COMPRESSION="zstd"
Edit: I solved the problem, it was user error. Removing quiet from my cmdline hinted at an invalid parameter value in /etc/modprobe.d.