| Summary: | microcode.service failure on AMD CPU family 0xf | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Orion Poplawski <orion> |
| Component: | microcode_ctl | Assignee: | Petr Oros <poros> |
| Status: | CLOSED ERRATA | QA Contact: | Rachel Sibley <rasibley> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | brian, jbastian |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | microcode_ctl-2.1-15.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 05:33:31 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: | |
|
Description
Orion Poplawski
2016-02-12 22:41:16 UTC
*** Bug 1348987 has been marked as a duplicate of this bug. *** I was able to reproduce on an amd-dinar system by adding the dis_ucode_ldr on the kernel command line, here is the before/after output. After the fix the service is inactive with no failures as the ConditionPathExists=/sys/devices/system/cpu/microcode/reload was not met
Before
===============
[root@amd-dinar-04 ~]# uname -r
3.10.0-327.el7.x86_64
[root@amd-dinar-04 ~]# rpm -q microcode_ctl
microcode_ctl-2.1-12.el7.x86_64
[root@amd-dinar-04 ~]# systemctl status microcode.service -l
● microcode.service - Load CPU microcode update
Loaded: loaded (/usr/lib/systemd/system/microcode.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2016-08-18 13:05:44 EDT; 2min 53s ago
Process: 937 ExecStart=/usr/bin/bash -c echo 1 > /sys/devices/system/cpu/microcode/reload (code=exited, status=1/FAILURE)
Main PID: 937 (code=exited, status=1/FAILURE)
Aug 18 13:05:43 amd-dinar-04.lab.bos.redhat.com systemd[1]: Starting Load CPU microcode update...
Aug 18 13:05:43 amd-dinar-04.lab.bos.redhat.com bash[937]: /usr/bin/bash: /sys/devices/system/cpu/microcode/reload: No such file or directory
Aug 18 13:05:44 amd-dinar-04.lab.bos.redhat.com systemd[1]: microcode.service: main process exited, code=exited, status=1/FAILURE
Aug 18 13:05:44 amd-dinar-04.lab.bos.redhat.com systemd[1]: Failed to start Load CPU microcode update.
Aug 18 13:05:44 amd-dinar-04.lab.bos.redhat.com systemd[1]: Unit microcode.service entered failed state.
Aug 18 13:05:44 amd-dinar-04.lab.bos.redhat.com systemd[1]: microcode.service failed.
After
===================
[root@amd-dinar-04 ~]# yum update microcode_ctl-2.1-15.el7.x86_64
- reboot
[root@amd-dinar-04 ~]# systemctl status microcode.service -l
● microcode.service - Load CPU microcode update
Loaded: loaded (/usr/lib/systemd/system/microcode.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Condition: start condition failed at Thu 2016-08-18 14:17:16 EDT; 1min 24s ago
ConditionPathExists=/sys/devices/system/cpu/microcode/reload was not met
Aug 18 14:17:16 amd-dinar-04.lab.bos.redhat.com systemd[1]: Started Load CPU microcode update.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2399.html |