SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After slogging thru Linux forums and Wiki-pages, and Intel's website, I pieced together a process for obtaining and installing (for early-loading) appropriate Intel microcode for the processor on my Slackare Linux box.
So I do not have to worry about forgetting the process I "wrote" it down. The process - which can be mostly-completed by copying-n-pasting example shell commands in the document - is available at:
Thank you BernieK. I hadn't updated in a long time and the reminder was appreciated. I never use initrd so I had to dig a bit deeper to first recall lilo.conf entry (for older installs) and then adapt to rEFInd (for newer). This was just to confirm it loaded the newest but apparently once the /boot/intel-ucode.cpio directory and the /lib/firmware/ has an entry, it apparently just loads, maybe not as early as other methods, but sufficient for my requirements.
After slogging thru Linux forums and Wiki-pages, and Intel's website, I pieced together a process for obtaining and installing (for early-loading) appropriate Intel microcode for the processor on my Slackare Linux box.
So I do not have to worry about forgetting the process I "wrote" it down. The process - which can be mostly-completed by copying-n-pasting example shell commands in the document - is available at:
Howdy, that's great. I was actually doing something similar (but without initrd).. And I was documenting the process. I have't yet gotten around to do the initrd version, hah.
Ehm.. Is there any chance you could add the information to docs.slackware?
And there is still a rather empty initrd section. I didn't yet get around to it, but at some point I will for sure. Or perhaps you could help me get it done?
Is there any chance you could add the information to docs.slackware?
Any Slackware Documentation project contributor is welcome to include on the project's pages the microcode-loading document I wrote - in whole or in part, or by reference (as you kindly did).
Thank you for writing the microcode-loading page for the Slackware Documentation Project at docs.slackware.com
Good news regarding the reference on that page to manually creating the /lib/firmware/amd-ucode/ directory; As of Slackware 15.0 that directory is created and populated during Slackware installation and subsequent kernel-firmware package updates.
Any Slackware Documentation project contributor is welcome to include on the project's pages the microcode-loading document I wrote - in whole or in part, or by reference (as you kindly did).
Thank you. I'll include it as soon as I can and credit you for it. Meanwhile I will leave the reference there
Quote:
Originally Posted by BernieK
Good news regarding the reference on that page to manually creating the /lib/firmware/amd-ucode/ directory; As of Slackware 15.0 that directory is created and populated during Slackware installation and subsequent kernel-firmware package updates.
hmm. you sure?
I added that section because I didn't have those folders in the standard Slackware 15 installation
hmm. you sure? I added that section because I didn't have those folders in the standard Slackware 15 installation
Thank you for double-checking.
I am sure with respect to the full Slackware 15.0 installations on one each of my AMD and Intel boxes. The kernel.org GIT repository suggests so as well since it includes a populated amd-ucode directory (but no intel-ucode directory):
There is another method, mentioned in a previous thread (I haven't searched for it, but I made notes at the time):
Install iucode_tool & intel-microcode from SBo.
Then (as root,of course) check your present microcode:
That's fine as a side note. But best practices when recommending someone do something, is to get things done with the default tools in Slackware, if possible. If not, then..
Of course intel-microcode from slackbuilds has to be installed. Why isn't intel microcode included in the binary blob monster package called kernel-firmware? It's got blobs for 20-year-old USB tv tuners in there but not Intel's latest CPU updates?!
Edit: Sorry, I didn't see that it said "Early" in the subject line. Maybe my head needs a micorcode update.
Last edited by slackmensch; 06-07-2022 at 09:15 AM.
For those using alternative bootloaders or just too lazy to muck about with initrds, there isn't much to do. You can load intel microcode "late":
It is certainly possible, but it doesn't always/often "help" mitigate anything. From my reading, this method is mostly useful for servers that want to test the load without rebooting. But I could be wrong, it could also not just load, but also mitigate issues in some setups/situations.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.