Bug 616943 - info test fails - can not fine whitelist file on RHEL6 snap 7 x86_64
Summary: info test fails - can not fine whitelist file on RHEL6 snap 7 x86_64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (tests)
Version: 1.2
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Qian Cai
URL:
Whiteboard:
: 617335 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-21 19:33 UTC by Greg Nichols
Modified: 2010-09-21 09:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The whitelist file location has been updated for Red Hat Enterprise Linux 6 on 64-bit architecture.
Clone Of:
Environment:
Last Closed: 2010-09-20 12:14:36 UTC
Embargoed:


Attachments (Terms of Use)
info test patch fixing issues with RHEL6 on x86_64 (1.80 KB, patch)
2010-07-28 15:18 UTC, Greg Nichols
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0702 0 normal SHIPPED_LIVE v7 bug fix and enhancement update 2010-10-21 07:59:09 UTC

Description Greg Nichols 2010-07-21 19:33:24 UTC
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

Comment 1 Greg Nichols 2010-07-28 13:38:48 UTC
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?

Comment 2 Greg Nichols 2010-07-28 13:59:15 UTC
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 "_".

Comment 3 Greg Nichols 2010-07-28 15:18:58 UTC
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.

Comment 5 Greg Nichols 2010-07-30 13:38:56 UTC
*** Bug 617335 has been marked as a duplicate of this bug. ***

Comment 7 Caspar Zhang 2010-09-09 10:36:19 UTC
Reproduced in R11 and Verified in R23. Move to "VERIFIED"

Comment 10 errata-xmlrpc 2010-09-20 12:14:36 UTC
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

Comment 11 Jaromir Hradilek 2010-09-21 09:12:43 UTC
    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.


Note You need to log in before you can comment on or make changes to this bug.