View Issue Details

IDProjectCategoryView StatusLast Update
0001429channel: elrepo/el9kmod-megaraid_saspublic2024-02-14 04:56
Reporterredbaron_4 Assigned Topperry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Summary0001429: Cannot use the 9.3 DUD for fresh install of 9.3 Rocky Linux using PXE boot
DescriptionHi,

I have a PXE setup where appropriate kmod-megaraid-sas DUDs are automatically added to kickstart files (using driverdisk option) based on Rocky 9 version to be installed. I downloaded the hosted DUD for 9_3 (dd-megaraid_sas-07.725.01.00-1.el9_3.elrepo.iso) for use in installing Rocky9.3.

The installation is however failing at "Package Install" step of PXE with an error like

nothing provides kernel(__dynamic_dev_dbg) needed by kmod-megaraid-sas-07.725
and a bunch of similar errors

My suspicion is that there is a new megaraid-sas RPM in elrepo (kmod-megaraid_sas-07.725.01.00-3.el9_3.rpm) which is attempted for update by package installation process. However, the kernel that ships with PXE boot image of Rocky-9.3 is 5.14.362-8.1 which is incompatible with what is required for that RPM (It requires -18.1).

As a workaround, I can install Rocky-9.2 and then do a dnf upgrade to get a working 9.3 instance but I was wondering if there is some way by which I can get PXE install working correctly.

Apologies as this is probably not directly an ElRepo issue

Tagsdud, kernel, rocky

Activities

pperry

2024-02-14 04:30

administrator   ~0009565

Hi,

Unfortunately I have little to no experience with PXE / kickstart installations so am unsure I will be able to help you.

From the error you are seeing, it does sound like your installation maybe trying to pull in the latest updated kmod package but the build cannot find the updated kernel it was built against.

There have been a couple of kernel updates in el9.3 that have broken compatibility with kmod-megaraid_sas. Consequently:

Version 07.725.01.00-1 will only work with kernel-5.14.0-362.8.1.el9_3. This is the version in the DUD as is designed for use with the RHEL 9.3 release media
Version 07.725.01.00-2 will only work with kernel-5.14.0-362.13.1.el9_3
Version 07.725.01.00-3 will only work with kernel-5.14.0-362.18.1.el9_3

The package Requires will automatically match to the correct kernel providing the required kernel symbols, but will lead to the errors you note if the matching kernel is not available.

If your installation is attempting to update to kmod-megaraid_sas-07.725.01.00-3, and the corresponding kernel-5.14.0-362.18.1.el9_3 is not available, you will see the errors you describe. I'm not sure if a pxe / kickstart installation further complicates this.

Can you remove the availability (exclude maybe) of the updated kmod-megaraid_sas-07.725.01.00-3 packages (release -2 and -3) during the installation as a potential workaround?

redbaron_4

2024-02-14 04:39

reporter   ~0009566

Thanks for the input!

This kind of confirms what I am seeing regarding package versions and kernel numbers.

I can maybe disable the elrepo during fresh install but that would complicate matters as latest kernel (-18.1) will be pulled from Rocky9 repos but kmod-megaraid_sas would be kmod-megaraid_sas-07.725.01.00-1 (packaged as DUD) and not compatible with that kernel.

My suspicion is that dnf when doing a fresh install works somewhat differently from `dnf upgrade` done using command line as the latter can correctly resolve dependencies etc.

Please feel free to close this issue (I am not sure how I can do it).

pperry

2024-02-14 04:55

administrator   ~0009567

Last edited: 2024-02-14 04:56

Yes, we have seen complications previously when doing kickstart installs.

If you disable elrepo during the install, and the installation pulls in the updated kernel, that should be fine (you shouldn't see any dnf errors) as long as you do not try to reboot to that updated kernel. If as part of the installation process, the system attempts to restart the new kernel will not be able to find the megaraid SAS device (as the updated driver for that kernel is missing).

Can you also exclude kernel updates in your installation process, so you are effectively performing a vanilla installation of kmod-megaraid_sas-07.725.01.00-1 against kernel-5.14.0-362.8.1.el9_3

Once installation has completed, you should be able to perform a regular dnf update as normal.

Marking as no change required as I do not think there is anything we can do in this case.

Issue History

Date Modified Username Field Change
2024-02-14 03:54 redbaron_4 New Issue
2024-02-14 03:54 redbaron_4 Status new => assigned
2024-02-14 03:54 redbaron_4 Assigned To => pperry
2024-02-14 03:54 redbaron_4 Tag Attached: dud
2024-02-14 03:54 redbaron_4 Tag Attached: kernel
2024-02-14 03:54 redbaron_4 Tag Attached: rocky
2024-02-14 04:30 pperry Note Added: 0009565
2024-02-14 04:39 redbaron_4 Note Added: 0009566
2024-02-14 04:55 pperry Note Added: 0009567
2024-02-14 04:56 pperry Status assigned => resolved
2024-02-14 04:56 pperry Resolution open => no change required
2024-02-14 04:56 pperry Note Edited: 0009567