Re: [CentOS-virt] centos-virt CPU microcode updates?
Ah. Here it is, I was looking too far in the past: lists.centos.org/pipermail/centos-virt/2018-September/005869.html Thanks, -Dave > On May 16, 2019, at 12:43, Anderson, Dave wrote: > > 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 > reboot > > > 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. > > > > Thanks, > -Dave > > >> On May 16, 2019, at 12:03, Sarah Newman 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@centos.org > > ___ > CentOS-virt mailing list > CentOS-virt@centos.org > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailman_listinfo_centos-2Dvirt&d=DwICAg&c=C3yme8gMkxg_ihJNXS06ZyWk4EJm8LdrrvxQb-Je7sw&r=YXRZwMwEbTMJ1t85qnlbGKfbihJPB3W_h8JMF05uQhA&m=LkCJtP7_uwWdLJRhEkdoluZYmBUSVOxe6dPUlPQdWwI&s=x4WFkXL1nLlC1VUU2iXDxUcecWoijG5S8lIlUvfFEAc&e= ___ CentOS-virt mailing list CentOS-virt@centos.org https://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] centos-virt CPU microcode updates?
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 reboot 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. Thanks, -Dave > On May 16, 2019, at 12:03, Sarah Newman 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@centos.org ___ CentOS-virt mailing list CentOS-virt@centos.org https://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] centos-virt CPU microcode updates?
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@centos.org https://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-virt] centos-virt CPU microcode updates?
Hi, is there any guide for CPU microcode updates on CentOS6, Xen 4.10, kernel 4.9 ? Thanks Karel ___ CentOS-virt mailing list CentOS-virt@centos.org https://lists.centos.org/mailman/listinfo/centos-virt