You are not logged in.

#1 2023-10-01 08:28:33

ThePeach
Member
From: Berlin, DE
Registered: 2014-06-08
Posts: 40
Website

Kernel upgrade gets stuck at keymap build hook.

Hello since upgrading to linux 6.5.3 and now with 6.5.5 I've experienced the upgrade process hanging at the build hook keymap:

...
(11/22) Updating linux initcpios...
==> 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 --microcode /boot/intel-ucode.img
==> Starting build: '6.5.5-arch1-1'
  -> 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]

If I try to reboot the system won't start (as somehow expected).

Any idea what's up with this? first time I'm seeing this situation...

I have to reboot with the arch image and the manual install works fine, so it's definitely something going on with my installation that breaks things.

Last edited by ThePeach (2023-10-01 09:06:34)

Offline

#2 2023-11-23 22:22:58

ThePeach
Member
From: Berlin, DE
Registered: 2014-06-08
Posts: 40
Website

Re: Kernel upgrade gets stuck at keymap build hook.

Update:

The previous error went away on its own, after trying to install and reinstall the kernel manually a few times.
Today it happened again with the latest linux kernel update linux-6.6.2.arch1-1. No idea what is triggering it....

( 7/13) Updating linux initcpios...
==> 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 --microcode /boot/intel-ucode.img
==> Starting build: '6.6.2-arch1-1'
  -> 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]



^C
Interrupt signal received
error: command terminated by signal 2: Interrupt
( 8/13) Reloading system bus configuration...

tried to re-run it manually with

pacman -U file://...

and same happened. Previous version hangs as well
now I'm worried of restarting the kernel

Last edited by ThePeach (2023-11-23 22:25:57)

Offline

#3 2023-11-23 22:31:04

loqs
Member
Registered: 2014-03-06
Posts: 17,413

Re: Kernel upgrade gets stuck at keymap build hook.

What if you run mkinitcpio for the linux preset manually?

# mkinitcpio -p linux

Offline

#4 2023-11-23 22:51:38

Potomac
Member
Registered: 2011-12-25
Posts: 528

Re: Kernel upgrade gets stuck at keymap build hook.

I notice another errors during hook step for kernel linux 6.6.2 :

==> Starting build: '6.6.2-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [filesystems]
==> WARNING: Possibly missing '/usr/bin/python3' for script: /usr/bin/mount.fuse.ceph
==> ERROR: binary dependency 'libboost_thread.so.1.79.0' not found for 'mount.ceph'
==> ERROR: binary dependency 'libboost_iostreams.so.1.79.0' not found for 'mount.ceph'
==> ERROR: binary dependency 'libfmt.so.9' not found for 'mount.ceph'
  -> Running build hook: [keyboard]
  -> 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.

Last edited by Potomac (2023-11-23 22:52:17)

Offline

#5 2023-11-23 22:57:09

loqs
Member
Registered: 2014-03-06
Posts: 17,413

Re: Kernel upgrade gets stuck at keymap build hook.

==> ERROR: binary dependency 'libboost_thread.so.1.79.0' not found for 'mount.ceph'
==> ERROR: binary dependency 'libboost_iostreams.so.1.79.0' not found for 'mount.ceph'
==> ERROR: binary dependency 'libfmt.so.9' not found for 'mount.ceph

You did not rebuild the AUR package ceph after you upgraded  the boost and fmt packages.  How do you believe that is related to ThePeach's issue?

Offline

#6 2023-11-23 22:59:58

Potomac
Member
Registered: 2011-12-25
Posts: 528

Re: Kernel upgrade gets stuck at keymap build hook.

I didn't install AUR package,

probably ceph package is now an orphan package.

Problem solved after uninstall of ceph package.

Sorry for the confusion.

Last edited by Potomac (2023-11-23 23:03:41)

Offline

#7 2023-11-23 23:12:45

loqs
Member
Registered: 2014-03-06
Posts: 17,413

Re: Kernel upgrade gets stuck at keymap build hook.

Potomac wrote:

probably ceph package is now an orphan package.

System_maintenance#Check_for_orphans_and_dropped_packages

Last edited by loqs (2023-11-23 23:13:52)

Offline

#8 2023-11-25 13:06:21

Bernd Michaely
Member
Registered: 2015-02-08
Posts: 12

Re: Kernel upgrade gets stuck at keymap build hook.

I had the same problem with the ceph package dependency, solved now, Thanks!

Offline

#9 2023-11-26 22:40:00

seth
Member
Registered: 2012-09-03
Posts: 51,494

Re: Kernel upgrade gets stuck at keymap build hook.

As for the OP and assuming it hangs in the keymap hook:

tail -n 1024 /etc/{vconsole,locale,mkinitcpio}.conf

Offline

Board footer

Powered by FluxBB