Bug 1278938
| Summary: | dracut doesn't see CONFIG_MICROCODE_[AMD|INTEL]_EARLY after kernel changes | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kevin Fenzi <kevin> | |
| Component: | dracut | Assignee: | dracut-maint-list | |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rawhide | CC: | andrew, customercare, dracut-maint-list, fedora, harald, jonathan, jwboyer, kay, massi.ergosum, pbrobinson, zbyszek | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1283892 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-20 08:03:26 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1283892 | |||
|
Description
Kevin Fenzi
2015-11-06 19:28:10 UTC
This is because of upstream kernel commit fe055896c040df571e4ff56fb196d6845130057b and this hunk of code in dracut:
if [[ $early_microcode = yes ]]; then
if [[ $hostonly ]]; then
[[ $(get_cpu_vendor) == "AMD" ]] \
&& ! check_kernel_config CONFIG_MICROCODE_AMD_EARLY \
&& unset early_microcode
[[ $(get_cpu_vendor) == "Intel" ]] \
&& ! check_kernel_config CONFIG_MICROCODE_INTEL_EARLY \
&& unset early_microcode
else
! check_kernel_config CONFIG_MICROCODE_AMD_EARLY \
&& ! check_kernel_config CONFIG_MICROCODE_INTEL_EARLY \
&& unset early_microcode
fi
[[ $early_microcode != yes ]] \
&& dwarn "Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE_[AMD|INTEL]_EARLY!=y"
fi
Since the options no longer even exist in the kernel, they won't show up in the resulting config-<kernel version> installed file even though the functionality is still actually in the kernel. I've emailed Harald and the upstream author of the kernel patch.
@harald: What's the plan forward here? You afaics fixed it upstream by http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=875426f2fc1360401ddb5f97c67df031e54958d5 which afaics made it to rawhide already. But everybody that installs a 4.4 kernel in f23 or earlier will get a initramfs without microcode update, which is not a good idea :-/ The Fedora 22 kernel 4.4.3 update just hit this. Guess an updated dracut needs to be pushed there also? $ rpm -qi dracut Name : dracut Version : 041 Release : 14.fc22 Architecture: x86_64 Install Date: Thu 25 Jun 2015 18:08:53 BST Group : System Environment/Base Size : 936320 License : GPLv2+ and LGPLv2+ Signature : RSA/SHA256, Thu 18 Jun 2015 20:52:45 BST, Key ID 11adc0948e1431d5 Source RPM : dracut-041-14.fc22.src.rpm Build Date : Tue 16 Jun 2015 13:58:42 BST (In reply to Andrew Clayton from comment #3) > The Fedora 22 kernel 4.4.3 update just hit this. Guess an updated dracut > needs to be pushed there also? > > $ rpm -qi dracut > Name : dracut > Version : 041 > Release : 14.fc22 > Architecture: x86_64 > Install Date: Thu 25 Jun 2015 18:08:53 BST > Group : System Environment/Base > Size : 936320 > License : GPLv2+ and LGPLv2+ > Signature : RSA/SHA256, Thu 18 Jun 2015 20:52:45 BST, Key ID > 11adc0948e1431d5 > Source RPM : dracut-041-14.fc22.src.rpm > Build Date : Tue 16 Jun 2015 13:58:42 BST https://bugzilla.redhat.com/show_bug.cgi?id=1314501 dracut-041-15.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4072c51267
Kernel 4.4.4-200 does not boot on all systems.
The bootprocess stopped with "/sbin/init: Bad Exec Format'"
System: FC 22 i686 PAE
Both kernels do not boot, with the same errormessage:
title Fedora (4.4.4-200.fc22.i686+PAE) 22 (Twenty Two)
root (hd0,0)
kernel /boot/vmlinuz-4.4.4-200.fc22.i686+PAE ro root=UUID=dca7eea1-687e-476a-a9a0-c41ef0329113 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=de_DE.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=de-latin1
initrd /boot/initramfs-4.4.4-200.fc22.i686+PAE.img
title Fedora (4.4.3-201.fc22.i686+PAE) 22 (Twenty Two)
root (hd0,0)
kernel /boot/vmlinuz-4.4.3-201.fc22.i686+PAE ro root=UUID=dca7eea1-687e-476a-a9a0-c41ef0329113 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=de_DE.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=de-latin1
initrd /boot/initramfs-4.4.3-201.fc22.i686+PAE.img
Dracut is version 14.fc22
This happend TODAY :
Pakete werden heruntergeladen:
(1/2): kernel-PAE-4.4.4-200.fc22.i686.rpm 685 kB/s | 78 kB 00:00
(2/2): kernel-PAE-core-4.4.4-200.fc22.i686.rpm 9.7 MB/s | 20 MB 00:02
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Gesamt 6.3 MB/s | 20 MB 00:03
Transaktionsüberprüfung wird ausgeführt
Transaktionsprüfung war erfolgreich.
Transaktion wird getestet
Transaktionstest war erfolgreich.
Transaktion wird ausgeführt
Neuinstallieren : kernel-PAE-core-4.4.4-200.fc22.i686 1/4
Neuinstallieren : kernel-PAE-4.4.4-200.fc22.i686 2/4
Löschen : kernel-PAE-4.4.4-200.fc22.i686 3/4
Löschen : kernel-PAE-core-4.4.4-200.fc22.i686 4/4
Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE_[AMD|INTEL]_EARLY!=y
Überprüfung läuft: kernel-PAE-4.4.4-200.fc22.i686 1/4
Überprüfung läuft: kernel-PAE-core-4.4.4-200.fc22.i686 2/4
Überprüfung läuft: kernel-PAE-4.4.4-200.fc22.i686 3/4
Überprüfung läuft: kernel-PAE-core-4.4.4-200.fc22.i686 4/4
Reinstalliert:
kernel-PAE.i686 4.4.4-200.fc22 kernel-PAE-core.i686 4.4.4-200.fc22
Komplett!
|