Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 247986

Summary: /sbin/weak-modules fails to handle inter-module symbol references.
Product: Red Hat Enterprise Linux 5 Reporter: Gerd Hoffmann <kraxel>
Component: module-init-toolsAssignee: Jon Masters <jcm>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: ddutile, riek, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0659 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 17:25:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 251292    

Description Gerd Hoffmann 2007-07-12 15:02:28 UTC
Description of problem:
/sbin/weak-modules fails to handle inter-module symbol references.

Version-Release number of selected component (if applicable):
module-init-tools-3.3-0.pre3.1.16.0.1.el5

How reproducible:
grab xenpv-kmod packages from
http://devserv.devel.redhat.com/~ghoffman/brew/rhel51-xen/$arch/, install them.

Actual results:
Only xen-platform-pci.ko gets symlinked into weak-symbols

Expected results:
all xen-*.ko modules get symlinked into weak-symbols

Additional info:
xen-platform-pci.ko provides symbols referenced by the other modules.

Comment 1 Gerd Hoffmann 2007-07-19 16:17:29 UTC
Bug is in the module_is_compatible() function.

modprobe prints 8-char-wide crc's.
nm dumps 16-char-wide addresses.
thus they don't look identical to the join utility.

Probably happens on x86_64 only.


Comment 19 errata-xmlrpc 2007-11-07 17:25:54 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 the 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-2007-0659.html