You are not logged in.
Good afternoon.
The other day I ran `pacman -Syu` which failed as `zfs-linux-lts` required a version of `linux-lts` that doesn't exist in the repositories, (a regular occurrence), then ran `pacman -Syu --ignore linux-lts` which seemed to work fine.
Confusingly, the mkinitcpios were rebuilt, which I thought only happened when a new kernel version was installed.
This wouldn't usually be an issue, except now none of the internal sound devices on my laptop are detected, and the only external ones I have are microphones (and the Steinberg IXO12 doesn't appear to work as an output), so I'm left without audio. A little annoying, as I have a meeting today, and using stability on my work machine is the reason I'm using `-lts`.
The articles regarding downgrading specifically refer to downgrading packages, but I didn't install an upgrade, it seems that simply rebuilding the mkinitcpio caused the issue. How would I go about getting back to the working machine I had yesterday?
~ ⚡ ls -lash /boot/
total 121M
8.5K drwxr-xr-x 2 root root 6 Oct 1 23:38 .
8.5K drwxr-xr-x 17 root root 21 Jun 7 23:44 ..
83M -rw------- 1 root root 83M Oct 1 23:38 initramfs-linux-lts-fallback.img
19M -rw------- 1 root root 19M Oct 1 23:38 initramfs-linux-lts.img
7.7M -rw-r--r-- 1 root root 7.8M Sep 10 19:18 intel-ucode.img
13M -rw-r--r-- 1 root root 13M Jul 3 14:48 vmlinuz-linux-lts
~ ⚡ ls -lash /var/cache/pacman/pkg
...
4.5K -rw-r--r-- 1 root root 310 Sep 9 19:26 linux-firmware-whence-20240909.552ed9b8-1-any.pkg.tar.zst.sig
129M -rw-r--r-- 1 root root 129M May 26 16:06 linux-lts-6.6.32-1-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 May 26 16:06 linux-lts-6.6.32-1-x86_64.pkg.tar.zst.sig
129M -rw-r--r-- 1 root root 129M Jun 13 19:46 linux-lts-6.6.33-1-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 Jun 13 19:46 linux-lts-6.6.33-1-x86_64.pkg.tar.zst.sig
129M -rw-r--r-- 1 root root 129M Jun 17 15:00 linux-lts-6.6.34-1-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 Jun 17 15:01 linux-lts-6.6.34-1-x86_64.pkg.tar.zst.sig
129M -rw-r--r-- 1 root root 129M Jun 23 14:20 linux-lts-6.6.35-2-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 Jun 23 14:21 linux-lts-6.6.35-2-x86_64.pkg.tar.zst.sig
129M -rw-r--r-- 1 root root 129M Jun 29 11:26 linux-lts-6.6.36-1-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 Jun 29 11:27 linux-lts-6.6.36-1-x86_64.pkg.tar.zst.sig
19M -rw-r--r-- 1 root root 19M Jun 4 17:18 llvm-17.0.6-5-x86_64.pkg.tar.zst
...
4.5K -rw-r--r-- 1 root root 119 Sep 20 19:13 zeromq-4.3.5-2-x86_64.pkg.tar.zst.sig
2.4M -rw-r--r-- 1 root root 2.4M May 28 21:57 zfs-linux-lts-2.2.4_6.6.32.1-1-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 May 28 21:57 zfs-linux-lts-2.2.4_6.6.32.1-1-x86_64.pkg.tar.zst.sig
2.4M -rw-r--r-- 1 root root 2.4M Jun 17 02:11 zfs-linux-lts-2.2.4_6.6.33.1-1-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 Jun 17 02:11 zfs-linux-lts-2.2.4_6.6.33.1-1-x86_64.pkg.tar.zst.sig
2.4M -rw-r--r-- 1 root root 2.4M Jun 17 19:53 zfs-linux-lts-2.2.4_6.6.34.1-1-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 Jun 17 19:53 zfs-linux-lts-2.2.4_6.6.34.1-1-x86_64.pkg.tar.zst.sig
2.4M -rw-r--r-- 1 root root 2.4M Jun 24 14:40 zfs-linux-lts-2.2.4_6.6.35.2-1-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 Jun 24 14:40 zfs-linux-lts-2.2.4_6.6.35.2-1-x86_64.pkg.tar.zst.sig
2.4M -rw-r--r-- 1 root root 2.4M Jul 3 13:53 zfs-linux-lts-2.2.4_6.6.36.1-1-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 Jul 3 13:53 zfs-linux-lts-2.2.4_6.6.36.1-1-x86_64.pkg.tar.zst.sig
30M -rw-r--r-- 1 root root 30M May 9 19:23 zfs-utils-2.2.4-1-x86_64.pkg.tar.zst
4.5K -rw-r--r-- 1 root root 310 May 9 19:23 zfs-utils-2.2.4-1-x86_64.pkg.tar.zst.sig(The dates on the files, and not seeing `*linux*` in the `pacman` output when I was upgrading, are what leads me to believe I didn't experience a kernel upgrade)..
The laptop is a Lenovo Thinkpad X1 Carbon Gen 12, though not the version the wiki talks about, as this one does not have an OLED screen.
Last edited by asday (2024-10-03 06:36:16)
Offline
Merely rebuilding the initramfs wouldn't relate to the kernel, it's more likely one of the firmware packages (linux, sof or anything else) that got dragged into the initramfs w/ the regeneration. So I'd try to roll back those and rebuild the initramfs.
Confusingly, the mkinitcpios were rebuilt, which I thought only happened when a new kernel version was installed.
This happens whenever you or anything calls mkinitcpio… if it's not the firmware, you best probably post the tail of your pacman log as well as a system journal pre- and post the incident to compare the behavior.
Offline
Excellent information, thank you, I was labouring under a misapprehension.
~ ⚡ less /var/log/pacman.log
...
[2024-10-01T23:34:57+0100] [PACMAN] Running 'pacman -Syu'
[2024-10-01T23:34:57+0100] [PACMAN] synchronizing package lists
[2024-10-01T23:35:03+0100] [PACMAN] starting full system upgrade
[2024-10-01T23:35:14+0100] [PACMAN] Running 'pacman -Syu --ignore linux-lts'
[2024-10-01T23:35:14+0100] [PACMAN] synchronizing package lists
[2024-10-01T23:35:16+0100] [PACMAN] starting full system upgrade
[2024-10-01T23:38:18+0100] [ALPM] transaction started
[2024-10-01T23:38:18+0100] [ALPM] upgraded bash (5.2.032-2 -> 5.2.037-1)
[2024-10-01T23:38:18+0100] [ALPM] upgraded boost-libs (1.86.0-2 -> 1.86.0-3)
[2024-10-01T23:38:18+0100] [ALPM] upgraded ca-certificates-mozilla (3.104-1 -> 3.105-1)
[2024-10-01T23:38:18+0100] [ALPM] upgraded libarchive (3.7.5-1 -> 3.7.6-1)
[2024-10-01T23:38:18+0100] [ALPM] upgraded libuv (1.48.0-2 -> 1.49.0-1)
[2024-10-01T23:38:19+0100] [ALPM] upgraded cmake (3.30.3-2 -> 3.30.4-1)
[2024-10-01T23:38:19+0100] [ALPM] upgraded nss (3.104-1 -> 3.105-1)
[2024-10-01T23:38:19+0100] [ALPM] upgraded harfbuzz (9.0.0-1 -> 10.0.1-1)
[2024-10-01T23:38:19+0100] [ALPM] upgraded fribidi (1.0.15-1 -> 1.0.16-1)
[2024-10-01T23:38:19+0100] [ALPM] upgraded librsvg (2:2.59.0-1 -> 2:2.59.1-1)
[2024-10-01T23:38:19+0100] [ALPM] upgraded gtk-update-icon-cache (1:4.16.1-2 -> 1:4.16.2-2)
[2024-10-01T23:38:19+0100] [ALPM] upgraded discord (0.0.69-1 -> 0.0.70-1)
[2024-10-01T23:38:19+0100] [ALPM] upgraded libtool (2.5.2+r1+g2fe3a3e2-1 -> 2.5.3-1)
[2024-10-01T23:38:20+0100] [ALPM] upgraded docker (1:27.2.1-1 -> 1:27.3.1-1)
[2024-10-01T23:38:20+0100] [ALPM] upgraded qt6-translations (6.7.2-1 -> 6.7.3-1)
[2024-10-01T23:38:20+0100] [ALPM] upgraded qt6-base (6.7.2-2 -> 6.7.3-2)
[2024-10-01T23:38:21+0100] [ALPM] upgraded qt6-declarative (6.7.2-1 -> 6.7.3-2)
[2024-10-01T23:38:21+0100] [ALPM] upgraded qt6-wayland (6.7.2-4 -> 6.7.3-1)
[2024-10-01T23:38:21+0100] [ALPM] upgraded fcitx5-qt (5.1.6-5 -> 5.1.6-6)
[2024-10-01T23:38:21+0100] [ALPM] upgraded libopenmpt (0.7.9-1 -> 0.7.10-1)
[2024-10-01T23:38:21+0100] [ALPM] upgraded snappy (1.1.10-1 -> 1.2.1-2)
[2024-10-01T23:38:21+0100] [ALPM] upgraded firefox (130.0.1-1 -> 131.0-1)
[2024-10-01T23:38:21+0100] [ALPM] upgraded gdb-common (15.1-1 -> 15.2-1)
[2024-10-01T23:38:21+0100] [ALPM] upgraded gdb (15.1-1 -> 15.2-1)
[2024-10-01T23:38:21+0100] [ALPM] upgraded git (2.46.1-1 -> 2.46.2-1)
[2024-10-01T23:38:22+0100] [ALPM] upgraded netpbm (10.86.42-1 -> 10.86.43-1)
[2024-10-01T23:38:22+0100] [ALPM] upgraded graphviz (12.1.1-1 -> 12.1.2-1)
[2024-10-01T23:38:22+0100] [ALPM] upgraded gtk4 (1:4.16.1-2 -> 1:4.16.2-2)
[2024-10-01T23:38:22+0100] [ALPM] upgraded harfbuzz-icu (9.0.0-1 -> 10.0.1-1)
[2024-10-01T23:38:22+0100] [ALPM] upgraded hugo (0.134.3-1 -> 0.135.0-1)
[2024-10-01T23:38:22+0100] [ALPM] upgraded hwloc (2.11.1-1 -> 2.11.2-1)
[2024-10-01T23:38:22+0100] [ALPM] upgraded kitty-terminfo (0.36.2-1 -> 0.36.4-1)
[2024-10-01T23:38:22+0100] [ALPM] upgraded kitty-shell-integration (0.36.2-1 -> 0.36.4-1)
[2024-10-01T23:38:22+0100] [ALPM] upgraded kitty (0.36.2-1 -> 0.36.4-1)
[2024-10-01T23:38:23+0100] [ALPM] upgraded krita (5.2.5-2 -> 5.2.6-1)
[2024-10-01T23:38:23+0100] [ALPM] upgraded libcamera-ipa (0.3.1-2 -> 0.3.2-1)
[2024-10-01T23:38:23+0100] [ALPM] upgraded libcamera (0.3.1-2 -> 0.3.2-1)
[2024-10-01T23:38:23+0100] [ALPM] upgraded libpipewire (1:1.2.4-1 -> 1:1.2.5-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded libreoffice-fresh (24.8.1-2 -> 24.8.2-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded pipewire (1:1.2.4-1 -> 1:1.2.5-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded protobuf (28.1-1 -> 28.2-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded python-botocore (1.35.16-1 -> 1.35.23-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded python-boto3 (1.35.16-1 -> 1.35.23-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded python-platformdirs (4.2.2-1 -> 4.3.6-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded python-protobuf (28.1-1 -> 28.2-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded python-pyqt6 (6.7.1-1 -> 6.7.1-2)
[2024-10-01T23:38:25+0100] [ALPM] upgraded python-starlette (0.39.0-1 -> 0.39.2-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded qt6-shadertools (6.7.2-1 -> 6.7.3-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded qt6-5compat (6.7.2-1 -> 6.7.3-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded qt6-positioning (6.7.2-1 -> 6.7.3-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded qt6-scxml (6.7.2-1 -> 6.7.3-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded qt6-svg (6.7.2-1 -> 6.7.3-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded qt6-tools (6.7.2-2 -> 6.7.3-1)
[2024-10-01T23:38:25+0100] [ALPM] upgraded qt6-webchannel (6.7.2-1 -> 6.7.3-1)
[2024-10-01T23:38:26+0100] [ALPM] upgraded qt6-webengine (6.7.2-3 -> 6.7.3-1)
[2024-10-01T23:38:26+0100] [ALPM] upgraded sof-firmware (2024.06-1 -> 2024.09-1)
[2024-10-01T23:38:26+0100] [ALPM] upgraded webkit2gtk (2.46.0-2 -> 2.46.1-1)
[2024-10-01T23:38:27+0100] [ALPM] upgraded webkit2gtk-4.1 (2.46.0-2 -> 2.46.1-1)
[2024-10-01T23:38:27+0100] [ALPM] upgraded yt-dlp (2024.08.06-1 -> 2024.09.27-1)
[2024-10-01T23:38:27+0100] [ALPM] transaction completed
[2024-10-01T23:38:28+0100] [ALPM] running '20-systemd-sysusers.hook'...
[2024-10-01T23:38:28+0100] [ALPM] running '30-systemd-daemon-reload-system.hook'...
[2024-10-01T23:38:28+0100] [ALPM] running '30-systemd-daemon-reload-user.hook'...
[2024-10-01T23:38:28+0100] [ALPM] running '30-systemd-udev-reload.hook'...
[2024-10-01T23:38:28+0100] [ALPM] running '30-systemd-update.hook'...
[2024-10-01T23:38:29+0100] [ALPM] running '30-update-mime-database.hook'...
[2024-10-01T23:38:29+0100] [ALPM] running '40-update-ca-trust.hook'...
[2024-10-01T23:38:30+0100] [ALPM] running '90-mkinitcpio-install.hook'...
[2024-10-01T23:38:30+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
[2024-10-01T23:38:30+0100] [ALPM-SCRIPTLET] ==> Using default configuration file: '/etc/mkinitcpio.conf'
[2024-10-01T23:38:30+0100] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts.img
[2024-10-01T23:38:30+0100] [ALPM-SCRIPTLET] ==> Starting build: '6.6.36-1-lts'
[2024-10-01T23:38:30+0100] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2024-10-01T23:38:30+0100] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2024-10-01T23:38:31+0100] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2024-10-01T23:38:31+0100] [ALPM-SCRIPTLET] -> Running build hook: [microcode]
[2024-10-01T23:38:31+0100] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2024-10-01T23:38:31+0100] [ALPM-SCRIPTLET] -> Running build hook: [kms]
[2024-10-01T23:38:32+0100] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2024-10-01T23:38:32+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2024-10-01T23:38:32+0100] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2024-10-01T23:38:32+0100] [ALPM-SCRIPTLET] -> Running build hook: [consolefont]
[2024-10-01T23:38:32+0100] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2024-10-01T23:38:32+0100] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2024-10-01T23:38:33+0100] [ALPM-SCRIPTLET] -> Running build hook: [zfs]
[2024-10-01T23:38:33+0100] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2024-10-01T23:38:33+0100] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2024-10-01T23:38:33+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2024-10-01T23:38:33+0100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img'
[2024-10-01T23:38:33+0100] [ALPM-SCRIPTLET] -> Early uncompressed CPIO image generation successful
[2024-10-01T23:38:34+0100] [ALPM-SCRIPTLET] ==> Initcpio image generation successful
[2024-10-01T23:38:34+0100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
[2024-10-01T23:38:34+0100] [ALPM-SCRIPTLET] ==> Using default configuration file: '/etc/mkinitcpio.conf'
[2024-10-01T23:38:34+0100] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts-fallback.img -S autodetect
[2024-10-01T23:38:34+0100] [ALPM-SCRIPTLET] ==> Starting build: '6.6.36-1-lts'
[2024-10-01T23:38:34+0100] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2024-10-01T23:38:34+0100] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2024-10-01T23:38:34+0100] [ALPM-SCRIPTLET] -> Running build hook: [microcode]
[2024-10-01T23:38:34+0100] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2024-10-01T23:38:34+0100] [ALPM-SCRIPTLET] -> Running build hook: [kms]
[2024-10-01T23:38:38+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'ast'
[2024-10-01T23:38:42+0100] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2024-10-01T23:38:42+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2024-10-01T23:38:43+0100] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2024-10-01T23:38:43+0100] [ALPM-SCRIPTLET] -> Running build hook: [consolefont]
[2024-10-01T23:38:43+0100] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2024-10-01T23:38:43+0100] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2024-10-01T23:38:44+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla1280'
[2024-10-01T23:38:44+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qed'
[2024-10-01T23:38:44+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'wd719x'
[2024-10-01T23:38:44+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'bfa'
[2024-10-01T23:38:44+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla2xxx'
[2024-10-01T23:38:44+0100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'aic94xx'
[2024-10-01T23:38:47+0100] [ALPM-SCRIPTLET] -> Running build hook: [zfs]
[2024-10-01T23:38:47+0100] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2024-10-01T23:38:48+0100] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2024-10-01T23:38:50+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2024-10-01T23:38:51+0100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts-fallback.img'
[2024-10-01T23:38:52+0100] [ALPM-SCRIPTLET] -> Early uncompressed CPIO image generation successful
[2024-10-01T23:38:52+0100] [ALPM-SCRIPTLET] ==> Initcpio image generation successful
[2024-10-01T23:38:52+0100] [ALPM] running 'detect-old-perl-modules.hook'...
[2024-10-01T23:38:52+0100] [ALPM] running 'gdk-pixbuf-query-loaders.hook'...
[2024-10-01T23:38:52+0100] [ALPM] running 'glib-compile-schemas.hook'...
[2024-10-01T23:38:52+0100] [ALPM] running 'gtk-update-icon-cache.hook'...
[2024-10-01T23:38:53+0100] [ALPM] running 'gtk4-querymodules.hook'...
[2024-10-01T23:38:53+0100] [ALPM] running 'texinfo-install.hook'...
[2024-10-01T23:38:53+0100] [ALPM] running 'update-desktop-database.hook'...I see pipewire, libpipewire, and sof-firmware in there - you reckon rolling back just sof-firmware would do the trick?
What exactly in `journalctl` would you like to see? It's absolutely huge and filled with stuff I imagine is irrelevant.
Offline
you reckon rolling back just sof-firmware would do the trick?
There's at least a good chance.
What exactly in `journalctl` would you like to see?
Problems - you're essentially looking for 1. why the audio chip fails and 2. how that's different from the status quo ante.
In doubt
sudo journalctl -b | curl -F 'file=@-' 0x0.st
sudo journalctl -b -5 | curl -F 'file=@-' 0x0.st will upload the journals for the current boot an the one 5 boots ago.
You then gotta put on a big boy viewer to wade through that ![]()
Offline
It've not managed to get very far, `mkinitcpio` is now hanging at the autodetect build hook.
pkg ⚡ sudo pacman -U file://sof-firmware-2024.06-1-x86_64.pkg.tar.zst
loading packages...
warning: downgrading package sof-firmware (2024.09-1 => 2024.06-1)
resolving dependencies...
looking for conflicting packages...
Packages (1) sof-firmware-2024.06-1
Total Installed Size: 30.43 MiB
Net Upgrade Size: -1.44 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##############################################################################] 100%
(1/1) checking package integrity [##############################################################################] 100%
(1/1) loading package files [##############################################################################] 100%
(1/1) checking for file conflicts [##############################################################################] 100%
(1/1) checking available disk space [##############################################################################] 100%
:: Processing package changes...
(1/1) downgrading sof-firmware [##############################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts.img
==> Starting build: '6.6.36-1-lts'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]Similar symptoms to https://bbs.archlinux.org/viewtopic.php?id=298732 (in which you also replied, seth), but I don't have `strace` or `lsusb`, and `pacman` is currently hung on `mkinitcpio` to complete, nor did I plug or unplug any USB devices at any point during installation last time.
In a desperate bid, I've grabbed a webcam I have on hand and tried plugging and unplugging it, and also plugged in and unplugged some headphones (the laptop removes the speakers device and adds a headphones device when you insert something into the 3.5mm jack, and vice versa when unplugging), just in case that helped move the process along, but it's still hung.
~ ⚡ pacmd list-sinks | grep index -A1
* index: 0
name: <auto_null>
~ ⚡ pacmd list-sinks | grep index -A1
* index: 0
name: <auto_null>
~ ⚡ ~ ⚡ uevents="$(LC_ALL=C.UTF-8 find /sys/devices -name uevent -exec sort -u {} +)"
^C---
E:
~ ⚡ find /sys/devices -name uevent >/tmp/uevents-data
~ ⚡ while read fname; do echo "=== $fname ==="; sort -u "$fname"; done < <(cat /tmp/uevents-data)=== /sys/devices/isa/uevent ===
...
=== /sys/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/uevent ===
^[[6~^[[6~~ ⚡ lspci -k
...
00:1f.3 Audio device: Intel Corporation Meteor Lake-P HD Audio Controller (rev 20)
Subsystem: Lenovo Device 231e
Kernel driver in use: sof-audio-pci-intel-mtl
Kernel modules: snd_hda_intel, snd_sof_pci_intel_mtlThat certainly is the device with which I'm having issues, but I can't unplug it. Not without a soldering iron.
Last edited by asday (2024-10-02 10:16:37)
Offline
Sanity check :
You did reboot after installing the updates ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Yes, it only broke after the reboot. I recall the first boot taking a LONG time and being disappointed with that. I discovered my sound was no longer working, then reboot again. The shutdown took literally forever, systemd gave up waiting and kill -9'd a bunch of udev (`udev-probe`?) processes, which also didn't work, so I had to hold the proverbial pillow over the laptop's face. The boot after that (this one) it was back up to normal speeds, but the issue remains, presumably because the new `sof-firmware` is bobbins.
Offline
If you've not done this yet, kill the mkinitcpio process. DO NOT REBOOT!
Edit /usr/lib/initcpio/install/autodetect
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
build() {
set -x # add this line
local m=''
…
set +x # and this line
}then re-run mkinitcpio to trace where it stalls.
Offline
I would love to, but it's not listening to `^C` nor does a `kill -9` do anything to it. Judging from the conversation in the other thread, it's in "disk sleep" and is now impervious to damage from all attacks.
I have not rebooted.
Offline
Can still you
ps fax | curl -F 'file=@-' 0x0.st?
Also check dmesg for IO errors.
Offline
I didn't see anything error-y in `dmesg`. I was going to give you the output of `ps fax` but a scroll through showed sensitive information that I was going to blot, but it was late and I was tired, so I went to bed. The only thing I changed was closing the laptop lid.
I just got back to it this morning and it had completely frozen. Fn+Space still changed the keyboard backlight levels, but the mouse cursor wasn't moving, no i3 shortcuts did anything, Ctrl+Alt+F2 didn't take me to the other tty, nothing. I held the pillow over its face again and started it back up... And everything's working perfectly now. (Well, as perfectly as it was before).
~ ⚡ pacman -Q sof-firmware
sof-firmware 2024.06-1The faulty version was 2024.09-1.
I don't know what happened. I do know to ignore sof-firmware when updating from now on though.
Thank you very much for your help, seth. You appear to be a treasure to the Arch community.
Offline