On 25/09/24 at 14:58, J�rg-Volker Peetz wrote:
What is the output of
sudo dmesg | grep -E '(microcode|model)'
?
This should show information about your CPU model and if its microcode
is actually updated.
Regards,
J�rg.
It returns:
~# dmesg | grep -E '(microcode|model)'
[ 0.131534] smpboot: CPU0: AMD FX(tm)-8350 Eight-Core Processor (family: 0x15, model: 0x2, stepping: 0x0)
[ 0.470751] microcode: microcode updated early to new patch_level=0x06000852
[ 0.470889] microcode: CPU0: patch_level=0x06000852
[ 0.470968] microcode: CPU1: patch_level=0x06000852
[ 0.471078] microcode: CPU2: patch_level=0x06000852
[ 0.471166] microcode: CPU3: patch_level=0x06000852
[ 0.471276] microcode: CPU4: patch_level=0x06000852
[ 0.471360] microcode: CPU5: patch_level=0x06000852
[ 0.471438] microcode: CPU6: patch_level=0x06000852
[ 0.471523] microcode: CPU7: patch_level=0x06000852
[ 0.471627] microcode: Microcode Update Driver: v2.2.
Is the CPU updated to the latest microcode?
On 25/09/24 at 18:16, Dan Ritter wrote:
Is the CPU updated to the latest microcode?Yes.
Resources I needed to find that out for you: https://www.cpu-world.com/cgi-bin/CPUID.pl?CPUID=22328
Thank you for the time you spent for me
and
https://github.com/platomav/CPUMicrocodes/blob/master/AMD/cpu00600F20_ver06000852_2018-02-06_893C1544.bin
So the CPU's microcode currently installed is dated February 2018, am I right?
What I'm looking for it was a procedure to discover if the CPU's microcode
is synced with that provided by "amd64-microcode" package. Like that posted by Jeffrey Walton:
The file that contains the microcode for my CPU is dated April 2022:
$ LANG=C ls -l /lib/firmware/amd-ucode/microcode_amd_fam15h.bin
-rw-r--r-- 1 root root 7876 Apr 15 2022
/lib/firmware/amd-ucode/microcode_amd_fam15h.bin
The issue is that I'm running an homemade Kernel image that it had the CONFIG_MICROCODE_AMD item disabled by me mistakenly, so I'm not sure that the microcode of my CPU was updated. Of course I've rebuild and installed a new kernel with that item enabled before rebooting.
On 25/09/24 at 14:58, Jörg-Volker Peetz wrote:<snip>
What is the output of
sudo dmesg | grep -E '(microcode|model)'
?
This should show information about your CPU model and if its microcode is
actually updated.
Regards,
Jörg.
It returns:
~# dmesg | grep -E '(microcode|model)'
[ 0.131534] smpboot: CPU0: AMD FX(tm)-8350 Eight-Core Processor (family:
0x15, model: 0x2, stepping: 0x0)
[ 0.470751] microcode: microcode updated early to new patch_level=0x06000852
[ 0.470889] microcode: CPU0: patch_level=0x06000852
There is a little program on https://github.com/AMDESE/amd_ucode_info to look
into the microcode file. For the package amd64-microcode on Debian testing version 3.20240820.1 it yields:
$ amd_ucode_info.py /usr/lib/firmware/amd-ucode/microcode_amd_fam15h.bin Microcode patches in xx/usr/lib/firmware/amd-ucode/microcode_amd_fam15h.bin:
Family=0x15 Model=0x01 Stepping=0x02: Patch=0x0600063e Length=2592 bytes
Family=0x15 Model=0x02 Stepping=0x00: Patch=0x06000852 Length=2592 bytes
Family=0x15 Model=0x10 Stepping=0x01: Patch=0x06001119 Length=2592 bytes
So yes, your CPU microcode is up-to-date.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 146:13:50 |
| Calls: | 12,089 |
| Calls today: | 2 |
| Files: | 15,000 |
| Messages: | 6,517,501 |