Jump to content

[Testing / Need help] Unraid CPU Microcode Update


p0p

Recommended Posts

Hey, I'm trying to get CPU Microcode Updates working on Unraid. Reason is security, features, perfomance and stability.

So far:

  • Checked my current Microcode Version using
    dmesg | grep microcode
     and copied the result to my notepad.
  • Installed `un-get` from @ich777 (Grüße) using the CC from here `https://raw.githubusercontent.com/ich777/un-get/master/un-get.plg` (🔗Github)
  • installed the package `intel-microcode` by using a root user
    un-get install intel-microcode
    `(🔗Package Source with infos)
  • added these line using `nano /etc/rc.conf` as it was recommended online
    microcode_update_enable="YES"
    cpu_microcode_load="YES"
    cpu_microcode_name="/boot/intel-ucode.cpio"
  • Changed my syslinux configuration for the boot entry "UnraidOS" to (Main > Flash > Syslinux Configuration)
    kernel /bzimage
    append initrd=/intel-ucode.cpio,/bzroot

    to load the microcode loader(?)
  • reboot
  • Checked with
    dmesg | grep microcode
     plus
    dmesg | grep -i microcode
    aaaand for my understanding, looks like a success!
    Microcode Version for my intel 7400t was from 2023-03-29 and is now 2023-09-28.

 

Here's the part I need help with please:

  1. The installer tells me that 
    /bin/bash: line 1: /sys/devices/system/cpu/microcode/reload: Permission denied
    Why?
    grep CONFIG_MICROCODE /usr/src/linux-*/.config
    • outputs
      CONFIG_MICROCODE=y
      CONFIG_MICROCODE_INTEL=y
      CONFIG_MICROCODE_AMD=y
      # CONFIG_MICROCODE_LATE_LOADING is not set

      so it seems to be okay-ish for my newb understanding. 
      What does the the permission denied mean in detail? How can we avoid this?
  2. Because the documentation of the intel-microcode package just tell us to use the syslinux config (🔗Source), are the changes to the `rc.conf` still needed? To keep in mind: Unraid is Slackware based.
  3. Are the changes to the microcode persistent or if I remove the package should I be reverted to the ones that were shipped with the UEFI/CPU?

 

Thanks! 🙂

p0p

 

Edited by p0p
added code fields. forgot that unraid forum doesn't support markdown.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...