Bug 2109498

Summary: dracut does not include the 'nvmem-imx-ocotp' driver in the initrd
Product: Red Hat Enterprise Linux 9 Reporter: Mark Salter <msalter>
Component: dracutAssignee: dracut-maint-list
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: dtardon, fsumsal, jbastian, jstodola, lnykryn, pvalena, sbest
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dracut-057-13.git20220816.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 11:22:12 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:

Description Mark Salter 2022-07-21 12:17:16 UTC
Description of problem:
The nvmem-imx-ocotp driver is needed to enable certain hardware on NXP i.MX SoCs which are of interest to potential RHEL for Edge customers. This driver is needed to enable networking among other things. It is included in the initrd created during a kernel install on the target hardware, but it is not included in the PXE kernel initrd which prevents PXE installs from working.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Steve Best 2022-07-22 14:37:46 UTC
This is gating adding NXP i.MX 8M Quad systems to beaker. We have multiple NXP i.MX 8M Quad systems waiting to be added once PXE booting is working and this fix will allow these systems to PXE boot.

Thanks,
-Steve

Comment 2 Lukáš Nykrýn 2022-07-26 09:23:30 UTC
In this case, it seems that it should be enough to only include the module in our installation images. I am not sure what service is currently building those images these days. Maybe still lorax? But IMHO, we should reassign the bug there.

Comment 3 Brian Lane 2022-07-26 22:30:48 UTC
It is dracut's responsibility to include drivers in the initrd when lorax runs it in hostonly mode. lorax may trim down the list of existing drivers, but that's not what is happening here since runtime-cleanup.tmpl doesn't remove anything under .../drivers/nvmem/

Comment 4 Steve Best 2022-07-29 14:38:35 UTC
Lukáš,

so is dracut the right component to fix this?

Thanks,
-Steve

Comment 5 Jan Stodola 2022-08-04 16:41:30 UTC
Mark, could you please check what rpm provides the nvmem_imx_ocotp kernel module? I was not able to find such a kernel module.

Comment 6 Mark Salter 2022-08-04 17:21:51 UTC
It's in kernel-core
Sorry, description is wrong. Should be nvmem-imx-ocotp

Comment 7 Lukáš Nykrýn 2022-08-15 14:37:49 UTC
https://github.com/dracutdevs/dracut/pull/1916

Comment 11 errata-xmlrpc 2022-11-15 11:22:12 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 (dracut bug fix and enhancement update), 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-2022:8379