Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Microcode update AMD
Date: Tue, 18 Jan 2011 16:22:10
Message-Id: AANLkTinhJ0N39pqvkRPhHOjjv8++qNncB5u1ho5biq62@mail.gmail.com
In Reply to: Re: [gentoo-user] Microcode update AMD by Paul Hartman
1 On Tue, Jan 18, 2011 at 7:38 AM, Paul Hartman
2 <paul.hartman+gentoo@×××××.com> wrote:
3 > On Mon, Jan 17, 2011 at 10:29 PM, William Kenworthy <billk@×××××××××.au> wrote:
4 >> The bios microcode update is likely an enable setting rather than the
5 >> bios actually updating the cpu.  You need to do some reading/asking of
6 >> the manufacturers (not here) if it bothers you.
7 >
8 > Thanks for the links, I didn't realize they made the microcode data
9 > available separately.
10 >
11 > From Intel's download site for the microcode data:
12 >
13 > "The microcode data file contains the latest microcode definitions for
14 > all Intel processors. Intel releases microcode updates to correct
15 > processor behavior as documented in the respective processor
16 > specification updates. While the regular approach to getting this
17 > microcode update is via a BIOS upgrade, Intel realizes that this can
18 > be an administrative hassle. The Linux Operating System and VMware ESX
19 > products have a mechanism to update the microcode after booting. For
20 > example, this file will be used by the operating system mechanism if
21 > the file is placed in the /etc/firmware directory of the Linux
22 > system."
23 >
24 >
25 Thanks for the info Paul.
26
27 For kicks I tried it on an Intel DH55HC MB running an Core i5-661.
28
29 1) Created /etc/firmware
30 2) Downloaded the Intel microcode-20101123.tgz file
31 3) Enabled the /dev/cpu/microcode option under Processor Types and Features
32 4) Rebuilt the kernel and rebooted
33
34 I see this in dmesg:
35
36 mark@firefly ~ $ dmesg | grep micro
37 [ 0.495337] microcode: CPU0 sig=0x20652, pf=0x2, revision=0x9
38 [ 0.495436] microcode: CPU1 sig=0x20652, pf=0x2, revision=0x9
39 [ 0.495535] microcode: CPU2 sig=0x20652, pf=0x2, revision=0x9
40 [ 0.495635] microcode: CPU3 sig=0x20652, pf=0x2, revision=0x9
41 [ 0.495751] microcode: Microcode Update Driver: v2.00
42 <tigran@×××××××××××××××××.uk>, Peter Oruba
43 mark@firefly ~ $
44
45 On this machine the message doesn't change whether the microcode file
46 is located in /etc/firmware or not so I don't know how to tell if the
47 process worked but the processor doesn't need any updates or whether
48 it didn't work at all.
49
50 - Mark

Replies

Subject Author
Re: [gentoo-user] Microcode update AMD Mark Knecht <markknecht@×××××.com>