Как прогрузить микрокод (microcode-20180312.tgz) в CPU от интел в ОС SLES11SP4

Как прогрузить микрокод (https://downloadmirror.intel.com/27591/eng/microcode-20180312.tgz) в CPU от Интел в ОС SLES11SP4?

обновить пакет kernel-firmware

В общем, если есть подписка, то можно скачать c сайта https://download.suse.com/patch/finder/ и установить пакет microcode_ctl-1.17-102.83.15.1.src.rpm.

rpm -Uhv microcode_ctl-1.17-102.83.15.1.src.rpm

reboot

Получаем:

dmesg | grep microcode 13.292403] microcode: CPU0 sig=0x206a7, pf=0x2, revision=0x28

13.350873] microcode: CPU0 updated to revision 0x2d, date = 2018-02-07
13.350884] microcode: CPU1 sig=0x206a7, pf=0x2, revision=0x28
13.351205] microcode: CPU1 updated to revision 0x2d, date = 2018-02-07
13.351214] microcode: CPU2 sig=0x206a7, pf=0x2, revision=0x28
13.351511] microcode: CPU2 updated to revision 0x2d, date = 2018-02-07
13.351547] microcode: CPU3 sig=0x206a7, pf=0x2, revision=0x28
13.351866] microcode: CPU3 updated to revision 0x2d, date = 2018-02-07
13.351898] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

Если подписки нет, то:

wget -P /tmp https://downloadmirror.intel.com/27591/eng/microcode-20180312.tgz

cd /tmp

mkdir firmware

cd firmware

tar xvf /tmp/microcode-20180312.tgz

cp -rv /tmp/firmware/microcode.dat /etc

cp -rv /tmp/firmware/intel-ucode/* /lib/firmware/intel-ucode/

microcode_ctl -u

mkinitrd

Перезагрузим наш сервер:

reboot

Получаем:

dmesg | grep microcode

13.292403] microcode: CPU0 sig=0x206a7, pf=0x2, revision=0x28
13.350873] microcode: CPU0 updated to revision 0x2d, date = 2018-02-07
13.350884] microcode: CPU1 sig=0x206a7, pf=0x2, revision=0x28
13.351205] microcode: CPU1 updated to revision 0x2d, date = 2018-02-07
13.351214] microcode: CPU2 sig=0x206a7, pf=0x2, revision=0x28
13.351511] microcode: CPU2 updated to revision 0x2d, date = 2018-02-07
13.351547] microcode: CPU3 sig=0x206a7, pf=0x2, revision=0x28
13.351866] microcode: CPU3 updated to revision 0x2d, date = 2018-02-07
13.351898] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

rebuild src rpm https://build.opensuse.org/package/show/openSUSE:Factory/ucode-intel

Ошибся немного, вместо пакета microcode_ctl-1.17-102.83.15.1.src.rpm, нужно установить пакет microcode_ctl-1.17-102.83.15.1.x86_64.rpm.

Подправил ниже, может кому пригодится:

Скачать c сайта https://download.suse.com/patch/finder/ и установить пакет microcode_ctl-1.17-102.83.15.1.x86_64.rpm.

rpm -Uhv microcode_ctl-1.17-102.83.15.1.x86_64.rpm

reboot

Получаем:

dmesg | grep microcode 13.292403] microcode: CPU0 sig=0x206a7, pf=0x2, revision=0x28

13.292403] microcode: CPU0 sig=0x206a7, pf=0x2, revision=0x28
13.350873] microcode: CPU0 updated to revision 0x2d, date = 2018-02-07
13.350884] microcode: CPU1 sig=0x206a7, pf=0x2, revision=0x28
13.351205] microcode: CPU1 updated to revision 0x2d, date = 2018-02-07
13.351214] microcode: CPU2 sig=0x206a7, pf=0x2, revision=0x28
13.351511] microcode: CPU2 updated to revision 0x2d, date = 2018-02-07
13.351547] microcode: CPU3 sig=0x206a7, pf=0x2, revision=0x28
13.351866] microcode: CPU3 updated to revision 0x2d, date = 2018-02-07
13.351898] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

Если подписки нет, то:

wget -P /tmp https://downloadmirror.intel.com/275…e-20180312.tgz

cd /tmp

mkdir firmware

cd firmware

tar xvf /tmp/microcode-20180312.tgz

cp -rv /tmp/firmware/microcode.dat /etc

cp -rv /tmp/firmware/intel-ucode/* /lib/firmware/intel-ucode/

microcode_ctl -u

mkinitrd

Перезагрузим наш сервер:

reboot

Получаем:

dmesg | grep microcode

13.292403] microcode: CPU0 sig=0x206a7, pf=0x2, revision=0x28
13.350873] microcode: CPU0 updated to revision 0x2d, date = 2018-02-07
13.350884] microcode: CPU1 sig=0x206a7, pf=0x2, revision=0x28
13.351205] microcode: CPU1 updated to revision 0x2d, date = 2018-02-07
13.351214] microcode: CPU2 sig=0x206a7, pf=0x2, revision=0x28
13.351511] microcode: CPU2 updated to revision 0x2d, date = 2018-02-07
13.351547] microcode: CPU3 sig=0x206a7, pf=0x2, revision=0x28
13.351866] microcode: CPU3 updated to revision 0x2d, date = 2018-02-07
13.351898] microcode: Microcode Update Driver: v2.00 &lt;[EMAIL="tigran@aivazian.fsnet.co.uk"]tigran@aivazian.fsnet.co.uk[/EMAIL]&gt;, Peter Oruba

A bad way for SLES11SP4!!!