Bug 1608491

Summary: Add /lib/firmware/<kernel_version> to the default list of firmware directories
Product: Red Hat Enterprise Linux 7 Reporter: Eugene Syromiatnikov <esyr>
Component: dracutAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: dracut-maint-list, jstodola
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dracut-033-551.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:26:36 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:

Comment 3 Lukáš Nykrýn 2018-07-25 16:03:43 UTC
Looks doable -> devel_ack

Comment 5 Jan Stodola 2018-08-22 18:15:01 UTC
Reproduced on RHEL-7.5, fw from /lib/firmware/3.10.0-862.el7.x86_64 was not added to GenuineIntel.bin:

[root@localhost initrd]# rpm -q dracut
dracut-033-535.el7.x86_64
[root@localhost initrd]# ls /lib/firmware/3.10.0-862.el7.x86_64/intel-ucode/
0f-06-08
[root@localhost initrd]# dracut --no-hostonly initrd_before
[root@localhost initrd]# cpio -id < initrd_before 
3144 blocks
[root@localhost initrd]# iucode_tool -L /lib/firmware/3.10.0-862.el7.x86_64/intel-ucode/0f-06-08 
microcode bundle 1: /lib/firmware/3.10.0-862.el7.x86_64/intel-ucode/0f-06-08
  001/001: sig 0x00000f68, pf_mask 0x22, 2006-07-14, rev 0x0009, size 2048
[root@localhost initrd]# iucode_tool -L kernel/x86/microcode/GenuineIntel.bin | grep 2006-07-14
[root@localhost initrd]#

Verified with dracut-033-552.el7, fw from /lib/firmware/3.10.0-862.el7.x86_64 was added to GenuineIntel.bin:

[root@localhost initrd]# rpm -q dracut
dracut-033-552.el7.x86_64
[root@localhost initrd]# ls /lib/firmware/3.10.0-862.el7.x86_64/intel-ucode/
0f-06-08
[root@localhost initrd]# iucode_tool -L /lib/firmware/3.10.0-862.el7.x86_64/intel-ucode/0f-06-08 
microcode bundle 1: /lib/firmware/3.10.0-862.el7.x86_64/intel-ucode/0f-06-08
  001/001: sig 0x00000f68, pf_mask 0x22, 2006-07-14, rev 0x0009, size 2048
[root@localhost initrd]# dracut --no-hostonly initrd_after
[root@localhost initrd]# cpio -id < initrd_after 
3148 blocks
[root@localhost initrd]# iucode_tool -L kernel/x86/microcode/GenuineIntel.bin | grep 2006-07-14
  001/164: sig 0x00000f68, pf_mask 0x22, 2006-07-14, rev 0x0009, size 2048
[root@localhost initrd]#

Moving to VERIFIED.

Comment 7 errata-xmlrpc 2018-10-30 11:26:36 UTC
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://access.redhat.com/errata/RHBA-2018:3232