mkinitcpio warns of errors, but none seen

Discussion about U-Boot and the kernel.

mkinitcpio warns of errors, but none seen

Postby jesseF » Sun Dec 03, 2023 5:05 pm

I recently ran updates on my pbp and got a warning from mkinitcpio and have been trying to fix it to zero effect. I get the following
[code]
jesse ~ $ sudo mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k 6.2.10-1-aarch64-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: '6.2.10-1-aarch64-ARCH'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [plymouth]
-> Running build hook: [fsck]
==> 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-aarch64.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k 6.2.10-1-aarch64-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '6.2.10-1-aarch64-ARCH'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'msm'
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla1280'
-> Running build hook: [filesystems]
-> Running build hook: [plymouth]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
[/code]
I can't seem to find anything that could be causing the error or how to fix it. I've googled and found issues where people had other problems where they saw errors in the output, and, unsurprisingly, this seemed not to be the case for me. I ran mkinitcpio -Pv and got a lot more output, but nothing that would point me toward what the error is. Does anyone else have a similar issue or can point me in a direction that it might be?
jesseF
 
Posts: 24
Joined: Mon Jun 15, 2020 3:36 am

Re: mkinitcpio warns of errors, but none seen

Postby graysky » Sun Dec 03, 2023 6:09 pm

I get this on my x86_64 box. Normal.
[code]
==> Building image from preset: /etc/mkinitcpio.d/linux-minimum.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux-minimum -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-minimum.img
==> Starting build: '6.6.3-1-minimum'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> 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]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-minimum.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
[/code]
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: mkinitcpio warns of errors, but none seen

Postby jesseF » Sun Dec 03, 2023 11:45 pm

oh, ok. That's interesting, Thanks.
jesseF
 
Posts: 24
Joined: Mon Jun 15, 2020 3:36 am

Re: mkinitcpio warns of errors, but none seen

Postby mcloaked » Thu Dec 07, 2023 8:08 pm

There is a thread on the forum under Development->Packages for the topic "mkinitcpio-37-1 upgrade error" - but other than editing out a line in one file that seems to prevent the warning about incomplete initrd, there seems no fix within the package. Also it is not reported whether or not systems continue to boot even after mkinitcpio has this warning when generating the new initrd? It would be good to know whether people's system do boot after mkinitcpio has exectuted, or not.
mcloaked
 
Posts: 83
Joined: Thu Oct 16, 2014 4:16 pm

Re: mkinitcpio warns of errors, but none seen

Postby Rapty » Sat Dec 09, 2023 5:28 pm

[quote="mcloaked"]Also it is not reported whether or not systems continue to boot even after mkinitcpio has this warning when generating the new initrd? It would be good to know whether people's system do boot after mkinitcpio has exectuted, or not.[/quote]

Hello
I didn't see the warning right away and I did reboot a few times since.
So far, no issue.
Hardware: Rpi 4
Rapty
 
Posts: 16
Joined: Sat Dec 26, 2020 5:31 pm


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 3 guests