Bug 1104848
| Summary: | Weak-updates link not created after errata kernel upgrade | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Sarang Radke <sarang.radke> |
| Component: | Driver Update Disk | Assignee: | Weiping Pan <wpan> |
| Status: | CLOSED WONTFIX | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.10 | CC: | giridhar.malavali, jshortt, kschneid, nilesh.javali, ruyang, soniya.agrawal, truong.nguyen, william.gens |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-18 17:24:48 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: | |||
Hi, Sarang, Can you put the trace of following commands ? 1 when you update your kernel, download the rpm and run rpm -Uvh kernel-PAE-2.6.18-371.8.1.el5.i686.rpm -vv 2 manually invoke weak-modules scritps sh -x /sbin/weak-modules --add-kernel 2.6.18-371.8.1.el5PAE And can you attach your binary rpm for your driver ? thanks Weiping Pan Created attachment 906662 [details]
Verbose o/p of RPM install
Created attachment 906663 [details]
log generated by evoking weak-modules
Hi Weiping, The o/p of two commands is attached. Please note, this DUD does not contain binary RPM. Could this be a reason of failure? I see that the module gets installed in "updates" and not in "extra" like KMOD RPMS. -Thanks, Sarang (In reply to Weiping Pan from comment #1) > Hi, Sarang, > > Can you put the trace of following commands ? > > 1 when you update your kernel, download the rpm and run > rpm -Uvh kernel-PAE-2.6.18-371.8.1.el5.i686.rpm -vv > > 2 manually invoke weak-modules scritps > sh -x /sbin/weak-modules --add-kernel 2.6.18-371.8.1.el5PAE > > > And can you attach your binary rpm for your driver ? > > thanks > Weiping Pan (In reply to Sarang Radke from comment #4) > Hi Weiping, > > The o/p of two commands is attached. > > Please note, this DUD does not contain binary RPM. > > Could this be a reason of failure? I see that the module gets installed in > "updates" and not in "extra" like KMOD RPMS. Maybe you got the reason, + '[' -d /lib/modules/2.6.18-371.el5PAE/extra ']' + continue If you do not install it in extra, the weak-modules script will skip it and exit. Can you try to put the modules in extra directory ? > > -Thanks, > Sarang > Hi Weiping, Does this mean that to put the modules in extra dir, we need to have the RPM in DUD. Won't the current DUD allow that? For generating DUDs on RHEL6+ we use ddiskit scripts which include the RPM within the ISO. -Thanks, Sarang Hi, Sarang, I recommend you take a look at the DUP we made for RHEL5, it contains rpm and the modules.cgz does not have "extra" dir. http://people.redhat.com/jbenc/dup/rhel5.8/dd-bnx2family-14247/dd-bnx2family-14247-el5_8-x86_64.iso thanks Weiping Pan Hi Weiping, Thanks for providing a sample DUP. I realize that there are multiple files which we are not including in our DUP. Given that, can you propose a recommended way to build the DUP. Also if there is a documentation which provides details and purpose of all the files, that would be a great help. -Thanks, Sarang http://www.driverupdateprogram.com/ And most parts of doc for RHEL6 also apply to RHEL5, http://people.redhat.com/wpan/doc/rhel6/docs/dup_book.pdf https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/chap-Updating_drivers_during_installation_on_Intel_and_AMD_systems.html Created attachment 918110 [details]
RHEL5.10 DUD with rpms that install module in extra.
Hi Weiping,
I tried to build the DUP with rpms in it.
However it does not install the rpm and falls back to modules.cgz for the module.
Thanks,
Soniya
Hi Weiping, Did you get a chance to analyze this ? Thanks, Soniya DUPs for RHEL5 are no longer supported. Closing this BZ. If you believe there is an issue related to RHEL6 or RHEL7, please open another BZ against those products. Thanks |
Created attachment 902312 [details] RHEL5.10 DUD which is provided while installing the base system Description of problem: The base system (2.6.18-371.el5PAE) is installed using a DUD and the OOB qla2xxx module loads fine. After the system is updated with errata kernel 2.6.18-371.8.1.el5PAE the system falls back to the inbox module. It is observed that weak-updates directory is not getting populated with the original OOB module on base system. Before errata kernel upgrade a file /etc/depmod.d/qla2xxx.conf is created with following entry: override qla2xxx * weak-updates/ However, the inbox module gets loaded as the weak-updates dir is empty. Version-Release number of selected component (if applicable): base kernel: 2.6.18-371.el5PAE errate kernel: 2.6.18-371.8.1.el5PAE DUD version: qla2xxx-8.07.00.08.5.6-k1-dd-rhel5u10-2.6.18-371-i686 How reproducible: Always Steps to Reproduce: 1. Install base system using the DUD 2. Upgrade to errata kernel 3. Boot into errata kernel Actual results: Inbox module gets loaded Expected results: OOB, the module from DUD should get loaded Additional info: