ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Michael A. Kangin" <mak@complife.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] Обновление микрокода CPU в P7
Date: Fri, 5 Jan 2018 19:24:12 +0100
Message-ID: <29b68dbe-95e6-e0a9-73e2-f79ff05889e0@complife.ru> (raw)

Здравствуйте.

В то время, как в Сизифе/P8 просторы репозитариев бороздят такие тулзы, 
как make-initrd-ucode / iucode_tool, в P7 всё очень печально - микрокод 
от 2013 года без особой поддержки по применению.

придётся устраивать "закат солнца вручную":
- скачайте свежий микрокод с 
https://downloadcenter.intel.com/download/27337/Linux-Processor-Microcode-Data-File 
(уважаемые AMDводы, я знаю, вы умные, сами что-нибудь придумаете)
- скаченный tgz распакуйте, и скопируйте директорию intel-ucode в 
/lib/firmware/ (т.е. у вас должна получиться /lib/firmware/intel-ucode/ 
с кучей файликов вида "0f-06-08")
- в /etc/initrd.mk:
MODULES_PRELOAD+=microcode (впереди всех прочих)
PUT_FILES += /lib/firmware/intel-ucode/*
и сделайте себе новый initrd, убедясь, что в него попала и микрокодная 
фирмварь по нужному месту, и модуль microcode
- перезагрузитесь, и посмотрите dmesg. Если всё хорошо, то у вас будут 
строчки о применении микрокода сразу же после инициализации ядра:
[    0.780795] Freeing unused kernel memory: 1036K (ffffffff81887000 - 
ffffffff8198a000)
[    0.797076] microcode: CPU0 sig=0x306c3, pf=0x2, revision=0x7
[    0.797096] microcode: CPU0 sig=0x306c3, pf=0x2, revision=0x7
[    0.798502] microcode: CPU0 updated to revision 0x22, date = 2017-01-27
...
[    0.803511] microcode: Microcode Update Driver: v2.00 
<tigran@aivazian.fsnet.co.uk>, Peter Oruba

Если строчка об "Microcode Update Driver" есть, а "updated to revision" 
нету, то или фирмварь не попала или не там лежит, или же у вас слишком 
новый процессор и к нему нечего еще применять.

Виндузятникам на заметку:
https://labs.vmware.com/flings/vmware-cpu-microcode-update-driver
(сам не пробовал)


             reply	other threads:[~2018-01-05 18:24 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-05 18:24 Michael A. Kangin [this message]
2018-01-06  9:05 ` Michael Shigorin
2018-01-10 14:10 ` [Comm] Обновление микрокода CPU в P8 Sergey
2018-01-20 21:18   ` Sergey
2018-01-21 10:07     ` Sergey
2018-01-23  5:50       ` Sergey
2018-01-28  8:26       ` Sergey
2018-01-29  7:40         ` Andrew Borodin
2018-01-29  8:53           ` Sergey
2018-02-04 14:52       ` Sergey
2018-09-24 20:43         ` Sergey
2018-01-10 14:25 ` [Comm] Обновление микрокода CPU в P7 Maks Re
2018-01-10 14:51   ` Sergey
2018-01-10 15:08     ` Maks Re
2018-01-10 15:39       ` Alexey Borisenkov
2018-01-10 15:52       ` Alexey Borisenkov
2018-01-10 16:00         ` Alexey Borisenkov
2018-01-11  8:14         ` Michael Shigorin
2018-01-11 11:22           ` Sergey
2018-01-12 20:37               ` Sergey
2018-01-12 21:00                 ` Anton Gorlov
2018-01-12 21:55                   ` Sergey
2018-01-12 22:21                       ` Sergey
2018-01-13  8:34                   ` Anton Gorlov
2018-01-13 10:35                     ` Sergey
2018-01-10 15:57       ` [Comm] Обновление микрокода CPU в P8 Sergey
2018-01-14 10:47         ` Andrey Liakhovets

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29b68dbe-95e6-e0a9-73e2-f79ff05889e0@complife.ru \
    --to=mak@complife.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git