Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] removing early_ucode
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
KLarsen
n00b
n00b


Joined: 30 Dec 2005
Posts: 56
Location: Spain

PostPosted: Sat Apr 21, 2018 12:01 pm    Post subject: [SOLVED] removing early_ucode Reply with quote

Yesterday I updated my hardware from Intel i3 to the Ryzen 1700, and after some work the system has been migrated. However, I can't seem to get completely rid of the intel microcode I had running, when running grub-mkconfig it still picks it up.
I have no support for initram in the kernel, I've deleted both the sys-firmware/intel-microcode, sys-apps/iucode_tool and the early_ucode.cpio in /boot. My /etc/default/grub config has no mention of it either. The only thing I can do is manually edit the /boot/grub/grub.cfg to delete all mention of it once generated.

So where is grub-mkconfig picking it up from? Why does it insist in loading the microcode?


Last edited by KLarsen on Mon Apr 23, 2018 10:46 am; edited 1 time in total
Back to top
View user's profile Send private message
P.Kosunen
Apprentice
Apprentice


Joined: 21 Nov 2005
Posts: 294
Location: Finland

PostPosted: Sat Apr 21, 2018 3:46 pm    Post subject: Reply with quote

Check scripts under /etc/grub.d/.
Back to top
View user's profile Send private message
KLarsen
n00b
n00b


Joined: 30 Dec 2005
Posts: 56
Location: Spain

PostPosted: Sat Apr 21, 2018 4:16 pm    Post subject: Reply with quote

10_linux has this part:

Code:
initrd=
  for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
           "initrd-${version}" "initramfs-${version}.img" \
           "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
           "initrd-${alt_version}" "initramfs-${alt_version}.img" \
           "initramfs-genkernel-${version}" \
           "initramfs-genkernel-${alt_version}" \
           "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
           "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
    if test -e "${dirname}/${i}" ; then
      initrd="early_ucode.cpio ${rel_dirname}/$i"
      break
    else
      initrd="early_ucode.cpio"
    fi

If I just delete the else clause it should work, right?

EDIT: I can confirmed that removing
Code:
    else
      initrd="early_ucode.cpio"
solved it, at least until grub gets reinstalled.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum