LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-15-2023, 06:17 PM   #1
SlackIT
Member
 
Registered: Mar 2022
Posts: 166

Rep: Reputation: 17
CPU microcode is the latest known available version: NO


I'm running Slack 15.0, which has at this moment kernel-firmware-20230725_b6ea35f-noarch-1.

I thought the amd microcode in it, would be the latest.

But when I run spectre-meltdown-checker.sh I get this back at the terminal;

* CPU microcode is the latest known available version: NO (latest version is 0xa201025 dated 2021/10/14 according to builtin firmwares DB v273+i20230808+b6bd)


This is how I installed and setup the amd microcode;
Code:
mkdir -p /tmp/amd-ucode/kernel/x86/microcode
cd /tmp/amd-ucode
cat /lib/firmware/amd-ucode/microcode_amd*.bin > kernel/x86/microcode/AuthenticAMD.bin
echo kernel/x86/microcode/AuthenticAMD.bin | bsdcpio -o -H newc -R 0:0 > /boot/amd-ucode.img
Then I ran;
Code:
mkinitrd -c -F -k 5.15.131 -f ext4 -r /dev/sda1 -m ext4 -u -o /boot/initrd.gz
Last cmd I ran, then I rebooted;
Code:
grub-mkconfig -o /boot/grub/grub.cfg
kernel-firmware-20230725_b6ea35f-noarch-1 does not have the latest amd microcode in it? The termial output from spectre-meltdown-checker.sh says the latest is dated at 2021/10/14, and I assumed the kernel-firmware in Slack 15.0 is dated 2023/07.

hmm

Last edited by SlackIT; 09-15-2023 at 06:58 PM.
 
Old 09-16-2023, 12:59 AM   #2
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,854

Rep: Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523
Quote:
Originally Posted by SlackIT View Post
Code:
mkinitrd -c -F -k 5.15.131 -f ext4 -r /dev/sda1 -m ext4 -u -o /boot/initrd.gz
Do you have MICROCODE_ARCH=/boot/amd-ucode.img in /etc/mkinitrd.conf?
 
Old 09-16-2023, 01:25 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
What Petri said or append to the mkinitrd command:
-P /boot/amd-ucode.img
 
Old 09-16-2023, 06:31 PM   #4
SlackIT
Member
 
Registered: Mar 2022
Posts: 166

Original Poster
Rep: Reputation: 17
Yes my /etc/mkinitrd.conf;
Code:
MICROCODE_ARCH="/boot/amd-ucode.img"

P.S. After posting this, I noticed there was a new BIOS update for my mobo, so I flashed it.

Now spectre-meltdown-checker.sh says;

CPU microcode is the latest known available version: YES

Last edited by SlackIT; 09-16-2023 at 08:16 PM.
 
Old 09-17-2023, 04:29 AM   #5
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
That's a desktop or server CPU? Some AMD desktop models won't get microcode updates until october.
 
Old 09-17-2023, 09:45 PM   #6
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,074

Rep: Reputation: 149Reputation: 149
Where do you get spectre-meltdown-checker.sh?
 
Old 09-18-2023, 12:40 AM   #7
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 297

Rep: Reputation: Disabled
Quote:
Originally Posted by dchmelik View Post
Where do you get spectre-meltdown-checker.sh?
https://github.com/speed47/spectre-meltdown-checker
 
2 members found this post helpful.
Old 09-18-2023, 11:41 PM   #8
SlackIT
Member
 
Registered: Mar 2022
Posts: 166

Original Poster
Rep: Reputation: 17
It's a desktop, and that's the Github URL I got the spectre-meltdown-checker from that @denydias posted.

Anyhow, I guess I'm good now with the new BIOS for my mobo...
 
  


Reply



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
Please test early update of microcode for AMD CPUs using an amd-microcode package. Didier Spaier Slackware 13 09-11-2023 05:56 PM
Updated to the latest Intel microcode, but still vulnerable to one variant. john2x Slackware 21 08-09-2018 05:38 PM
Apply new Intel microcode- no microcode.dat file Naks110 Linux - Kernel 2 06-12-2018 05:20 PM

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

All times are GMT -5. The time now is 08:01 PM.

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