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#78308 - [device-mapper][lvm2] 2.03.21-1 boot failure, stalls on mounting root device
Attached to Project:
Arch Linux
Opened by chris (robzombie91) - Wednesday, 26 April 2023, 11:11 GMT
Last edited by Toolybird (Toolybird) - Thursday, 27 April 2023, 21:01 GMT
Opened by chris (robzombie91) - Wednesday, 26 April 2023, 11:11 GMT
Last edited by Toolybird (Toolybird) - Thursday, 27 April 2023, 21:01 GMT
|
DetailsDescription: Upgraded packages which installed Device-mapper-2.03.21-1 and lvm2-2.03.21-1. After rebooting when it was going through startup it hands on mounting my root device and goes into emergency mode with no keyboard input. Only way to fix it was to go into fallback and downgrade both packages to the previous version
Additional info: * both are 2.03.21-1 Steps to reproduce: 1. Run pacman -Syu 2. install all packages 3. reboot 4. fail to boot into arch linux 5. restart and go into fallback mode 6. downgrade packages via pacman -U /var/cache/pacman/*.* starting with lvm2 since device-mapper requires it as a dependency 7. reboot into normal instance |
This task depends upon
Closed by Toolybird (Toolybird)
Thursday, 27 April 2023, 21:01 GMT
Reason for closing: Not a bug
Additional comments about closing: "Must have been a fluke or wierd bug since it worked fine now after i rebuilt using mkinitcpio -p linux-zen or there was a package that was updated alongside it that fixed the issue"
Thursday, 27 April 2023, 21:01 GMT
Reason for closing: Not a bug
Additional comments about closing: "Must have been a fluke or wierd bug since it worked fine now after i rebuilt using mkinitcpio -p linux-zen or there was a package that was updated alongside it that fixed the issue"
- what kind of initramfs (mkinitcpio, dracut, booster)?
- how is the initramfs configured, what hooks, etc?
- root volume details/setup/luks?
- bootloader used?
- hardware details, bios/uefi, etc, etc?
For booting issues like this, it is recommended to visit the support channels (forum/IRC/mailing lists/Reddit/etc) as your first port of call to seek help in debugging. If an Arch packaging bug is identified, *then* file a bug report here with as much detail as possible.
2. ==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img --microcode /boot/amd-ucode.img
==> Starting build: '6.2.12-zen1-1-zen'
-> Running build hook: [base]
-> Running build hook: [systemd]
-> Running build hook: [autodetect]
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [sd-vconsole]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-zen.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Starting build: '6.2.12-zen1-1-zen'
-> Running build hook: [base]
-> Running build hook: [systemd]
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [sd-vconsole]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-zen-fallback.img'
==> Image generation successful
3. # /dev/nvme1n1p2
UUID=a931209a-b0cd-4978-ab65-dc2edc4d47aa / ext4 rw,relatime 0 1
# /dev/nvme1n1p1
UUID=1525-35D1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
LABEL=OTHER /mnt/OTHER auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=othernvme /mnt/othernvme auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=GAMEZ /mnt/GAMEZ auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=123 /mnt/123 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=otherinternalhdd /mnt/otherinternalhdd auto nosuid,nodev,nofail,x-gvfs-show 0 0
4. systemd bootctl
5. amd ryzen 5 5700x, rx 6700xt, samsung 1tb ssd boot drive, uefi security disabled
# lsblk -fp
Please can you also do the following:
- update again to the latest device-mapper and lvm2 pkgs
- immediately afterwards, rebuild your initramfs (just for good measure e.g. sudo mkinitcpio -p linux-zen)
- post the output of: lsinitcpio -c /boot/initramfs-linux-zen.img | sed 's/#.*$//;/^$/d'
- also post the output of: lsinitcpio -a /boot/initramfs-linux-zen.img
- then reboot to confirm it still fails.
Additionally, what kernel parameters are you passing to the kernel via the bootloader?
2. I loose control of my keyboard after it reboots so i cant type anything into the emergency prompt. I have to reboot into fallback mode to get anything