
Code: Select all
ASUS-G75VW roman # emerge -s intel-microcode
[ Results for search key : intel-microcode ]
Searching...
* sys-firmware/intel-microcode
Latest version available: 20161104
Latest version installed: [ Not Installed ]
Size of files: 1.260 KiB
Homepage: http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=26400
Description: Intel IA32/IA64 microcode update data
License: intel-ucode
[ Applications found : 1 ]

Nope this was the suggested way recently (less than a year)npaust wrote: Also, your mention of needing to use an initramfs to do early loading of microcode is outdated.

Code: Select all
$ dmesg | head
[ 0.000000] microcode: microcode updated early to revision 0x1c, date = 2014-07-03
[ 0.000000] Linux version 4.9.2 (root@EIS) (gcc version 5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) ) #2 SMP Tue Jan 10 17:57:46 CET 2017

Code: Select all
menuentry ' ... ' {
insmod part_gpt
set root='hd0,gpt2'
echo ' ... '
linux /...
initrd /early_ucode.cpio /initramfs-genkernel-x86_64-4.2.3-gentoo
}
Not really, depends on how buggy your system is, which in turn depends on what processor you have and also on what revision of microcode is already preloaded into it by your BIOS/UEFI. And it is always possible your usage pattern never triggers whatever bugs are still unpatched in your processor.npaust wrote:Somehow, in my decade of using gentoo, I completely missed the fact that I need to include microcode in my kernel. I guess it's really more of an optimization than a need!
Microcode 0x206c2 is a "bit special", in that newer revisions of it have high chances of bricking Intel TXT on motherboards with a BIOS/UEFI that is too old. By "high chances" I mean nobody tested and reported back, so we have to assume the worst just in case it really bricks Intel TXT.npaust wrote: The processor in question is a Intel Xeon x5650 with a signature of x206c2. If you look at the Intel documentation pages, the 20150121 microcode package specifically references this processor. However, when I emerge that package, there's no microcode with that signature.
Quite the opposite. For server use, you have a Processor from Hell if your BIOS/UEFI is not running it at a suitably high microcode revision level. I would never trust anything Xeon 36xx/56xx that can't be updated to at least revision 0x15 to server work (and for critical server work I would require revision 0x1a or higher).npaust wrote: Is this normal? Do I have a perfect processor that's never needed revisions? Is the microcode package in portage defective and missing my processor? Or, is there some simple thing that I'm just overlooking?
Code: Select all
-------[ MC Extractor v1.13.2 r52 ]-------
File (1/1): 7G3_0360.bin
+---+-------+--------------+----------+------------+---------+--------+----------+---------+--------+
| # | CPUID | Platform | Version | Date | Release | Size | Checksum | Offset | Latest |
+---+-------+--------------+----------+------------+---------+--------+----------+---------+--------+
| 1 | 106A5 | 03 [0, 1] | 1B | 2015-06-27 | PRD | 0x2800 | B57A8827 | 0x70050 | Yes |
+---+-------+--------------+----------+------------+---------+--------+----------+---------+--------+
| 2 | 106A4 | 03 [0, 1] | 13 | 2015-06-30 | PRD | 0x3800 | 35DDB232 | 0x72850 | Yes |
+---+-------+--------------+----------+------------+---------+--------+----------+---------+--------+
| 3 | 206C1 | 03 [0, 1] | 6 | 2009-12-22 | PRD | 0x1800 | 45E27C49 | 0x76050 | Yes |
+---+-------+--------------+----------+------------+---------+--------+----------+---------+--------+
| 4 | 206C2 | 03 [0, 1] | 1D | 2015-08-04 | PRD | 0x2400 | F7DC758B | 0x77850 | Yes |
+---+-------+--------------+----------+------------+---------+--------+----------+---------+--------+
| 5 | 206C0 | 13 [0, 1, 4] | FFFF0016 | 2009-08-20 | PRE | 0x2000 | 764EEA44 | 0x79C50 | No |
+---+-------+--------------+----------+------------+---------+--------+----------+---------+--------+
Code: Select all
$ iucode_tool -S -l /tmp/MCExtractor/Extracted/Intel/cpu206C2_plat03_ver0000001D_2015-08-04_PRD_F7DC758B.bin
iucode_tool: system has processor(s) with signature 0x000206c2
microcode bundle 1: /tmp/MCExtractor/Extracted/Intel/cpu206C2_plat03_ver0000001D_2015-08-04_PRD_F7DC758B.bin
selected microcodes:
001/001: sig 0x000206c2, pf_mask 0x03, 2015-08-04, rev 0x001d, size 9216
Code: Select all
iucode_tool cpu206C2_plat03_ver0000001D_2015-08-04_PRD_F7DC758B.bin -K
Code: Select all
[ 0.592613] microcode: sig=0x206c2, pf=0x1, revision=0x14
[ 0.592750] microcode: Microcode Update Driver: v2.2.
[ 1276.090617] microcode: updated to revision 0x1d, date = 2015-08-04
Code: Select all
[ 0.000000] microcode: microcode updated early to revision 0x1d, date = 2015-08-04
[ 0.580402] microcode: sig=0x206c2, pf=0x1, revision=0x1d
[ 0.580550] microcode: Microcode Update Driver: v2.2.
Code: Select all
[ 0.000000] microcode: microcode updated early to revision 0x1e, date = 2018-01-23
[ 0.595744] microcode: sig=0x206c2, pf=0x1, revision=0x1e
[ 0.595883] microcode: Microcode Update Driver: v2.2.
banned from #gentoo since sept 2017Neddyseagoon wrote:The problem with leaving is that you can only do it once and it reduces your influence.