Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #273297

Re: Is the CPU microcode updated?

From Jörg-Volker Peetz <jvpeetz@web.de>
Newsgroups linux.debian.user
Subject Re: Is the CPU microcode updated?
Date 2024-09-26 15:00 +0200
Message-ID <JqWga-eXPm-15@gated-at.bofh.it> (permalink)
References <Jqjy9-ezFV-9@gated-at.bofh.it> <JqzMB-eJEp-7@gated-at.bofh.it> <JqBOp-eL7I-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Franco,

Franco Martelli wrote on 25/09/2024 17:07:
> 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
<snip>

A new microcode for your CPU should be inside of

/usr/lib/firmware/amd-ucode/microcode_amd_fam15h.bin

since it says 'family: 0x15' in your output.
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.

Regards,
Jörg.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Is the CPU microcode updated? Franco Martelli <martellif67@gmail.com> - 2024-09-24 21:40 +0200
  Re: Is the CPU microcode updated? Jeffrey Walton <noloader@gmail.com> - 2024-09-25 01:00 +0200
    Re: Is the CPU microcode updated? Franco Martelli <martellif67@gmail.com> - 2024-09-25 17:10 +0200
  Re: Is the CPU microcode updated? Jörg-Volker Peetz <jvpeetz@web.de> - 2024-09-25 15:00 +0200
    Re: Is the CPU microcode updated? Franco Martelli <martellif67@gmail.com> - 2024-09-25 17:10 +0200
      Re: Is the CPU microcode updated? Dan Ritter <dsr@randomstring.org> - 2024-09-25 18:40 +0200
        Re: Is the CPU microcode updated? Franco Martelli <martellif67@gmail.com> - 2024-09-25 21:40 +0200
          Re: Is the CPU microcode updated? Dan Ritter <dsr@randomstring.org> - 2024-09-25 22:10 +0200
          Re: Is the CPU microcode updated? Michel Verdier <mv524@free.fr> - 2024-09-26 10:40 +0200
            Re: Is the CPU microcode updated? Franco Martelli <martellif67@gmail.com> - 2024-09-26 15:40 +0200
      Re: Is the CPU microcode updated? Jörg-Volker Peetz <jvpeetz@web.de> - 2024-09-26 15:00 +0200
        Re: Is the CPU microcode updated? Henrik Ahlgren <pablo@seestieto.com> - 2024-09-27 09:50 +0200
        objtool errors message while compiling the Kernel (was: Is the CPU  microcode updated?) Franco Martelli <martellif67@gmail.com> - 2024-09-27 15:20 +0200

csiph-web