You are not logged in.
Hello,
I've recently been having troubles with my arch install after running pacman -Syu which upgraded my kernel from arch 6.9.9.arch1-1 to 6.9.10.arch1-1 (I updated linux-headers along with it). After I upgraded, I get the following in my log from the post install
[2024-07-20T15:43:01-0700] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2024-07-20T15:43:01-0700] [ALPM-SCRIPTLET] ==> Using default configuration file: '/etc/mkinitcpio.conf'
[2024-07-20T15:43:01-0700] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
[2024-07-20T15:43:01-0700] [ALPM-SCRIPTLET] ==> Starting build: '6.9.10-arch1-1'
[2024-07-20T15:43:01-0700] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2024-07-20T15:43:01-0700] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2024-07-20T15:43:01-0700] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2024-07-20T15:43:01-0700] [ALPM-SCRIPTLET] -> Running build hook: [microcode]
[2024-07-20T15:43:01-0700] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2024-07-20T15:43:01-0700] [ALPM-SCRIPTLET] -> Running build hook: [kms]
[2024-07-20T15:43:04-0700] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2024-07-20T15:43:04-0700] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2024-07-20T15:43:04-0700] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2024-07-20T15:43:04-0700] [ALPM-SCRIPTLET] -> Running build hook: [consolefont]
[2024-07-20T15:43:04-0700] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2024-07-20T15:43:04-0700] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2024-07-20T15:43:05-0700] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2024-07-20T15:43:05-0700] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2024-07-20T15:43:05-0700] [ALPM-SCRIPTLET] ==> ERROR: module not found: 'nvidia'
[2024-07-20T15:43:05-0700] [ALPM-SCRIPTLET] ==> ERROR: module not found: 'nvidia_modeset'
[2024-07-20T15:43:05-0700] [ALPM-SCRIPTLET] ==> ERROR: module not found: 'nvidia_uvm'
[2024-07-20T15:43:05-0700] [ALPM-SCRIPTLET] ==> ERROR: module not found: 'nvidia_drm'
[2024-07-20T15:43:05-0700] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2024-07-20T15:43:05-0700] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
[2024-07-20T15:43:06-0700] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.
[2024-07-20T15:43:06-0700] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2024-07-20T15:43:06-0700] [ALPM-SCRIPTLET] ==> Using default configuration file: '/etc/mkinitcpio.conf'
[2024-07-20T15:43:06-0700] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
[2024-07-20T15:43:06-0700] [ALPM-SCRIPTLET] ==> Starting build: '6.9.10-arch1-1'
[2024-07-20T15:43:06-0700] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2024-07-20T15:43:06-0700] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2024-07-20T15:43:07-0700] [ALPM-SCRIPTLET] -> Running build hook: [microcode]
[2024-07-20T15:43:07-0700] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2024-07-20T15:43:07-0700] [ALPM-SCRIPTLET] -> Running build hook: [kms]
[2024-07-20T15:43:09-0700] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'ast'
[2024-07-20T15:43:13-0700] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2024-07-20T15:43:13-0700] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2024-07-20T15:43:14-0700] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2024-07-20T15:43:14-0700] [ALPM-SCRIPTLET] -> Running build hook: [consolefont]
[2024-07-20T15:43:14-0700] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2024-07-20T15:43:14-0700] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2024-07-20T15:43:14-0700] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'aic94xx'
[2024-07-20T15:43:14-0700] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'bfa'
[2024-07-20T15:43:15-0700] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qed'
[2024-07-20T15:43:15-0700] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla1280'
[2024-07-20T15:43:15-0700] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla2xxx'
[2024-07-20T15:43:15-0700] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'wd719x'
[2024-07-20T15:43:16-0700] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2024-07-20T15:43:17-0700] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2024-07-20T15:43:17-0700] [ALPM-SCRIPTLET] ==> ERROR: module not found: 'nvidia'
[2024-07-20T15:43:17-0700] [ALPM-SCRIPTLET] ==> ERROR: module not found: 'nvidia_modeset'
[2024-07-20T15:43:17-0700] [ALPM-SCRIPTLET] ==> ERROR: module not found: 'nvidia_uvm'
[2024-07-20T15:43:17-0700] [ALPM-SCRIPTLET] ==> ERROR: module not found: 'nvidia_drm'
[2024-07-20T15:43:19-0700] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2024-07-20T15:43:19-0700] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
[2024-07-20T15:43:21-0700] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.After a reboot, my system would have a black screen and a blinking cursor. Later on, I downgraded back to 6.9.9, ran mkinitcpio -p linux with no problems, rebooted my system, and was greeted with an unresponsive emergency shell screen. (boot logs says failed to mount /boot because of a vfat error)
My mkinitcpio version is 39.2-2 if that helps.
Any tips to fix this would be greatly appreciated
Last edited by Artrix (2024-08-05 20:16:21)
Offline
What module package do you have installed?
Offline
I believe it’s 550 or 555, i’ll double check this in the morning.
Offline
This is my output for pacman -Qi nvidia and nvidia-utils
Name : nvidia-dev-tkg
Version : 550.40.65-254
Description : Full NVIDIA drivers' package for all kernels on the system (drivers and shared utilities and libraries)
Architecture : x86_64
URL : http://www.nvidia.com/
Licenses : custom:NVIDIA
Groups : None
Provides : nvidia=550.40.65 nvidia-tkg>=550.40.65
Depends On : nvidia-utils-tkg>=550.40.65 libglvnd
Optional Deps : linux-headers [installed]
linux-lts-headers: Build the module for LTS Arch kernel
Required By : None
Optional For : None
Conflicts With : nvidia-96xx nvidia-173xx nvidia
Replaces : None
Installed Size : 66.53 MiB
Packager : Unknown Packager
Build Date : Sun Jul 14 15:05:42 2024
Install Date : Sun Jul 14 15:12:45 2024
Install Reason : Explicitly installed
Install Script : Yes
Validated By : None
Name : nvidia-dev-utils-tkg
Version : 550.40.65-254
Description : NVIDIA driver utilities and libraries for 'nvidia-tkg'
Architecture : x86_64
URL : http://www.nvidia.com/
Licenses : custom:NVIDIA
Groups : None
Provides : nvidia-utils=550.40.65 nvidia-utils-tkg=550.40.65 vulkan-driver opengl-driver nvidia-libgl
Depends On : libglvnd mesa vulkan-icd-loader
Optional Deps : gtk2: nvidia-settings (GTK+ v2) [installed]
gtk3: nvidia-settings (GTK+ v3) [installed]
opencl-nvidia-tkg: OpenCL support [installed]
xorg-server [installed]
xorg-server-devel: nvidia-xconfig
egl-wayland-git: for alternative, more advanced Wayland library (libnvidia-egl-wayland.so)
Required By : hyprland lib32-nvidia-dev-utils-tkg libglvnd nvidia-dev-egl-wayland-tkg nvidia-dev-settings-tkg nvidia-dev-tkg warp-terminal wlroots0.17
Optional For : ffmpeg ffmpeg4.4 libvdpau vulkan-icd-loader
Conflicts With : nvidia-utils nvidia-libgl
Replaces : None
Installed Size : 596.23 MiB
Packager : Unknown Packager
Build Date : Sun Jul 14 15:05:42 2024
Install Date : Sun Jul 14 15:12:45 2024
Install Reason : Explicitly installed
Install Script : Yes
Validated By : NoneOffline
So you have an old, beta version from a 3rd party package. You shouldn't be surprised you're having problems.
Forget the -tkg stuff, switch to normal Arch packages.
Offline
How would i do that?
pacman -Sy nvidia nvidia-utils ?
Also if its relevant i'm using wayland and hyprland
Offline
"pacman -Syu nvidia nvidia-utils", otherwise you're running risk to condict a partial update and installing an nvidia driver incompatible w/ your kernel.
Offline
Fixed after uninstalling all the nvidia-tkg packages and installing the official ones. Thanks!
Offline
Hello, i’m reopening this because I’ve run into the exact same issue when upgrading to 6.10.1. Although this time it doesn’t seem to be related to my gpu. The kernel builds fine with no errors but still fails so mount /boot. Seems to happen every time I update.
I have updated linux-headers, and linux and ensured they’re both running the same version. I’ve also ran pacman-Syyuu several times to make sure everything is up to date.
If it’s important I am using BTRFS.
if anyone can help I will be extremely grateful.
Offline
Your /boot partition is most likely vfat and the usual way to get to this point is to boot a kernel other than the installed one because the kernel was installed into the wrong location
(Either the boot partition while you're actually booting from the root partition or the /boot mountpoint while the boot partition wasn't mounted)
From the rescue shell (doing this from the iso is pointless) run
uname -a
cat /proc/cmdlineEdit:
If it’s important I am using BTRFS.
But not for the boot partition, are you? Are you mounting/booting some snapshot?
I’ve also ran pacman-Syyuu several times to make sure everything is up to date.
"man pacman", read up what the second "y" and "u" do and then STOP DOING THAT UNLESS YOU REALLY - and I mean **REALLY** - HAVE TO!
Last edited by seth (2024-07-28 06:58:01)
Offline
As I said in the original post, I cannot access the emergency shell. It just restarts my keyboard (the lights flash off and then back on) on every key press.
I am not using any kind of snapshot so no.
Regardless of if I did the usual Syu or Syyuu I get the same output. It was just to stress that everything is up to date. I will do some research on the differences and heed your warning.
But I am fairly sure that my versions are synced because if I run mkinitcpio -p linux I get a successful build and it logs out the correct version of the kernel.
Offline
Boot the install iso, mount the installation into /mnt and check
pacman --root=/mnt -Qs kernel
file /mnt/boot/vmlinuz*then mount the boot partition into /mnt/boot and again
file /mnt/boot/vmlinuz*Only one of the file invocations should print anything itfp (except for "no such file or directory") and kernel file version and the versions listed by pacman -Qs need to align
Can you boot the fallback initramfs?
Offline
I haven't tried, I will figure out to do that asap. I have been chrooting using the arch iso to get into my system thus far.
Offline
You cannot "mount /mnt/boot" from the iso, you'll have to (likely, idk where you boot partition is) "mount /dev/sdb1 /mnt/boot"
You can try to chroot into the system but depending on how broken it is, that might no longer be possible.
Offline
Chrooting has been working totally fine for me. Since I'm using BTRFS, I am chrooting into my system using the commands on the wiki https://wiki.archlinux.org/title/Chroot … g_on_Btrfs and it works totally fine. I am able to install things and run pacman -Syu as I said before.
Offline
Well, check the installation from the chroot then.
Also inspect the bootloader config for what you're actually booting (to make sure it's not a snapshot)
Offline
I don't think I have any snapshots in the first place as this is a 2 week old install and I haven't ran any intentional backups. Also my @.snapshots directory is empty as shown Here (I loaded the drive on my windows installation)
Last edited by Artrix (2024-07-30 00:09:55)
Offline
Ok, did you check the version of the kernels in the /boot partition?
Offline
How would I do that?
Offline
Offline
Heres my output for pacman -Qs kernel. I just recently ran another -Syu and upgraded the kernel again. All the versions seem to be matching.
local/dkms 3.0.12-1
Dynamic Kernel Modules System
local/fuse2 2.9.9-5
Interface for userspace programs to export a filesystem to the Linux kernel
local/fuse3 3.16.2-1
Interface for userspace programs to export a filesystem to the Linux kernel
local/iptables 1:1.8.10-2
Linux kernel packet control tool (using legacy interface)
local/kmod 32-1
Linux kernel module management tools and library
local/lib32-libdrm 2.4.122-1
Userspace interface to kernel DRM services (32-bit)
local/libdrm 2.4.122-1
Userspace interface to kernel DRM services
local/libnetfilter_conntrack 1.0.9-2
Library providing an API to the in-kernel connection tracking state table
local/libnfnetlink 1.0.2-2
Low-level library for netfilter related kernel/userspace communication
local/libsysprof-capture 46.0-4
Kernel based performance profiler - capture library
local/linux 6.10.2.arch1-1
The Linux kernel and modules
local/linux-api-headers 6.10-1
Kernel headers sanitized for use in userspace
local/linux-headers 6.10.2.arch1-1
Headers and scripts for building modules for the Linux kernel
local/mtdev 1.1.7-1
A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol
local/openrazer-daemon 3.8.0-1
Userspace daemon that abstracts access to the kernel driver. Provides a DBus service for applications to use
local/openrazer-driver-dkms 3.8.0-1
OpenRazer kernel modules sources
local/virtualbox-host-modules-arch 7.0.20-6
Virtualbox host kernel modules for Arch KernelOffline
Boot the install iso, mount the installation into /mnt and check
pacman --root=/mnt -Qs kernel
file /mnt/boot/vmlinuz*
then mount the boot partition into /mnt/boot and againfile /mnt/boot/vmlinuz*
The question is what kernel you're maybe booting there.
Offline
/mnt/boot/vmlinuz-linux: Linux kernel x86 boot executable bzImage, version 6.10.2-arch1-1 (linux@archlinux) #1 SMP PREEMPT_DYNAMIC Sat, 27 Jul 2024 16:49:55 +0000, RO-rootFS, swap_dev 0XC, Normal VGAis my output for file /mnt/boot/vmlinuz*
Offline
Before or after mounting /mnt/boot?
Also inspect the bootloader config for what you're actually booting
This is regardless of snapshots
Btw. I assume only the vfat /boot mount in your fstab breaks the boot process? If you comment that, can you boot the system? (Cause then you can just ask "uname -a" for the booting kernel and "cat /proc/cmdline" for what you're booting)
Offline
Because im using BTRFS, I have to mount /boot first because otherwise it doesn't exist (https://wiki.archlinux.org/title/Chroot … g_on_Btrfs) .
I ran file /mnt/boot/vmlinuz* outside the chroot and file /boot/vmlinuz* inside the chroot and got the same output.
Where is the bootloader config? im assuming its /boot/grub/grub.cfg?
Offline