1 |
On Saturday 30 Apr 2016 10:24:43 Mick wrote: |
2 |
> On Saturday 30 Apr 2016 09:29:08 Neil Bothwick wrote: |
3 |
> > On Sat, 30 Apr 2016 09:07:29 +0100, Mick wrote: |
4 |
> > > I seem to have mislaid my microcode somewhere, in the latest stable |
5 |
> > > gentoo kernel: |
6 |
> > > |
7 |
> > > # grep -i MICROCODE .config |
8 |
> > > # |
9 |
> > |
10 |
> > Grepping .config is unreliable, and always has been. You should use the |
11 |
> > search option in make menuconfig. If th eoption you want does not show |
12 |
> > up |
13 |
> > in .config, you are probably missing one of the options it depends on. |
14 |
> |
15 |
> Thanks Neil, I use both, especially if grepping does not reveal what I am |
16 |
> looking for. |
17 |
> |
18 |
> > The search results show what they are and whether they are set. I get |
19 |
> > this |
20 |
> > |
21 |
> > Symbol: MICROCODE [=y] |
22 |
> > |
23 |
> > Type : boolean |
24 |
> > Prompt: CPU microcode loading support |
25 |
> > Location: |
26 |
> > (1) -> Processor type and features |
27 |
> > |
28 |
> > Defined at arch/x86/Kconfig:1159 |
29 |
> > Depends on: CPU_SUP_AMD [=y] || CPU_SUP_INTEL [=y] |
30 |
> > Selects: FW_LOADER [=y] |
31 |
> |
32 |
> Yes, I got (almost) the same and it shows that MICROCODE is a top level |
33 |
> module, but I can't see it when I walk through the 'Processor type and |
34 |
> features' contents. Fine, my eyesight is not what it used to be, but it |
35 |
> can't be this bad! :p |
36 |
> |
37 |
> Symbol: MICROCODE [=n] |
38 |
> Type : boolean |
39 |
> Prompt: CPU microcode loading support |
40 |
> Location: |
41 |
> (1) -> Processor type and features |
42 |
> Defined at arch/x86/Kconfig:1125 |
43 |
> Depends on: (CPU_SUP_AMD [=y] || CPU_SUP_INTEL [=y]) && BLK_DEV_INITRD |
44 |
> Selects: FW_LOADER [=y] |
45 |
|
46 |
It seems to require BLK_DEV_INITRD if my logic is still up to scratch. What |
47 |
happens if you set this; does MICROCODE appear then? |
48 |
|
49 |
This is odd, because I see this, searching from the /usr/src/ directory: |
50 |
|
51 |
peak src # grep MICROCODE linux-4.4.6-gentoo/.config |
52 |
# |
53 |
|
54 |
peak src # grep MICROCODE linux-4.4.7-gentoo/.config |
55 |
CONFIG_MICROCODE=y |
56 |
CONFIG_MICROCODE_INTEL=y |
57 |
# CONFIG_MICROCODE_AMD is not set |
58 |
CONFIG_MICROCODE_OLD_INTERFACE=y |
59 |
|
60 |
peak src # grep MICROCODE linux-4.5.0-gentoo-r1/.config |
61 |
# |
62 |
|
63 |
peak src # grep MICROCODE linux-4.5.1-gentoo/.config |
64 |
CONFIG_MICROCODE=y |
65 |
CONFIG_MICROCODE_INTEL=y |
66 |
# CONFIG_MICROCODE_AMD is not set |
67 |
CONFIG_MICROCODE_OLD_INTERFACE=y |
68 |
|
69 |
So the rules seem to change with succeeding versions of the kernel. Not sure |
70 |
what to suggest here. |
71 |
|
72 |
(I've been playing with lots of versions of kernel, boinc, virtualbox and |
73 |
others recently, which is why I still have those kernel sources installed. |
74 |
I've compiled and booted all of them at various times.) |
75 |
|
76 |
-- |
77 |
Rgds |
78 |
Peter |