Bug 2032638

Summary: [RFE] Anaconda not loading compressed kernel modules from driver disk rpms.
Product: Red Hat Enterprise Linux 8 Reporter: Seth Graham <sether>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: ajb, bstinson, jkonecny, jwboyer, peter.georg, riehecky, toracat
Target Milestone: rcKeywords: FutureFeature, RFE, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-14 07:28:21 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:
Attachments:
Description Flags
tarball of all logs produced by kickstart none

Description Seth Graham 2021-12-14 20:34:18 UTC
Description of problem:

Attempting to install centos 8 stream on some old hardware with a 3w-sas raid card in it. The plan was to use the driver disk feature to make the controller accessible using packages found here:

http://mirror.centos.org/centos/8-stream/kmods/x86_64/packages-main/Packages/k/

I copied the package to an internal web server and fed it to kickstart via the inst.dd kernel argument. Boot messages indicate the rpm being downloaded and processed, however once anaconda starts up it exits with an error that no storage can be found. Swapping to a shell and poking around confirms that the module is not loaded nor is the controller visible.

I flailed around a bit before digging into the rpm and noticed the module is compressed (eg, 3w-sas.ko.xz). I dug up the srpm and modified the spec file to not compress the module, then attempted a kickstart with the resulting rpm. The install succeeded.


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

anaconda 33.16.6.4

How reproducible:

Only tested the 3w-9xx and 3w-sas modules but the behavior was identical for both. Every kickstart attempt failed.

Steps to Reproduce:
1. Fetch a driver rpm from http://mirror.centos.org/centos/8-stream/kmods/x86_64/packages-main/Packages/k/
2. Configure a kickstart with inst.dd containing the url of your selected rpm
3. Run kickstart

Comment 1 Jiri Konecny 2021-12-15 09:00:58 UTC
Hello, could you please provide us logs from the installation? You can find them in /tmp/*.log. Ideally include all the files but minimal syslog is most important to us.

Also please boot the machine with rd.debug kernel boot parameter.

Comment 2 Seth Graham 2021-12-15 17:18:37 UTC
Created attachment 1846431 [details]
tarball of all logs produced by kickstart

Attaching all logs that were in /tmp when kickstart exited. 

If you need anything else, let me know.

Comment 3 Jiri Konecny 2022-01-14 10:02:35 UTC
Anaconda does not support loading compressed kernel modules at this time. This issue is request for enhancement.

Comment 8 RHEL Program Management 2023-06-14 07:28:21 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.