Mkinitcpio update 37.2-1 break the System

With this update I get the following error messages

cp: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-modeset.ko.xz' und '/tmp/mkinitcpio.ZKQ7VW/root/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-modeset.ko.xz' sind dieselbe Datei
cp: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia.ko.xz' und '/tmp/mkinitcpio.ZKQ7VW/root/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia.ko.xz' sind dieselbe Datei
cp: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-drm.ko.xz' und '/tmp/mkinitcpio.ZKQ7VW/root/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-drm.ko.xz' sind dieselbe Datei
==> ERROR: file not found: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-uvm.ko.xz'
==> ERROR: file not found: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-modeset.ko.xz'
==> ERROR: file not found: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia.ko.xz'
==> ERROR: file not found: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-drm.ko.xz'
xz: /tmp/mkinitcpio.3Mituo/root//lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-uvm.ko.xz: Datei oder Verzeichnis nicht gefunden
xz: /tmp/mkinitcpio.3Mituo/root//lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-modeset.ko.xz: Datei oder Verzeichnis nicht gefunden
xz: /tmp/mkinitcpio.3Mituo/root//lib/modules/6.6.10-1-MANJARO/extramodules/nvidia.ko.xz: Datei oder Verzeichnis nicht gefunden
xz: /tmp/mkinitcpio.3Mituo/root//lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-drm.ko.xz: Datei oder Verzeichnis nicht gefunden
cp: '/lib/modules/6.7.0-0-MANJARO/extramodules/nvidia-uvm.ko.xz' und '/tmp/mkinitcpio.0siH1O/root/lib/modules/6.7.0-0-MANJARO/extramodules/nvidia-uvm.ko.xz' sind dieselbe Datei
cp: '/lib/modules/6.7.0-0-MANJARO/extramodules/nvidia.ko.xz' und '/tmp/mkinitcpio.0siH1O/root/lib/modules/6.7.0-0-MANJARO/extramodules/nvidia.ko.xz' sind dieselbe Datei
cp: '/lib/modules/6.7.0-0-MANJARO/extramodules/nvidia-modeset.ko.xz' und '/tmp/mkinitcpio.0siH1O/root/lib/modules/6.7.0-0-MANJARO/extramodules/nvidia-modeset.ko.xz' sind dieselbe Datei
==> ERROR: file not found: '/lib/modules/6.7.0-0-MANJARO/extramodules/nvidia-drm.ko.xz'
==> ERROR: file not found: '/lib/modules/6.7.0-0-MANJARO/extramodules/nvidia-uvm.ko.xz'
==> ERROR: file not found: '/lib/modules/6.7.0-0-MANJARO/extramodules/nvidia.ko.xz'
==> ERROR: file not found: '/lib/modules/6.7.0-0-MANJARO/extramodules/nvidia-modeset.ko.xz'
xz: /tmp/mkinitcpio.SaIjBs/root//lib/modules/6.7.0-0-MANJARO/extramodules/nvidia-drm.ko.xz: Datei oder Verzeichnis nicht gefunden
xz: /tmp/mkinitcpio.SaIjBs/root//lib/modules/6.7.0-0-MANJARO/extramodules/nvidia-uvm.ko.xz: Datei oder Verzeichnis nicht gefunden
xz: /tmp/mkinitcpio.SaIjBs/root//lib/modules/6.7.0-0-MANJARO/extramodules/nvidia.ko.xz: Datei oder Verzeichnis nicht gefunden
xz: /tmp/mkinitcpio.SaIjBs/root//lib/modules/6.7.0-0-MANJARO/extramodules/nvidia-modeset.ko.xz: Datei oder Verzeichnis nicht gefunden

The system no longer boots into the graphical user interface

Install nvidia-dkms for now. @philm and I are investigating.

thx a lot

Installing nvidia-dkms ends with an error too.

