From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20080201 Red Hat/1.5.0.12-0.10.el4 Firefox/1.5.0.12 pango-text Description of problem: A kmod rpm built for myri10ge (Myricom 10Gbs ethernet driver) fails to install on x86_64, though it will install on i686. Need to have these symbols added to whitelist for x86_64: ksym(mtrr_del) ksym(mtrr_add) Version-Release number of selected component (if applicable): myri10ge-1.4.1 How reproducible: Always Steps to Reproduce: 1. Download module source from http://www.myri.com/ftp/pub/Myri10GE/myri10ge-linux.1.4.1.tgz 2. Use attached specfile and kmodtool 3. Build rpm on RHEL5.x86_64 4. Try to install rpm on RHEL5.x86_64 Actual Results: # rpm -Uvh kmod-myri10ge-1.4.1-1.x86_64.rpm error: Failed dependencies: ksym(mtrr_del) = 272d394e is needed by kmod-myri10ge-1.4.1-1.x86_64 ksym(mtrr_add) = 56179c5f is needed by kmod-myri10ge-1.4.1-1.x86_64 Expected Results: Rpm should have installed, like it does for i686 Additional info: Jarod Wilson, jwilson, said this: "Okay, just double-checked... mtrr_add and mtrr_del are on the kabi whitelist for i686, but not for x86_64." (see https://www.redhat.com/archives/rhelv5-list/2008-March/thread.html#00037 )
Created attachment 297795 [details] kmod rpm specfile for myri10ge ethernet driver
Created attachment 297798 [details] kmodtool used for test; basically rhel version, without rpm call
Indeed. These symbols will be considered in the next update (5.3). Meanwhile, I can show you how to disable the checking for these symbols in your RPM, if you would like a temporary workaround?
(In reply to comment #3) > Indeed. These symbols will be considered in the next update (5.3). Meanwhile, I > can show you how to disable the checking for these symbols in your RPM, if you > would like a temporary workaround? Thank you, and yes I'd be interested in a workaround, here or off-list (off-zilla, as it were), as you'd like. -Ed
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
I have posted the attached patch internally for consideration in the 5.3 kernel. It is now awaiting internal discussion and signoff. I will update this bug with the results from that process. In the meantime, please let me know if you are planning to ship a module on systems prior to 5.3 and require a temporary workaround for this whitelist omission.
Created attachment 314723 [details] 437129-whitelist-mtrr_add-mtrr_del.patch
in kernel-2.6.18-115.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-0225.html