Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1296465

Summary: weak-module, when adding a module, should collect the symbols from external modules of destination kernel
Product: Red Hat Enterprise Linux 7 Reporter: Renaud Marigny <rmarigny>
Component: kmodAssignee: David Shea <dshea>
Status: CLOSED ERRATA QA Contact: Chunyu Hu <chuhu>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: ccui, chuhu, dshea, qe-baseos-daemons, rmarigny, srandhaw, xiaolli
Target Milestone: rc   
Target Release: 7.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: kmod-20-6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1284935 Environment:
Last Closed: 2016-11-03 23:55:39 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:
Bug Depends On: 1284935    
Bug Blocks: 1364088    

Comment 8 Chunyu Hu 2016-09-02 10:42:09 UTC
Verified on 3.10.0-495.el7 and kmod-20-6.el7

[root@dell-per415-02 kinfo]# uname -r
3.10.0-500.el7.x86_64

[root@dell-per415-02 kinfo]# rpm -q kmod
kmod-20-6.el7.x86_64

[root@dell-per415-02 kinfo]# modinfo /usr/lib/modules/3.10.0-500.el7.x86_64/extra/kinfo.ko 
filename:       /usr/lib/modules/3.10.0-500.el7.x86_64/extra/kinfo.ko
author:         Rayne
license:        GPL
rhelversion:    7.3
srcversion:     478C0390C4307BE7CDD4CDE
depends:        base
vermagic:       3.10.0-500.el7.x86_64 SMP mod_unload modversions
 
[root@dell-per415-02 kinfo]# modinfo  /usr/lib/modules/3.10.0-495.el7.x86_64/extra/base.ko 
filename:       /usr/lib/modules/3.10.0-495.el7.x86_64/extra/base.ko
author:         Chunyu Hu <chuhu>
license:        GPL
rhelversion:    7.3
srcversion:     809CE6EF0F8F463555BA2C6
depends:        
vermagic:       3.10.0-495.el7.x86_64 SMP mod_unload modversions 
parm:           dummy:How long will the hung task block. (int)

[root@dell-per415-02 kinfo]# ls /usr/lib/modules/3.10.0-500.el7.x86_64/weak-updates/
event_mod  oracleasm

[root@dell-per415-02 kinfo]# ls /usr/lib/modules/3.10.0-495.el7.x86_64/weak-updates/
oracleasm

[root@dell-per415-02 kinfo]# echo /usr/lib/modules/3.10.0-500.el7.x86_64/extra/kinfo.ko  | weak-modules --add-modules --no-initramfs
[root@dell-per415-02 kinfo]# ls /usr/lib/modules/3.10.0-495.el7.x86_64/weak-updates/
kinfo.ko  oracleasm

Comment 11 errata-xmlrpc 2016-11-03 23:55:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2171.html

Comment 12 Chris Williams 2016-11-29 20:26:15 UTC
*** Bug 1340054 has been marked as a duplicate of this bug. ***

Comment 13 Red Hat Bugzilla 2023-09-14 03:15:46 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days