Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] intel microcode not loading for skylake i5-6260U
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Wallsandfences
Guru
Guru


Joined: 29 Mar 2010
Posts: 367

PostPosted: Wed Jan 10, 2018 3:36 pm    Post subject: [Solved] intel microcode not loading for skylake i5-6260U Reply with quote

[Solved]
Since I have updated my 'bios' on my NUC 6i5SYK to version 0065 I'm experiencing very strange behaviour. Prior to the upate, I installed the intel microcode as kernel blob as mentioned in the wiki.
With bios 0064, it loaded. Now, it does not load anymore.

Code:
dmesg | grep microcode
[    0.598378] microcode: sig=0x406e3, pf=0x40, revision=0xc2
[    0.598451] microcode: Microcode Update Driver: v2.2.


According to
Code:
iucode_tool -S -l /lib/firmware/intel-ucode/*
iucode_tool: system has processor(s) with signature 0x000406e3


ist should read instead:

Code:
selected microcodes:
  059/001: sig 0x000406e3, pf_mask 0xc0, 2017-11-16, rev 0x00c2, size 99328


so the blob is apparently not loaded, although its present:

Code:
Ganymed /usr/src/linux # ls -l /lib/firmware/intel-ucode/06-4e-03
-rw-r--r-- 1 root root 198656 10. Jan 12:07 /lib/firmware/intel-ucode/06-4e-03


Code:

Ganymed /usr/src/linux # cat .config | grep MICROCODE
CONFIG_MICROCODE=y
CONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set
CONFIG_MICROCODE_OLD_INTERFACE=y


Code:
Ganymed /usr/src/linux # cat .config | grep FIRMWARE
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="intel-ucode/06-4e-03 i915/skl_dmc_ver1_26.bin i915/skl_guc_ver6_1.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
# CONFIG_CYPRESS_FIRMWARE is not set
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_GOOGLE_FIRMWARE is not set
# CONFIG_TEST_FIRMWARE is not set


The drm-firmware gets loaded, btw.:

Code:
dmesg  | grep drm
...
[    0.295277] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_26.bin (v1.26)




That is not the only strange behaviour: I can't get a lock on config.gz as well:

Code:
zcat /proc/config.gz
gzip: /proc/config.gz: No such file or directory


Which is strange, because

Code:
Ganymed /usr/src/linux # cat .config | grep IKCONFIG
CONFIG_IKCONFIG=m
CONFIG_IKCONFIG_PROC=y

(And yes, it's the only kernel:
Code:
Ganymed /usr/src # LC_ALL=C ls -l
total 4
lrwxrwxrwx  1 root root   20 Jan  8 11:37 linux -> linux-4.14.12-gentoo
drwxr-xr-x 26 root root 4096 Jan 10 15:55 linux-4.14.12-gentoo
)

I made sure, that my running kernel is my last one by deleting all other instances of bootx64.efi, vmlinuz etc. across the system.

Code:
Ganymed /boot # LC_ALL=C ls -l
total 10717
-rwxr-xr-x 1 root root 2995488 Jan 10 15:55 System.map-4.14.12-gentoo
-rwxr-xr-x 1 root root  120834 Jan 10 15:55 config-4.14.12-gentoo
drwxr-xr-x 3 root root     512 Mar  8  2016 efi
-rwxr-xr-x 1 root root 7856176 Jan 10 15:55 vmlinuz-4.14.12-gentoo



Code:
Ganymed /boot/efi/boot # ls -l
insgesamt 7673
-rwxr-xr-x 1 root root 7856176 10. Jan 15:57 bootx64.efi


Code:
Ganymed /usr/src/linux # uname -a
Linux Ganymed 4.14.12-gentoo #2 SMP Wed Jan 10 15:49:52 CET 2018 x86_64 Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz GenuineIntel GNU/Linux


So, I can't the hell figure out what goes on here. Why is the blob not being loaded? Why is zcat not finding my config.gz?


Last edited by Wallsandfences on Wed Jan 10, 2018 4:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5862

PostPosted: Wed Jan 10, 2018 4:03 pm    Post subject: Reply with quote

Code:
[    0.598378] microcode: sig=0x406e3, pf=0x40, revision=0xc2


Code:
  059/001: sig 0x000406e3, pf_mask 0xc0, 2017-11-16, rev 0x00c2, size 99328


same version, nothing to update. 8)
Back to top
View user's profile Send private message
Wallsandfences
Guru
Guru


Joined: 29 Mar 2010
Posts: 367

PostPosted: Wed Jan 10, 2018 4:07 pm    Post subject: Reply with quote

so 'pf' and 'pf-mask' are two different things?

further, I was (am) under the impression, that the kernel patch closes the path for 'meltdown', and the bios update partly mitigates the performance penalty coming with the kernel patch, so this is wrong?

If so, only the config.gz miracle is still valid....
Back to top
View user's profile Send private message
Wallsandfences
Guru
Guru


Joined: 29 Mar 2010
Posts: 367

PostPosted: Wed Jan 10, 2018 4:19 pm    Post subject: Reply with quote

Have you ever been confronted with the deep feeling of shame in the public? Like me 2 minutes ago, when I issued
Code:
modprobe config
and have then my zcat /proc/config.gz command working??

:oops: :oops: :oops:
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5862

PostPosted: Wed Jan 10, 2018 4:28 pm    Post subject: Reply with quote

a bios update can include updated microcode, which is a more permanent solution than in-kernel loading. maybe what you have is the newest available.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum