You are not logged in.

#1 2025-04-26 11:16:58

Shfdis
Member
Registered: 2025-04-26
Posts: 1

kernel image doesn't generate properly.

Hi everyone!
After updating the system with

 yay -Syyu 

in mkinitcpio i got an error:

==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '6.14.3-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> WARNING: No fsck helpers found. fsck will not be run on boot.
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '6.14.3-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci_renesas'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'

==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
error: command failed to execute correctly

I then tried manually generating initcpio with

 mkinitcpio 

And i got this:

==> ERROR: '/lib/modules/6.14.2-arch1-1' is not a valid kernel module directory
 pacman -Q linux 

gives linux 6.14.3.arch1-1.

Seems like kernel versions don't match, but I've got no clue how to fix this.

Last edited by Shfdis (2025-04-26 11:17:20)

Offline

#2 2025-04-26 16:57:07

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: kernel image doesn't generate properly.

1. what error messages concern you in the first message?

2.  the kernel was updated and now it can't find the older version indicates the kernel was built successfully, you just haven't restarted your computer

Offline

#3 2025-04-27 05:57:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,317

Re: kernel image doesn't generate properly.

yay -Syyu

Yay aside, "man pacman", look up what the second y does and then STOP DOING THAT! unless you really REALLY mean to.

"man mkinitcpio" - see "-k", check "uname -a", does that answer your question itr?

Then address mackin_cheese's first question.

Offline

Board footer

Powered by FluxBB