Re: centos-virt CPU microcode updates?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Not sure about CentOS 6, but this was covered previously (at least for 7...not sure how much they differ)...not that I can find the message now, but here's what I recall/pieced together from bash history that works on CentOS 7:

If the microcode you want is in the microcode_ctl package:

mkdir -p /etc/microcode_ctl/ucode_with_caveats/
touch /etc/microcode_ctl/ucode_with_caveats/force
yum reinstall microcode_ctl   (there were arguably better ways to do this part, but I cant recall) 

add ucode=scan to your GRUB_CMDLINE_XEN_DEFAULT line
grub2-mkconfig to update your grub config

Once that's done, every time microcode_ctl updates, you'll get the microcode on the next reboot just like any other centos machine.

Feel free to jump in if I missed any steps/caveats/notes, but that looks to be how I set it up on my machines last year.


> On May 16, 2019, at 12:03, Sarah Newman <srn@xxxxxxxxx> wrote:
> On 5/16/19 2:12 AM, Karel Hendrych wrote:
>> Hi,
>> is there any guide for CPU microcode updates on CentOS6, Xen 4.10, kernel 4.9 ?
> I'm not sure off the top of my head.
> You can add ucode=scan to the xen command line, add a file /path/to/microcode_file as the last item in your boot list, and generate that microcode
> file using something like:
> iucode_tool --write-earlyfw "${OUT_BLOB_FILE}" \
>            "${TEMP_DIR_NAME}/intel-ucode" \
>            "${TEMP_DIR_NAME}/intel-ucode-with-caveats"
> Where the last two items have been extracted from the intel microcode tarball.
> --Sarah
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt@xxxxxxxxxx

CentOS-virt mailing list

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     []     [Xfree86]     [Linux USB]

  Powered by Linux