View previous topic :: View next topic |
Author |
Message |
figueroa Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/911990856608daafc46b9c.gif)
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Tue Nov 17, 2020 5:35 am Post subject: Is intel-microcode needed for newer kernel? [SOLVED] |
|
|
When I was running kernel 4.9 series, the elog message for intel-microcode would read:
Code: | $ cat sys-firmware:intel-microcode-20200508_p20200508:20200511-171644.log
WARN: postinst
intel-microcode-20200508_p20200508 contains microcode updates which require
additional kernel patches which aren't yet included in kernel <4.14.34.
Loading such a microcode through kernel interface from an unpatched kernel
can crash your system!
|
I've updated and currently running 4.19.152. Today's update included an update to the intel-micocode pacakge, but no file was placed in /var/log/portage/elog. Should I take that to mean that I no longer need to load the intel-microcode early_ucode.cpio when booting my i7-2600? _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Last edited by figueroa on Tue Nov 17, 2020 5:25 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gengreen Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Dec 2017 Posts: 150
|
Posted: Tue Nov 17, 2020 6:17 am Post subject: |
|
|
My understanding
Quote: | intel-microcode-20200508_p20200508 contains microcode updates which require
additional kernel patches which aren't yet included in kernel 4.14.34 |
Intel-microcode have a microcode update which require some patch that are not included in kernel 4.14.34 and lower version
I may make a mistake, but you need to still load the microcode in your initramfs
Edit : hmm lower higher ? where did you get this message ? I had an update this morning regarding the microcode but my is : 20201112_p20201116 _________________ Less is best |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54817 Location: 56N 3W
|
Posted: Tue Nov 17, 2020 12:46 pm Post subject: |
|
|
figueroa,
Microcode is either loaded by the BIOS or the kernel, or both.
Its never included in the kernel unless you add it.
It way be provided in linux-firmware but it rannot be loaded into the CPU from there.
It needs the microcode updated early process, so it must be built into the kernel binary.
The kernel does a version compare before it updates, so it may be a NOP. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23082
|
Posted: Tue Nov 17, 2020 5:14 pm Post subject: Re: Is intel-microcode needed for newer kernel? |
|
|
figueroa wrote: | I've updated and currently running 4.19.152. Today's update included an update to the intel-micocode pacakge, but no file was placed in /var/log/portage/elog. Should I take that to mean that I no longer need to load the intel-microcode early_ucode.cpio when booting my i7-2600? | No, the absence of the message is because you are now running a kernel where it is believed safe to use that version of the microcode. On your older kernel series, the microcode was believed to be incompatible with your kernel, so you received a warning. Now you have a compatible kernel, so there is no need for a warning. As other posters have said, this does not mean you can skip the microcode. Rather, it means that it is finally safe to use it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
figueroa Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/911990856608daafc46b9c.gif)
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Tue Nov 17, 2020 5:23 pm Post subject: |
|
|
gengreen wrote: | Edit : hmm lower higher ? where did you get this message ? I had an update this morning regarding the microcode but my is : 20201112_p20201116 |
Actually, yesterday's update was intel-microcode-20201112_p20201116:20201116. However, this update did not post anything to /var/log/portage/elog. Furthermore, I used it to create a new /boot/early_ucode.cpio which is invoked by grub as initrd /boot/early_ucode.cpio when the kernel boots.
Notwithstanding the elog message regarding kernel <4.14.34, I've been using the microcode for a long time with up-to-date kernels in the 4.9 series without any issue. There is too little information readily available, and it appears that the elog messge, which I always read, never changes. As is often the case, I get by with trial and error. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
figueroa Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/911990856608daafc46b9c.gif)
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Tue Nov 17, 2020 5:25 pm Post subject: Re: Is intel-microcode needed for newer kernel? |
|
|
Hu wrote: | figueroa wrote: | I've updated and currently running 4.19.152. Today's update included an update to the intel-micocode pacakge, but no file was placed in /var/log/portage/elog. Should I take that to mean that I no longer need to load the intel-microcode early_ucode.cpio when booting my i7-2600? | No, the absence of the message is because you are now running a kernel where it is believed safe to use that version of the microcode. On your older kernel series, the microcode was believed to be incompatible with your kernel, so you received a warning. Now you have a compatible kernel, so there is no need for a warning. As other posters have said, this does not mean you can skip the microcode. Rather, it means that it is finally safe to use it. |
Thank you for the clarity. I'll mark this solved. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|