1 |
On Tuesday, 9 January 2018 07:31:35 GMT Mick wrote: |
2 |
> On Tuesday, 9 January 2018 00:15:03 GMT Peter Humphrey wrote: |
3 |
> > On Monday, 8 January 2018 10:29:41 GMT Max Zettlmeißl wrote: |
4 |
> > > > How do you build the microcode into the kernel? The only |
5 |
> > > > place I can see to do that in menuconfig is under Device Drivers; |
6 |
> > > > there's no such field under Firmware. |
7 |
> > > |
8 |
> > > The Device Drivers section is exactly where the microcode is included. |
9 |
> > > CONFIG_EXTRA_FIRMWARE is the relevant symbol. |
10 |
> > |
11 |
> > Right. So which of the 95 files under /lib/firmware/intel-ucode do I |
12 |
> > specify? That's in addition to the 14 files I have for my amdgpu. |
13 |
> |
14 |
> There may be a cleverer way, but this is how I have been doing it. |
15 |
> |
16 |
> Install sys-apps/iucode_tool. Run: |
17 |
> |
18 |
> # iucode_tool -S |
19 |
> |
20 |
> It will report the microcode signature for your CPU. For example, one of |
21 |
> mine: |
22 |
> |
23 |
> iucode_tool: system has processor(s) with signature 0x000106e5 |
24 |
> |
25 |
> |
26 |
> (Re)emerge sys-firmware/intel-microcode and capture all its output. Then |
27 |
> search for the above signature, again from the same CPU, as an example, |
28 |
> this matches: |
29 |
> |
30 |
> intel-ucode/06-1e-05 |
31 |
> signature: 0x106e5 <== |
32 |
> flags: 0x13 |
33 |
> revision: 0x07 |
34 |
> date: 2013-08-20 |
35 |
> size: 7168 |
36 |
> |
37 |
> |
38 |
> Add the first line above in your CONFIG_EXTRA_FIRMWARE and rebuild your |
39 |
> kernel. |
40 |
|
41 |
Thanks Mick. After asking that, I discovered this web page, which confirms |
42 |
your method: https://wiki.gentoo.org/wiki/Intel_microcode . Then I found |
43 |
that I was already loading the right microcode, though I really have no idea |
44 |
where I'd got the information from. |
45 |
|
46 |
Thanks to the others who answered as well. |
47 |
|
48 |
-- |
49 |
Regards, |
50 |
Peter. |