You are not logged in.
hi guys,
During an update pacman often triggers mkinitcpio but this occasionally displays an error while running, then if I reboot I cant even boot into the current kernel!
I believe this is because I use a USB hub and mkinitcpio is having trouble finding or reading it, Ive tried two different hubs actually but same error
weirdly I've never had it fail when running it manually with
sudo mkinitcpio -p linux
I tried to look at pacman hooks but mkinitcpio is not setup there
not sure what to do next apart from log an issue?
examples:
[2023-04-29T09:43:16+1000] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-04-29T09:43:16+1000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2023-04-29T09:43:16+1000] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img --microcode /boot/amd-ucode.img
[2023-04-29T09:43:16+1000] [ALPM-SCRIPTLET] ==> Starting build: '6.2.13-arch1-1'
[2023-04-29T09:43:16+1000] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2023-04-29T09:43:16+1000] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2023-04-29T09:43:16+1000] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2023-04-29T09:43:16+1000] [ALPM-SCRIPTLET] sort: cannot read: '/sys/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-2/3-2.3/3-2.3:1.2/ep_01/uevent': No such file or directory
[2023-04-29T09:43:16+1000] [ALPM-SCRIPTLET] modprobe: ERROR: missing parameters. See -h.
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img --microcode /boot/amd-ucode.img
==> Starting build: '6.3.2-arch1-1'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
sort: stat failed: '/sys/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/usb3/3-1/3-1.3/3-1.3:1.1/ep_81/uevent': No such file or directory
modprobe: ERROR: missing parameters. See -h.
Last edited by regulator (2023-11-10 00:17:01)
Offline
Offline
Thanks for the quick reply looks like the same issue I'll move to that thread
Offline