Mkinitcpio 39 is buggy

There are no ISO profiles that contain it. Where you’re seeing it is commented out. :wink:

Yes, it is. It caused more problems than it solved and is no longer developed.

You should…

:wink:

I seem to be able to replicate lacking of version number in the filename on an unstable gnome vm with EUFI. Output of the first time installation of linux69 & installation of linux61after removing the linux61 kernel (with a edited preset without fallback)

installing linux69 results
sudo mhwd-kernel --install linux69                       \ue0b2 \u2714 \ue0b2 8s \uf252 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
resolving dependencies...
looking for conflicting packages...

Packages (1) linux69-6.9.0rc7-1

Total Installed Size:  139,49 MiB

:: Proceed with installation? [Y/n] y
(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) installing linux69                           [######################] 100%
Optional dependencies for linux69
    wireless-regdb: to set the correct wireless channels of your country
    [installed]
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Starting build: '6.9.0-rc7-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> Starting build: '6.9.0-rc7-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> WARNING: Possibly missing '/bin/sh' for script: /usr/bin/fsck.xfs
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs--fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/amd-ucode.img /boot/initramfs-.img
Found initrd fallback image: /boot/initramfs--fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.8-x86_64.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done


ls /boot -l                                                    
total 181720
-rw-r--r-- 1 root root     81920  4 mei 00:15 amd-ucode.img
drwx------ 3 root root      4096  1 jan  1970 efi
drwxr-xr-x 6 root root      4096 12 mei 19:31 grub
-rw------- 1 root root  11298565 12 mei 19:30 initramfs-6.1-x86_64.img
-rw------- 1 root root  11175172 12 mei 19:30 initramfs-6.8-x86_64.img
-rw------- 1 root root 114389927 12 mei 19:31 initramfs--fallback.img
-rw------- 1 root root  11175195 12 mei 19:31 initramfs-.img
-rw-r--r-- 1 root root        21  3 mei 05:58 linux61-x86_64.kver
-rw-r--r-- 1 root root        20  9 mei 19:01 linux68-x86_64.kver
-rw-r--r-- 1 root root        23  6 mei 04:47 linux69-x86_64.kver
-rw-r--r-- 1 root root  13197824 12 mei 19:30 vmlinuz-
-rw-r--r-- 1 root root  11670016 12 mei 19:25 vmlinuz-6.1-x86_64
-rw-r--r-- 1 root root  13050368 12 mei 19:25 vmlinuz-6.8-x86_64
installing linux61 results
sudo mhwd-kernel --install linux61                         
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
resolving dependencies...
looking for conflicting packages...

Packages (1) linux61-6.1.90-1

Total Installed Size:  143,42 MiB

:: Proceed with installation? [Y/n] y
(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) installing linux61                           [######################] 100%
Optional dependencies for linux61
    wireless-regdb: to set the correct wireless channels of your country
    [installed]
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
==> WARNING: Deprecated option 'ALL_microcode' found. Update '/etc/mkinitcpio.d/linux61.preset' to use the 'microcode' hook instead.
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64.img
==> Starting build: '6.1.90-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.1-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/amd-ucode.img /boot/initramfs-.img
Found initrd fallback image: /boot/initramfs--fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.8-x86_64.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done


ls /boot -l                                          

total 181720
-rw-r--r-- 1 root root     81920  4 mei 00:15 amd-ucode.img
drwx------ 3 root root      4096  1 jan  1970 efi
drwxr-xr-x 6 root root      4096 12 mei 19:34 grub
-rw------- 1 root root  11298565 12 mei 19:34 initramfs-6.1-x86_64.img
-rw------- 1 root root  11175172 12 mei 19:30 initramfs-6.8-x86_64.img
-rw------- 1 root root 114389927 12 mei 19:31 initramfs--fallback.img
-rw------- 1 root root  11175195 12 mei 19:31 initramfs-.img
-rw-r--r-- 1 root root        21  3 mei 05:58 linux61-x86_64.kver
-rw-r--r-- 1 root root        20  9 mei 19:01 linux68-x86_64.kver
-rw-r--r-- 1 root root        23  6 mei 04:47 linux69-x86_64.kver
-rw-r--r-- 1 root root  13197824 12 mei 19:30 vmlinuz-
-rw-r--r-- 1 root root  11670016 12 mei 19:34 vmlinuz-6.1-x86_64
-rw-r--r-- 1 root root  13050368 12 mei 19:25 vmlinuz-6.8-x86_64
system details
inxi -Fazi                                                                                                                                 \ue0b2 \u2714 
System:
  Kernel: 6.8.8-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: kvm-clock avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.8-x86_64
    root=UUID=29304a65-1f4d-48f7-8b15-f6a6cdfe5187 rw
  Desktop: GNOME v: 46.1 tk: GTK v: 3.24.41 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 46.0 Distro: Manjaro
    base: Arch Linux
Machine:
  Type: Kvm System: QEMU product: Standard PC (Q35 + ICH9, 2009) v: pc-q35-7.2
    serial: <superuser required> Chassis: type: 1 v: pc-q35-7.2
    serial: <superuser required>
  Mobo: N/A model: N/A serial: N/A uuid: <superuser required> UEFI: EDK II
    v: N/A date: 2/2/2022
CPU:
  Info: model: AMD Ryzen 5 3600 bits: 64 type: SMP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
  Topology: cpus: 6x cores: 1 smt: <unsupported> cache:
    L1: 6x 128 KiB (768 KiB) desc: d-1x64 KiB; i-1x64 KiB L2: 6x 512 KiB (3 MiB)
    desc: 1x512 KiB L3: 6x 16 MiB (96 MiB) desc: 1x16 MiB
  Speed (MHz): avg: 3593 min/max: N/A cores: 1: 3593 2: 3593 3: 3593 4: 3593
    5: 3593 6: 3593 bogomips: 43139
  Flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT disabled
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; STIBP:
    disabled; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Red Hat Virtio 1.0 GPU driver: virtio-pci v: N/A ports:
    active: Virtual-1 empty: none bus-ID: 00:01.0 chip-ID: 1af4:1050
    class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
    compositor: gnome-shell driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: virtio_gpu gpu: virtio-pci display-ID: 0
  Monitor-1: Virtual-1 model: QEMU Monitor built: 2014 res: 3440x1300
    dpi: 109 gamma: 1.2 size: 800x297mm (31.5x11.69") diag: 851mm (33.5") modes:
    max: 3440x1300 min: 640x480
  API: EGL v: 1.5 platforms: device: 0 egl: 1.4 drv: virtio_gpu device: 1
    drv: swrast surfaceless: egl: 1.4 drv: virtio_gpu wayland: egl: 1.4
    drv: virtio_gpu x11: egl: 1.4 drv: virtio_gpu inactive: gbm
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.0.6-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: virgl (AMD Radeon RX 6600 (radeonsi
    navi23 LLVM 17.0.6 D...) device-ID: 1af4:1010 memory: 7.81 TiB
    unified: yes display-ID: :0.0
Audio:
  Device-1: Intel 82801I HD Audio vendor: Red Hat QEMU Virtual Machine
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:293e
    class-ID: 0403
  API: ALSA v: k6.8.8-2-MANJARO status: kernel-api tools: N/A
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Red Hat Virtio 1.0 network driver: virtio-pci v: N/A pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 01:00.0 chip-ID: 1af4:1041
    class-ID: 0200
  IF-ID-1: enp1s0 state: up speed: -1 duplex: unknown mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Drives:
  Local Storage: total: 50 GiB used: 12.17 GiB (24.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/vda maj-min: 254:0 model: N/A size: 50 GiB block-size:
    physical: 512 B logical: 512 B speed: <unknown> tech: N/A serial: N/A
    scheme: GPT
Partition:
  ID-1: / raw-size: 49.7 GiB size: 48.62 GiB (97.82%) used: 12.17 GiB (25.0%)
    fs: ext4 dev: /dev/vda2 maj-min: 254:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/vda1 maj-min: 254:1
Swap:
  Alert: No swap data was found.
Sensors:
  Src: lm-sensors+/sys Message: No sensor data found using /sys/class/hwmon
    or lm-sensors.
Info:
  Memory: total: 4 GiB available: 3.81 GiB used: 1.21 GiB (31.8%)
  Processes: 251 Power: uptime: 17m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: shutdown avail: reboot,suspend,test_resume
    image: 1.52 GiB services: gsd-power,upowerd Init: systemd v: 255
    default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 896 libs: 260 tools: gnome-software,pamac
    Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9
    running-in: gnome-terminal inxi: 3.3.34
Name                  : mkinitcpio
Version               : 39-6

Okay, but it is contained in the repo. I noticed when packages get removed from repo there are appear in pacman -Qm

I remove these packages if I have not installed them myself (AUR).

But I install it on my systems as soon as kernel-alive get removed to don’t mess up things

regarding mkinitcpio … has anyone checked the contents of:
/usr/share/mkinitcpio/hook.preset of the effected vm’s?

Yes.


Just because something is in the repos does not mean you should have it installed. But its your system.

It seems it was not the source of this issue though.


I do find it interesting that most (if not all?) of the reported issues are in VM.

Pacnews may be another thing?

pacdiff -o
1 Like

@scarwire did you also removed the pacsave files? Cos of this:

+install_preset() {
+    local pkgbase="$1" preset="$2"
+
+    if [[ ! -e "$preset" ]]; then
+        if [[ -e "$preset.pacsave" ]]; then
+            # move the pacsave to the template
+            mv -- "${preset}.pacsave" "$preset"
+        else
+            # create the preset from the template
+            sed "s|%KERNELBASE%|${kernelbase}|g" /usr/share/mkinitcpio/hook.preset \
+                | install -Dm644 /dev/stdin "$preset"
+        fi
+    fi
+}

@Hanzel please remove the following from your system and call

mkinitcpio -P

again.

/boot/vmlinuz-
/boot/initramfs-.img
/boot/initramfs--fallback.img

Edit: I misread, updating in a sec

Summary
$  cd /etc/mkinitcpio.d/   
$ ls                                               
linux61.preset  linux68.preset  linux69.preset
$ sudo rm *.preset                         
$ ls                                             
$ 
$ sudo mkinitcpio -P                    
==> ERROR: No presets found in /etc/mkinitcpio.d
$ 

We are ’ clean’ so now update


==== AUTHENTICATION COMPLETE ====
Download of linux69 (6.9.0-1) started                                           
Download of manjaro-hello (0.7.2-6) started                                     
Download of manjaro-release (24.0.0-1) started                                  
Download of manjaro-release (24.0.0-1) finished                                 
Download of manjaro-hello (0.7.2-6) finished                                    
Download of linux69 (6.9.0-1) finished                                          
Checking keyring...                                                        [3/3]
Checking integrity...                                                      [3/3]
Loading packages files...                                                  [3/3]
Checking file conflicts...                                                 [3/3]
Checking available disk space...                                           [3/3]
Running pre-transaction hooks...
Removing linux initcpios...                                                [1/1]
Upgrading linux69 (6.9.0rc7-1 -> 6.9.0-1)...                               [1/3]
Upgrading manjaro-hello (0.7.2-5 -> 0.7.2-6)...                            [2/3]
Upgrading manjaro-release (23.1.4-1 -> 24.0.0-1)...                        [3/3]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                             [1/5]
Updating module dependencies...                                            [2/5]
Updating linux initcpios...                                                [3/5]
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> WARNING: Possibly missing '/bin/sh' for script: /usr/bin/fsck.xfs
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs--fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
Updating Grub-Bootmenu                                                     [4/5]
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/amd-ucode.img /boot/initramfs-.img
Found initrd fallback image: /boot/initramfs--fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.8-x86_64.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Updating the desktop file MIME type cache...                               [5/5]
A restart is required for the changes to take effect.
Transaction successfully finished.
$ ls                                      
linux69.preset
$ sudo mhwd-kernel --install linux61            
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
warning: linux61-6.1.90-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux61-6.1.90-1

Total Installed Size:  143,42 MiB
Net Upgrade Size:        0,00 MiB

:: Proceed with installation? [Y/n] y
(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) reinstalling linux61                         [######################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Starting build: '6.1.90-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> Starting build: '6.1.90-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> WARNING: Possibly missing '/bin/sh' for script: /usr/bin/fsck.xfs
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs--fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/amd-ucode.img /boot/initramfs-.img
Found initrd fallback image: /boot/initramfs--fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.8-x86_64.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
$ sudo mhwd-kernel --install linux68  
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
warning: linux68-6.8.9-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux68-6.8.9-3

Total Installed Size:  138,74 MiB
Net Upgrade Size:        0,00 MiB

:: Proceed with installation? [Y/n] y
(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) reinstalling linux68                         [######################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Starting build: '6.8.9-3-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> Starting build: '6.8.9-3-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [sd-vconsole]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> WARNING: Possibly missing '/bin/sh' for script: /usr/bin/fsck.xfs
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs--fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/amd-ucode.img /boot/initramfs-.img
Found initrd fallback image: /boot/initramfs--fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.8-x86_64.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

$ ls /boot -l                            
total 181148
-rw-r--r-- 1 root root     81920  4 mei 00:15 amd-ucode.img
drwx------ 3 root root      4096  1 jan  1970 efi
drwxr-xr-x 6 root root      4096 13 mei 20:00 grub
-rw------- 1 root root  11298565 12 mei 19:34 initramfs-6.1-x86_64.img
-rw------- 1 root root  11175172 12 mei 19:30 initramfs-6.8-x86_64.img
-rw------- 1 root root 113949480 13 mei 20:00 initramfs--fallback.img
-rw------- 1 root root  11175101 13 mei 20:00 initramfs-.img
-rw-r--r-- 1 root root        21  3 mei 05:58 linux61-x86_64.kver
-rw-r--r-- 1 root root        20  9 mei 19:01 linux68-x86_64.kver
-rw-r--r-- 1 root root        20 13 mei 07:30 linux69-x86_64.kver
-rw-r--r-- 1 root root  13050368 13 mei 20:00 vmlinuz-
-rw-r--r-- 1 root root  11670016 12 mei 19:34 vmlinuz-6.1-x86_64
-rw-r--r-- 1 root root  13050368 12 mei 19:25 vmlinuz-6.8-x86_64

To make sure I’m up to date/right brach:

$ pamac upgrade                                                               
Preparing...
Synchronizing package databases...
Nothing to do.                                                                                                
Transaction successfully finished.

$ pacman-mirrors -G                                                             
unstable
Edit: 
$ cd /boot
$ ls -l                                                                                                                                                                                                
total 181148
-rw-r--r-- 1 root root     81920  4 mei 00:15 amd-ucode.img
drwx------ 3 root root      4096  1 jan  1970 efi
drwxr-xr-x 6 root root      4096 13 mei 20:10 grub
-rw------- 1 root root  11298565 12 mei 19:34 initramfs-6.1-x86_64.img
-rw------- 1 root root  11175172 12 mei 19:30 initramfs-6.8-x86_64.img
-rw------- 1 root root 113949480 13 mei 20:00 initramfs--fallback.img
-rw------- 1 root root  11175101 13 mei 20:00 initramfs-.img
-rw-r--r-- 1 root root        21  3 mei 05:58 linux61-x86_64.kver
-rw-r--r-- 1 root root        20  9 mei 19:01 linux68-x86_64.kver
-rw-r--r-- 1 root root        20 13 mei 07:30 linux69-x86_64.kver
-rw-r--r-- 1 root root  13050368 13 mei 20:00 vmlinuz-
-rw-r--r-- 1 root root  11670016 12 mei 19:34 vmlinuz-6.1-x86_64
-rw-r--r-- 1 root root  13050368 12 mei 19:25 vmlinuz-6.8-x86_64
$ sudo rm vmlinuz-                                                                                                              
$ sudo rm initramfs-.img
$ sudo rm initramfs--fallback.img
$ sudo mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-'

I can trigger the issue again by installing linux69 as well
Upgrading Kernels is fine :white_check_mark:
Installing Kernels is not :x:
I have to edit the preset manually.

1 Like

my /etc/mkinitcpio.d/ is empty and happen same as @pheiduck.
Let me correct my information: I didn’t try to reinstall the other kernels. It happens when I install linux69.

okay used manjaro system settings to install kernel 6.9.0-1 … before rebooting I checked the /etc/mkinitcpio.d/linux69.preset file … no kernel version info present … checked boot also no kernel versioning info… for most recently installed kernel 6.9 … in file names …

/usr/share/mkinitcpio/hook.preset file was normal …

I made the appropriate edits to file names in /boot and modified linux69.preset … and kernel 6.9 does boot, after mkinitcpio -P and update-grub…

mkinitcpio is verion 39-6

okay as 39.1-1 is coming – rebooted into linux6.8 and removed linux6.9 install

will test new version as soon as it appears on mirrors… also moved linux69.preset.pacsave out of /etc/mkinitcpio.d/

okay installed mkinitcpio version 39.1-1 reinstalled linux6.9 via manjaro settings manager … same as before … linux69.preset contains no version info will remove again and try mkhw-kernel to install as well

ok did a mkhw-kernel install (cleaned out linux69.preset.pacsave first) same as before no kernel versioning… uninstalled … cleaned out linux69.preset.pacsave … replaced with an edited kernel-versioned edition… of linux69.preset (derived from linux68.preset) …

did the: sudo mkhw-kernel -i linux69 and everything works … so the problem is due to incorrect generation of linux69.preset … I suspect any attempt to install “any new” kernels will fail in the same way!

... mkinitcpio version 39.1-1 does not fix the issue ...

@pheiduck @servimo I just pushed mkinitcpio 39.1-1.

I’m wondering if the issue is now fixed upstream:

lsinitcpio: show out-of-tree modules (from the extramodules directory)
in module list. This was accidentally lost in mkinitcpio v33

v39.1 · Arch Linux / Mkinitcpio / mkinitcpio · GitLab

Mind you, I can’t reproduce the issue on two machines, so I’m flying blind here.

EDIT: I can now reproduce it on both systems after installing linux69.

Oh… interesting so it was an upstream bug and not by Manjaro. Will check new version of mkinitcpio tomorrow and give feedback.

@Yochanan I think systems with legacy bios mode make something different? Haven’t checked on UEFI mode.

1 Like

I have this issue since adding 6.9 kernel today. The issue still exists with mkinitcpio 39.1-1

==> 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
==> Starting build: '6.6.30-2-MANJARO'
  -> Running build hook: [autodetect]
  -> Running build hook: [systemd]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Decompressing zstd-compressed firmware files
  -> Fixing firmware file symlinks
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux68.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.8-x86_64 -g /boot/initramfs-6.8-x86_64.img
==> Starting build: '6.8.9-3-MANJARO'
  -> Running build hook: [autodetect]
  -> Running build hook: [systemd]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Decompressing zstd-compressed firmware files
  -> Fixing firmware file symlinks
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.8-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [autodetect]
  -> Running build hook: [systemd]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Decompressing zstd-compressed firmware files
  -> Fixing firmware file symlinks
==> Creating zstd-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
amd-ucode.img
efi
grub
initramfs-6.6-x86_64.img
initramfs-6.8-x86_64.img
initramfs-.img
linux66-x86_64.kver
linux68-x86_64.kver
linux69-x86_64.kver
memtest86+
vmlinuz-
vmlinuz-6.6-x86_64
vmlinuz-6.8-x86_64
Name            : mkinitcpio
Version         : 39.1-1

xfce Unstable, not a VM. I don’t have fallback.img (my choice)

1 Like

I didn’t say that. I was only wondering if what I quoted from the changelog would help.

I can’t even boot into linux69 after installing it. My AMD laptop:

ls -1 /boot/
amd-ucode.img
efi
grub
initramfs-6.1-x86_64-fallback.img
initramfs-6.1-x86_64.img
initramfs-6.6-x86_64-fallback.img
initramfs-6.6-x86_64.img
initramfs-6.8-x86_64-fallback.img
initramfs-6.8-x86_64.img
initramfs--fallback.img
initramfs-.img
linux61-x86_64.kver
linux66-x86_64.kver
linux68-x86_64.kver
linux69-x86_64.kver
memdisk
memtest86+
vmlinuz-
vmlinuz-6.1-x86_64
vmlinuz-6.6-x86_64
vmlinuz-6.8-x86_64
cat /etc/mkinitcpio.d/linux69.preset
# mkinitcpio preset file for the '' package

#ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-"

PRESETS=('default' 'fallback')

#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-.img"
#default_uki="/efi/EFI/Linux/manjaro-.efi"
#default_options="--splash /usr/share/systemd/bootctl/splash-manjaro.bmp"

#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs--fallback.img"
#fallback_uki="/efi/EFI/Linux/manjaro--fallback.efi"
fallback_options="-S autodetect"

I’m at a loss here. I’ve pinged @philm, so when he’s available hopefully he will be able to find the issue.

1 Like

Well OK then here I go for the plunge. :diving_mask:

Or … not. I can see it did the thing already.

Summary
(5/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs-.img
==> Using drop-in configuration file: 'mine.conf'
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [autodetect]
  -> Running build hook: [systemd]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating lzop-compressed initcpio image: '/boot/initramfs-.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux69.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz- -g /boot/initramfs--fallback.img -S autodetect
==> Using drop-in configuration file: 'mine.conf'
==> Starting build: '6.9.0-1-MANJARO'
  -> Running build hook: [systemd]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating lzop-compressed initcpio image: '/boot/initramfs--fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful

installing mkinitpcio 39.1-2 fixes the issue … thank you !

2 Likes

Will check afternoon!

Yes, now it works good! :+1:

No, since Arch doesn’t even add any versions to initramfses or kernels.

All is fine now with mkinitcpio only the grub menu seams incorrect (on unstable)
grafik