Arch Linux

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!
Tasklist

FS#70088 - linux 5.11.7: fails to boot /lib/modules/5.11.7-arch1-1/modules.devname not found

Attached to Project: Arch Linux
Opened by Henrik Grimler (Grimler) - Saturday, 20 March 2021, 11:45 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 20 March 2021, 12:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After `pacman -Syu` on 2021-03-19 arch does not boot.

I am getting:

```
Warning: /lib/modules/5.11.7-arch1-1/modules.devname not found
Starting version 247.4-2-arch
/dev/sdb2: clean: 1470274/9830400 files, 36851146/39321600 blocks
mount /new_root: unknown filesystem type 'ext4'.
You are now being dropped into an emergency shell.
sh: can't access tty: job control turned off
[rootfs ]#
```

During pacman -Syu I had to specify that dbus-python should replace python2-dbus. Checking the pacman log from a live usb I see that module compilation/installation seem to have failed (full log attached):

```
[...]
[2021-03-19T22:40:39+0100] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> ERROR: module not found: `usbhid'
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> WARNING: No modules were added to the image. This is probably not what you want.
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> Starting build: 5.11.7-arch1-1
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> ERROR: module not found: `nvme_rdma'
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> ERROR: module not found: `nvme_fabrics'
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> ERROR: module not found: `nvme_tcp'
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> ERROR: module not found: `nvme_fc'
[2021-03-19T22:40:40+0100] [ALPM-SCRIPTLET] ==> ERROR: module not found: `nvmet_tcp'
[...]
```


Additional info:

By downgrading linux and linux-headers to 5.11.6 I no longer get the "Warning: /lib/modules/5.11.7-arch1-1/modules.devname not found" message, but system still does not boot, I guess I need to downgrade more things, or re-compile the kernel modules(?). I am currently looking into that, any hints are appreciated.

Steps to reproduce:
Run pacman -Syu, thereby upgrading linux 5.11.6 -> 5.11.7.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 20 March 2021, 12:51 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Use the forums, IRC, or mailing lists for support issues
Comment by Henrik Grimler (Grimler) - Saturday, 20 March 2021, 11:57 GMT
When booting into the live usb I get these errors in journalctl, maybe it is related as well?

Mar 20 12:10:32 archiso audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journal-catalog-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 20 12:10:32 archiso kernel: b43-phy0: Broadcom 4360 WLAN found (core revision 42)
Mar 20 12:10:32 archiso kernel: b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 12, Type 11 (AC), Revision 1)
Mar 20 12:10:32 archiso kernel: b43: probe of bcma0:1 failed with error -95
Mar 20 12:10:32 archiso kernel: Broadcom 43xx driver loaded [ Features: PNLS ]
Mar 20 12:10:32 archiso kernel: intel_rapl_common: Found RAPL domain package
Mar 20 12:10:32 archiso kernel: intel_rapl_common: Found RAPL domain core
Mar 20 12:10:32 archiso kernel: intel_rapl_common: Found RAPL domain dram
Mar 20 12:10:32 archiso kernel: snd_hda_intel 0000:01:00.1: Disabling MSI
Mar 20 12:10:32 archiso kernel: snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
Mar 20 12:10:32 archiso kernel: SQUASHFS error: xz decompression failed, data probably corrupt
Mar 20 12:10:32 archiso kernel: SQUASHFS error: Failed to read block 0x115f23fa: -5
Mar 20 12:10:32 archiso kernel: SQUASHFS error: Unable to read fragment cache entry [115f23fa]
Mar 20 12:10:32 archiso kernel: SQUASHFS error: Unable to read page, block 115f23fa, size 508ec
Mar 20 12:10:32 archiso kernel: SQUASHFS error: Unable to read fragment cache entry [115f23fa]
Mar 20 12:10:32 archiso kernel: SQUASHFS error: Unable to read page, block 115f23fa, size 508ec
Mar 20 12:10:32 archiso kernel: SQUASHFS error: Unable to read fragment cache entry [115f23fa]
Mar 20 12:10:32 archiso kernel: SQUASHFS error: Unable to read page, block 115f23fa, size 508ec
[...]
Mar 20 12:10:33 archiso audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-426-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 20 12:10:33 archiso kernel: SQUASHFS error: xz decompression failed, data probably corrupt
Mar 20 12:10:33 archiso kernel: SQUASHFS error: Failed to read block 0x115f23fa: -5
Mar 20 12:10:33 archiso kernel: SQUASHFS error: Unable to read fragment cache entry [115f23fa]
Mar 20 12:10:33 archiso kernel: SQUASHFS error: Unable to read page, block 115f23fa, size 508ec
Mar 20 12:10:33 archiso kernel: SQUASHFS error: Unable to read fragment cache entry [115f23fa]
Mar 20 12:10:33 archiso kernel: SQUASHFS error: Unable to read page, block 115f23fa, size 508ec
Mar 20 12:10:33 archiso systemd-coredump[430]: Process 403 (ldconfig) of user 0 dumped core.


Stack trace of thread 403:
#0 0x00007fcf7a23aa1d n/a (/usr/bin/ldconfig + 0xfa1d)
#1 0x00007fcf7a236366 n/a (/usr/bin/ldconfig + 0xb366)
#2 0x00007fcf7a234f18 n/a (/usr/bin/ldconfig + 0x9f18)
#3 0x00007fcf7a23d6c0 n/a (/usr/bin/ldconfig + 0x126c0)
#4 0x00007fcf7a23520e n/a (/usr/bin/ldconfig + 0xa20e)
░░ Subject: Process 403 (ldconfig) dumped core
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ Documentation: man:core(5)
░░
░░ Process 403 (ldconfig) crashed and dumped core.
░░
░░ This usually indicates a programming error in the crashing program and
░░ should be reported to its vendor as a bug.
Mar 20 12:10:33 archiso systemd[1]: ldconfig.service: Main process exited, code=dumped, status=7/BUS
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit ldconfig.service has exited.
░░
░░ The process' exit code is 'dumped' and its exit status is 7.
[...]

Despite these errors the live usb seem to work, and I can chroot into my non-booting system and run commands without issues.
Full log from live usb is attached.
Comment by Henrik Grimler (Grimler) - Saturday, 20 March 2021, 12:13 GMT
After downgrading linux-firmware to 20210208 as well, and then running pacman -Syu I have a working system again. The update updated:

linux 5.11.6-arch1-1 -> 5.11.7-arch-1
linux-firmware 20210208.b79d239-1 -> 20210315.3568f96-1
linux-headers 5.11.6.arch1-1 -> 5.11.7.arch1-1
sqlite 3.35.2-1 -> 3.35.2-2

I guess sqlite and linux version had to be updated together. I updated sqlite separately yesterday to solve https://bugs.archlinux.org/task/69990.

Loading...