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


Groups > linux.debian.user > #273300

Re: Is the CPU microcode updated?

From Franco Martelli <martellif67@gmail.com>
Newsgroups linux.debian.user
Subject Re: Is the CPU microcode updated?
Date 2024-09-26 15:40 +0200
Message-ID <JqWSS-eYh1-9@gated-at.bofh.it> (permalink)
References (1 earlier) <JqzMB-eJEp-7@gated-at.bofh.it> <JqBOp-eL7I-3@gated-at.bofh.it> <JqDdv-eLP6-1@gated-at.bofh.it> <JqG1H-eNul-7@gated-at.bofh.it> <JqScx-eVwt-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 26/09/24 at 10:29, Michel Verdier wrote:
> On 2024-09-25, Franco Martelli wrote:
> 
>> 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
> 
> Same for me. And :
> 
> # dpkg -l amd64-microcode
> ii  amd64-microcode 3.20240820.1~deb12u1 amd64        Platform firmware and microcode for AMD CPUs and SoCs

I've the same package:

ii  amd64-microcode 3.20240820.1~deb12u1 amd64        Platform firmware 
and microcode for AMD CPUs and SoCs

> 
> But I got :
> 
> # cat /proc/cpuinfo | grep microcode
> microcode	: 0xa601206
> [x cpu nb]

If you have the same CPU this is really unusual, likely you have a newer 
CPU, I've a:

~$ grep "model name" /proc/cpuinfo | head -1
model name      : AMD FX(tm)-8350 Eight-Core Processor

> Previously you said :
> 
>> 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.
> 
> I also build my custom kernel. I use sources from 6.10.6-1~bpo12+1. I
> have no CONFIG_MICROCODE_AMD but a CONFIG_MICROCODE set by
> CONFIG_CPU_SUP_AMD. Which kernel version do you use ?

The one provided by Debian 12.7:

$ LANG=C dpkg -l linux-source-6.1
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name             Version      Architecture Description
+++-================-============-============-=======================================================
ii  linux-source-6.1 6.1.106-3    all          Linux kernel source for 
version 6.1 with Debian patches

Me too I've CONFIG_CPU_SUP_AMD but looking at the help page it doesn't 
select anything.

-- 
Franco Martelli

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