Description of problem: v7 info test can not find the ABI whitelist file, causing info test to fail. It's looking for <kernel>.el6.x86_64-x86_64, adding a second arch onto the file name. Version-Release number of selected component (if applicable): v7 1.2 R11
I tried changing the test to try /lib/modules/kabi/kabi_whitelist_x86_64, and installed the rpm /lib/modules/kabi/kabi_whitelist_x86_64. This results in numerous whitelist failures on many of the modules. For example: Module: ipv6 Kernel: 2.6.32-44.el6.x86_64 Whitelist: /lib/modules/kabi/kabi_whitelist_x86_64 Error: The following symbols are used by ipv6 are not on the ABI whitelist. __dst_free __inet6_hash __inet6_lookup_established __inet_inherit_port __kfree_skb __percpu_counter_add __pneigh_lookup __rta_fill __rtnl_register __sk_dst_check __skb_checksum_complete __skb_checksum_complete_head __skb_recv_datagram __skb_warn_lro_forwarding ... So it seems this whitelist isn't valid and/or up to date?
It seems that in RHEL5, we needed to replace "_" with "-" for kernel module names in the kernel rpm to compare them to modules listed in /proc/modules (see info.py line 128), but in RHEL6, both lists have underscores "_".
Created attachment 435044 [details] info test patch fixing issues with RHEL6 on x86_64 This patch changes the info test use of the whitelist: - For RHEL6, the info test now requires the kabi-whitelists rpm, while the kernel-devel (or variant) will still be required on RHEL5 - The test will check both locations for the whitelist (/usr/src/kernels/... and /lib/modules/kabi/...). - Code that translated "_" to "-" when looking for module files is removed, as it is no longer necessary, and breaks x86_64, given that in RHEL6, the arch appears in file paths to module files.
*** Bug 617335 has been marked as a duplicate of this bug. ***
Reproduced in R11 and Verified in R23. Move to "VERIFIED"
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/RHBA-2010-0702.html
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The whitelist file location has been updated for Red Hat Enterprise Linux 6 on 64-bit architecture.