(4/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> Starting build: '5.10.206-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.10-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
==> Starting build: '5.10.206-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.10-x86_64-fallback.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux519.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.19-x86_64.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-5.19-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux519.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.19-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-5.19-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-6.0-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-6.0-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img --microcode /boot/intel-ucode.img
==> Starting build: '6.6.10-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> Starting build: '6.6.10-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux67.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.7-x86_64 -g /boot/initramfs-6.7-x86_64.img --microcode /boot/intel-ucode.img
==> Starting build: '6.7.0-0-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.7-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux67.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.7-x86_64 -g /boot/initramfs-6.7-x86_64-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> Starting build: '6.7.0-0-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.7-x86_64-fallback.img'
==> Image generation successful
erreur : la commande n’a pas pu être exécutée correctement
(5/5) Updating Kernel initcpios for Nvidia-DRM...
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> Starting build: '5.10.206-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.10-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
==> Starting build: '5.10.206-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.10-x86_64-fallback.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux519.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.19-x86_64.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-5.19-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux519.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-5.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.19-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-5.19-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-6.0-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-6.0-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img --microcode /boot/intel-ucode.img
==> Starting build: '6.6.10-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> Starting build: '6.6.10-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux67.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.7-x86_64 -g /boot/initramfs-6.7-x86_64.img --microcode /boot/intel-ucode.img
==> Starting build: '6.7.0-0-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.7-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux67.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.7-x86_64 -g /boot/initramfs-6.7-x86_64-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> Starting build: '6.7.0-0-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.7-x86_64-fallback.img'
==> Image generation successful
erreur : la commande n’a pas pu être exécutée correctement

I’m positive the kernel files are indeed present in /boot/
For safety, I did an update-grub manually, and it booted normally.
M.

I can’t reproduce that. Either way, I’ve pulled mkinitcpio 37.2-1 and reverted back to 37.1 with 37.1-4 for now. You can use sudo pacman -Syu mkinicpio or sudo pacman -Syuu once your mirror has it.

Neither works sorry
Please What is the pacman command to downgrade mkinitcpio

sudo pacman-mirrors -f 5 && sudo pacman -Syuu

Germany Mirrors - Nothing to do

The Files in /extramodules have *.ko not *.ko.xz

The folder extramodules is a symlink. With the new patch those don’t get copied as regular folders anymore. Hence the issue. To test a potential fix please downgrade to 37.1-4 first and provide the output of: sudo lsinitcpio /boot/initramfs-6.7-x86_64.img | grep extra

Then try to update to 37.2-1.1 and see if that fixes it. Also the output of lsinitcpio is needed.

I just couldn’t resist and decided to give it a try. With mkinitcpio v. 37.2-1.1 I got:

┬─[openm@reiwa:/etc]─[14:11:24]
╰─>$ eza -l /efi/EFI/Linux/                                                      0 (03:26.537)
.rwxr-xr-x  53M root 16 янв 14:10 manjaro-6.1-x86_64-systemd.efi
.rwxr-xr-x  54M root 16 янв 14:09 manjaro-6.1-x86_64.efi
.rwxr-xr-x  57M root 16 янв 14:10 manjaro-6.6-x86_64-systemd.efi
.rwxr-xr-x  58M root 16 янв 14:10 manjaro-6.6-x86_64.efi
.rwxr-xr-x 100M root 16 янв 14:11 manjaro-6.7-x86_64-systemd.efi
.rwxr-xr-x 101M root 16 янв 14:11 manjaro-6.7-x86_64.efi
┬─[openm@reiwa:/etc]─[14:11:42]
╰─>$ eza -l /boot |grep init                                                        0 (0.009s)
.rw-------  34M root 16 янв 14:10 initramfs-6.1-x86_64-systemd.img
.rw-------  35M root 16 янв 14:09 initramfs-6.1-x86_64.img
.rw-------  36M root 16 янв 14:10 initramfs-6.6-x86_64-systemd.img
.rw-------  38M root 16 янв 14:10 initramfs-6.6-x86_64.img
.rw-------  80M root 16 янв 14:11 initramfs-6.7-x86_64-systemd.img
.rw-------  81M root 16 янв 14:11 initramfs-6.7-x86_64.img

Now I’m about to reboot and see what happens.

UPD: works fine. Yes, I know I’m not affected by this exact bug, but at least the other issue with initrd being enormous has been resolved. 100 Mb vs 240 Mb makes a big difference (~30 sec boot on encrypted drive is OK-ish).

UPD2: with nvidia module added to mkinitcpio.conf array the resulting UKI grows almost to 200Mb causing boot time increase. Poor Nvidia users… Difference between linux66 and linux67 boot time is about 4 seconds due to linux67 image being bigger, but with nvidia it takes by 7-9 seconds more (instead of 4).

UPD3: can confirm 37.2-1.3 copies nvidia module.

you use UKI so it doesn’t count. Needs to be the legacy way with nvidia modules enabled in modules at mkinitcpio. 1.1 doesn’t work either. Working on 1.2 now.

OK, seems I might have fixed it:

$ sudo lsinitcpio /boot/initramfs-6.7-x86_64-fallback.img |  grep extra
usr/lib/modules/6.7.0-2-MANJARO/extramodules/
usr/lib/modules/6.7.0-2-MANJARO/extramodules/nvidia.ko
usr/share/X11/xkb/rules/base.extras.xml
usr/share/X11/xkb/rules/evdev.extras.xml
usr/share/X11/xkb/types/extra
$ sudo lsinitcpio /boot/initramfs-6.7-x86_64.img |  grep extra
usr/lib/modules/6.7.0-2-MANJARO/extramodules/
usr/lib/modules/6.7.0-2-MANJARO/extramodules/nvidia.ko
usr/share/X11/xkb/rules/base.extras.xml
usr/share/X11/xkb/rules/evdev.extras.xml
usr/share/X11/xkb/types/extra

37.2-1.2

… still tempted to disable kms for fallback by default …

1 Like

37.2-1.3 should properly copy the extramodules like nvidia, when the kernel has a symlink in it’s path.

I had broken my system. And here is my way to fix it:

  1. If you stuck on boot, try ctrl+alt+Fx to get into tty mode, then get into /etc//lib/modules/extramodules--MANJARO, for all .ko file in the folder, run sudo xz --keep -0 .ko to generate the compressed file while keep the decompressed. Then run sudo mkinitcpio -P to regenerate images.
  2. wait until the bug is fixed.
6 Likes

welcome @Meson.Jiang

Great solution, you have saved my system

install “downgrade”
sudo downgrade mkinitcpio

@weingeist did you find time to test 37.2-1.3 on your end?

Final question for all concerned

Is it possible to reinstall from 37.2 to 37.1 or is that not a good idea?
Should or must one delete something in extramodules to avoid file corpses or complications ?

@philm
I can test it tonight, I have to go to work first

Updated to mkinitcpio 37.2-1.3 and reverted from nvidia-470xx-dkms to linux-nvidia470xx

No issues with copying nvidia extramodules

Ok, i have delete in extramodules nvidia-*.ko.xz
The same

==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img --microcode /boot/intel-ucode.img
==> Starting build: '6.6.10-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [keyboard]
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
==> ERROR: file not found: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-uvm.ko.xz'
==> ERROR: file not found: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-modeset.ko.xz'
==> ERROR: file not found: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia.ko.xz'
==> ERROR: file not found: '/lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-drm.ko.xz'
xz: /tmp/mkinitcpio.zhaSmS/root//lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-uvm.ko.xz: Datei oder Verzeichnis nicht gefunden
xz: /tmp/mkinitcpio.zhaSmS/root//lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-modeset.ko.xz: Datei oder Verzeichnis nicht gefunden
xz: /tmp/mkinitcpio.zhaSmS/root//lib/modules/6.6.10-1-MANJARO/extramodules/nvidia.ko.xz: Datei oder Verzeichnis nicht gefunden
xz: /tmp/mkinitcpio.zhaSmS/root//lib/modules/6.6.10-1-MANJARO/extramodules/nvidia-drm.ko.xz: Datei oder Verzeichnis nicht gefunden
==> Generating module dependencies