🍎

時にはParabolaにIntelマイクロコードを

に公開

言い訳

すみません入れさせてください

マイクロコードについて

Intel CPUの問題に対処するためのものです。
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files

導入方法

Arch Linuxにintel-ucodeという名前でパッケージとして管理されているので、このファイルをまずダウンロードします。
https://archlinux.org/packages/extra/any/intel-ucode/

$ tar xf intel-ucode-20250512-1-any.pkg.tar.zst

/bootディレクトリ以下にintel-ucode.imgをコピーします。

$ sudo cp boot/intel-ucode.img /boot/

grub-mkconfigを使うと、自動的にintel-ucode.imgを検出し、ブート時にマイクロコードを読み込むようになります。実行後再起動します。

$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-libre
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-libre.img
Found fallback initramfs image: /boot/ intel-ucode.img initramfs-linux-libre-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done

$ sudo reboot

再起動後、dmesgを確認しマイクロコードが導入されたことを確認します。

$ sudo dmesg | grep microcode
[    1.045044] microcode: Current revision: 0x00004128

revisionが最新かどうかは、CPU毎のリビジョン番号が以下のページに掲載されているのでそこで確認できます。
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases

Discussion