You are not logged in.
Recently, when I was updating the system and kernel image was created, I saw this message:
WARNING: Deprecated option 'ALL_microcode' found. Update '/etc/mkinitcpio.d/linux.preset' to use the 'microcode' hook instead.So should I comment out or remove "ALL_microcode=(/boot/*-ucode.img)" line from /etc/mkinitcpio.d/linux.preset file and it will be enough to use new 'microcode' hook or I have to do something more?
Last edited by xerxes_ (2024-03-09 18:52:27)
Offline
Remove the deprecated option, whether you want to use the microcode hook or the bootloader commandline depends on whether you want to use https://wiki.archlinux.org/title/Microc … ly_loading (typically: yes) and otherwise on whether you're using UKIs and otherwise on personal preferences.
If you have the µcode in your initrd line, you don't need the microcode hook (for early loading)
If you want to use a UKI, you'll need it (for early loading)
Offline
I comment out line "ALL_microcode=(/boot/*-ucode.img)" from "/etc/mkinitcpio.d/linux.preset" file and didn't done anything else.
Before that I have in logs:
kernel: microcode: updated early: 0xa1 -> 0xa4, date = 2010-10-02
kernel: microcode: Microcode Update Driver: v2.2.after that now is:
kernel: microcode: Current revision: 0x000000a4
kernel: microcode: Updated early from: 0x000000a1And when creating kernel image by mkinitcpio now it is:
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
-> Early uncompressed CPIO image generation successfulSo it should be OK?
Offline
cat /proc/cmdlineIf you're not using the microcode hook this is (likely) done by the bootloader having sth. like "initrd /boot/cpu_manufacturer-ucode.img /boot/initramfs-linux.img" and in that case you're ok, yes.
Offline
No microcode option in 'cat /proc/cmdline':
BOOT_IMAGE=/vmlinuz-linux root=UUID=1a0659bb-875c-4c74-ac13-24810b9e1fda rw loglevel=3 zswap.enabled=1 zswap.zpool=z3fold quietIn /boot/grub/grub.cfg there is a line:
initrd /intel-ucode.img /initramfs-linux.imgOffline
In /boot/grub/grub.cfg there is a line
That should be relevant and the source of the early µcode update, even if not preserved into the cmdline.
Offline
Thanks!
Offline