View previous topic :: View next topic |
Author |
Message |
Moonboots Apprentice
Joined: 02 Dec 2006 Posts: 161
|
Posted: Sat Jan 06, 2018 5:56 pm Post subject: Amd Zen µcode not loading ? |
|
|
With frequent motherboard bios updates for the Asus 350M-A , i have relied on those for any potential ucode updates.
But with "Spectre" bug i decided to update via the kernel following the instructions on https://wiki.gentoo.org/wiki/AMD_microcode by adding amd-ucode/microcode_amd.bin amd-ucode/microcode_amd_fam17h.bin to the end of list of amdgpu firmware entries. But on rebooting and regarding dmesg i don't see any update and the patch_level is as before ?
My cpu is a Ryzen 1700 and https://wiki.gentoo.org/wiki/Project:Security/Vulnerabilities/Meltdown_and_Spectre mentions "A CPU microcode update was added which will disables branch prediction on AMD family 17h processors (800F12 only)"
I haven't been able to find what 800F12 corresponds to ?
Any help would br gratefully received |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Sat Jan 06, 2018 8:52 pm Post subject: |
|
|
Moonboots,
You also need Code: | CONFIG_MICROCODE_AMD=y | in your kernel.
Checx the build date/time of your running kernel as shown by just in case you are not running the kernel you think you are.
When all is well, dmesg will show Code: | [ 2.529716] microcode: microcode updated early to new patch_level=0x010000dc | or whatever the version is for Ryzen.
That's from my Phenom II. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Moonboots Apprentice
Joined: 02 Dec 2006 Posts: 161
|
Posted: Sat Jan 06, 2018 9:24 pm Post subject: |
|
|
NeddySeagoon
Thank you , but CONFIG_MICROCODE_AMD=y is already in my kernel by selecting "AMD microcode patch loading support" from https://wiki.gentoo.org/wiki/AMD_microcode
I'm booting from efi stub kernel without Initramfs , if that is potentially a problem ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Sat Jan 06, 2018 9:59 pm Post subject: |
|
|
Moonboots,
I have my microcode built into the kernel as that wiki page suggests.
I have an initrd too for raid and LVM but its strictly user space tools from 2009.
In short its not a problem.
Did you check that you are running the kernel you think you are?
Code: | uname -a
Linux NeddySeagoon_Static 4.15.0-rc4 #5 SMP PREEMPT Sat Jan 6 13:25:26 GMT 2018 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linux |
Sat Jan 6 13:25:26 GMT 2018 is the build time of my running kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
marcuse n00b
Joined: 17 Jan 2003 Posts: 25
|
|
Back to top |
|
|
thumper Guru
Joined: 06 Dec 2002 Posts: 552 Location: Venice FL
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
|
Back to top |
|
|
Moonboots Apprentice
Joined: 02 Dec 2006 Posts: 161
|
Posted: Sun Jan 07, 2018 6:23 am Post subject: |
|
|
Thanks everyone
Yes Neddy i was running the expected kernel.
@marcuse @thumper Hopefully there will be more information on this µcode update in the coming days.
@Naib There is a gatewaytime-out on both links at the moment, so i'll try later on. |
|
Back to top |
|
|
Moonboots Apprentice
Joined: 02 Dec 2006 Posts: 161
|
|
Back to top |
|
|
|