You are not logged in.

#1 2024-03-08 20:50:28

xerxes_
Member
Registered: 2018-04-29
Posts: 980

[Solved]"WARNING: Deprecated option 'ALL_microcode' found"when updated

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

#2 2024-03-08 21:06:54

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,684

Re: [Solved]"WARNING: Deprecated option 'ALL_microcode' found"when updated

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

#3 2024-03-09 11:44:58

xerxes_
Member
Registered: 2018-04-29
Posts: 980

Re: [Solved]"WARNING: Deprecated option 'ALL_microcode' found"when updated

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: 0x000000a1

And when creating kernel image by mkinitcpio now it is:

==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
   -> Early uncompressed CPIO image generation successful

So it should be OK?

Offline

#4 2024-03-09 12:53:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,684

Re: [Solved]"WARNING: Deprecated option 'ALL_microcode' found"when updated

cat /proc/cmdline

If 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

#5 2024-03-09 16:53:00

xerxes_
Member
Registered: 2018-04-29
Posts: 980

Re: [Solved]"WARNING: Deprecated option 'ALL_microcode' found"when updated

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 quiet

In /boot/grub/grub.cfg there is a line:

initrd  /intel-ucode.img /initramfs-linux.img

Offline

#6 2024-03-09 16:54:45

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,684

Re: [Solved]"WARNING: Deprecated option 'ALL_microcode' found"when updated

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

#7 2024-03-09 18:50:54

xerxes_
Member
Registered: 2018-04-29
Posts: 980

Re: [Solved]"WARNING: Deprecated option 'ALL_microcode' found"when updated

Thanks!

Offline

Board footer

Powered by FluxBB