{{tag>centos microcode cpu}} ====== Update Microcode ====== This example is for Intel CPU Microcode. ===== Install the necessary packages ===== yum install linux-firmware microcode_ctl ===== Check for current version ===== dmesg | grep 'microcode' ==== Example Result ==== [ 0.872172] microcode: sig=0x906e9, pf=0x2, revision=0x5e [ 0.872692] microcode: Microcode Update Driver: v2.2. ===== Unpack microcode archive ===== tar zxfv microcode-20180108.tgz ===== Copy new microcode ===== ==== Check reload exists : ==== ls -l /sys/devices/system/cpu/microcode/reload ==== Copy all unpacked files of intel-ucode: ==== cp -v intel-ucode/* /lib/firmware/intel-ucode/ ==== Set reload to True ==== echo 1 > /sys/devices/system/cpu/microcode/reload ===== Update current initramfs ===== drakut -f ===== Finish ===== Reboot the server. ===== Verify ===== To verify your update you can again: dmesg | grep 'microcode' ==== Example Result ==== After [ 0.000000] microcode: microcode updated early to revision 0x80, date = 2018-01-04 [ 0.872172] microcode: sig=0x906e9, pf=0x2, revision=0x80 [ 0.872692] microcode: Microcode Update Driver: v2.2.