LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-05-2019, 08:08 PM   #31
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current
Posts: 888
Blog Entries: 3

Rep: Reputation: 238Reputation: 238Reputation: 238
How to set up early load of Intel firmware


Thanks abga, I will try that if it's the sure path!

And thanks @rworkman for being the only one I found to state :
Quote:
MICROCODE_ARCH This option specifies a cpio archive containing updated microcode for your CPU. CPU manufacturers occasionally release such updates to fix bugs in the microcode currently embedded in the CPU. The microcode archive will be prepended to the output initrd, where the kernel will find it for early patching. .br Examples:
MICROCODE_ARCH="/boot/intel-ucode.cpio"
 
Old 06-05-2019, 08:26 PM   #32
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,633

Rep: Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925Reputation: 925
On Haswell (and maybe others) I had to use the early loading method with an initrd boot loader call (check the Gentoo link):
https://www.linuxquestions.org/quest...ml#post5995482
 
Old 07-29-2019, 02:52 PM   #33
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,146
Blog Entries: 6

Rep: Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414
There's new microcode at Slackbuilds, so I built and installed it. Built a new initrd for 4.4.186 and now I get this

Quote:
root@psychopig-xxxiv:/var/log# grep microcode dmesg
[ 0.000000] microcode: CPU0 microcode updated early to revision 0xa0b, date = 2010-09-28
[ 0.008671] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[ 0.002000] microcode: CPU1 microcode updated early to revision 0xa0b, date = 2010-09-28
[ 0.002000] microcode: CPU2 microcode updated early to revision 0xa0b, date = 2010-09-28
[ 0.002000] microcode: CPU3 microcode updated early to revision 0xa0b, date = 2010-09-28
[ 1.595494] microcode: CPU0 sig=0x1067a, pf=0x10, revision=0xa0b
[ 1.595561] microcode: CPU1 sig=0x1067a, pf=0x10, revision=0xa0b
[ 1.595635] microcode: CPU2 sig=0x1067a, pf=0x10, revision=0xa0b
[ 1.595709] microcode: CPU3 sig=0x1067a, pf=0x10, revision=0xa0b
[ 1.595832] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
So it seems to be loading it but it's an old version?

EDIT: an interesting difference in huge kernel for 4.4.153:

Quote:
root@psychopig-xxxiv:/var/log# grep microcode dmesg
[ 0.000000] microcode: CPU0 microcode updated early to revision 0xa0b, date = 2010-09-28
[ 0.002000] microcode: CPU1 microcode updated early to revision 0xa0b, date = 2010-09-28
[ 0.002000] microcode: CPU2 microcode updated early to revision 0xa0b, date = 2010-09-28
[ 0.002000] microcode: CPU3 microcode updated early to revision 0xa0b, date = 2010-09-28
[ 1.471549] microcode: CPU0 sig=0x1067a, pf=0x10, revision=0xa0b
[ 1.471624] microcode: CPU1 sig=0x1067a, pf=0x10, revision=0xa0b
[ 1.471702] microcode: CPU2 sig=0x1067a, pf=0x10, revision=0xa0b
[ 1.471774] microcode: CPU3 sig=0x1067a, pf=0x10, revision=0xa0b
[ 1.471862] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
i.e. no inclusion of this line

Quote:
[ 0.008671] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
I'm thinking that there's something about the firmware for 4.4.186 that isn't compatible with the newer microcode for systems like mine.

Last edited by Lysander666; 07-29-2019 at 03:32 PM.
 
Old 07-29-2019, 05:04 PM   #34
magicm
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 226

Rep: Reputation: 144Reputation: 144
That's odd. I get this:
Code:
root@igloo: Mon Jul 29 16:41:46 : /var/log
# grep microcode dmesg
[    0.000000] microcode: CPU0 microcode updated early to revision 0x2f, date = 2019-02-17
[    0.057917] microcode: CPU2 microcode updated early to revision 0x2f, date = 2019-02-17
[    4.480656] microcode: CPU0 sig=0x206a7, pf=0x10, revision=0x2f
[    4.500930] microcode: CPU1 sig=0x206a7, pf=0x10, revision=0x2f
[    4.519903] microcode: CPU2 sig=0x206a7, pf=0x10, revision=0x2f
[    4.537017] microcode: CPU3 sig=0x206a7, pf=0x10, revision=0x2f
[    4.552220] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
My hardware: Thinkpad T420s
Code:
# inxi
CPU: Dual Core Intel Core i5-2540M (-MT MCP-) speed/min/max: 1017/800/3300 MHz Kernel: 4.4.186 x86_64 Up: 25m
How is it that you told your initrd to load the new microcode? I use a mkinitrd.conf with line
Code:
MICROCODE_ARCH="/boot/intel-ucode.cpio"
 
Old 07-29-2019, 05:44 PM   #35
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,146
Blog Entries: 6

Rep: Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414
Quote:
Originally Posted by magicm View Post
How is it that you told your initrd to load the new microcode? I use a mkinitrd.conf with line
Code:
MICROCODE_ARCH="/boot/intel-ucode.cpio"
For generic, the initrd is made with -P /boot/intel-ucode.cpio

For huge,

Code:
initrd = /boot/intel-ucode.cpio
is added to lilo.conf.

Working fine in -current:

Code:
root@lysultra-vi:/var/log# grep microcode dmesg
[    0.000000] microcode: microcode updated early to revision 0xcc, date = 2019-04-01
[    4.310155] microcode: sig=0x406e3, pf=0x80, revision=0xcc
[    4.310432] microcode: Microcode Update Driver: v2.2.
root@lysultra-vi:/var/log# inxi
CPU: Dual Core Intel Core i5-6300U (-MT MCP-) speed/min/max: 2963/400/3000 MHz Kernel: 4.19.58 x86_64 Up: 11h 37m 
Mem: 1082.0/3609.0 MiB (30.0%) Storage: 148.97 GiB (37.5% used) Procs: 199 Shell: bash 5.0.7 inxi: 3.0.34
But 14.2 is giving me the issues I described above. Which is weird, esp in huge since it's the same process - just one line appended to lilo.conf.

Last edited by Lysander666; 07-29-2019 at 05:45 PM.
 
Old 08-03-2019, 02:35 PM   #36
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,146
Blog Entries: 6

Rep: Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414Reputation: 2414
OK I solved this, according to this link:

https://www.intel.com/content/dam/ww...e_05132019.pdf

my desktop processor, a Q8400 [Yorkfield], no longer receives microcode updates. And this is because Intel have admitted they can't, and won't, fix certain families

https://www.theregister.co.uk/2018/0...ocode_updates/

Last edited by Lysander666; 08-03-2019 at 02:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'Cognitive performance may peak in late summer and early fall and decline in late winter and early spring - at least in the Northern hemisp RandomTroll General 2 11-16-2018 03:12 AM
slackbuilds' intel-microcode will no longer load early grobber Slackware 2 08-25-2018 10:46 AM
How to load the ipw2100 (intel pro wireless) firmware on a live cd? hkl8324 Linux - Hardware 1 01-01-2009 10:58 PM
Unable to load firmware for Intel wireless card Crushing Belial *BSD 0 01-26-2007 03:29 PM
ipw2200 - Unable to load ucode, unable to load firmware blizinsk Linux - Wireless Networking 2 10-10-2004 08:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration