Bug 619367 - weak-modules doesn't find symvers file
Summary: weak-modules doesn't find symvers file
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: driver-update-program   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Jon Masters
QA Contact: Qian Cai
Keywords: RHELNAK
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-29 11:57 UTC by Martin Wilck
Modified: 2018-10-27 12:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-03 14:05:28 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Martin Wilck 2010-07-29 11:57:24 UTC
Description of problem:
# /sbin/weak-modules --verbose --add-kernel 2.6.32-52.el6
Symvers dump file /boot/symvers-2.6.32-52.el6.gz not found

# ls -l /boot/symvers*gz
-rw-r--r--. 1 root root 161301 Jun 21 01:45 /boot/symvers-2.6.32-37.el6.x86_64.gz
-rw-r--r--. 1 root root 161201 Jul 21 18:27 /boot/symvers-2.6.32-52.el6.x86_64.gz

Version-Release number of selected component (if applicable):
module-init-tools 3.9-15.el6

How reproducible:

Steps to Reproduce:
1. install kmod
2. update kernel, or install new one
3. run weak-modules --verbose --add-kernel  

Actual results:
see above

Expected results:
weak-modules links are created, or the weak-modules says that the kernels are incompatible.

Additional info:
I am attaching a script session demonstrating the problem.
This is severe because it would prevent RHDUP from functioning properly.

Comment 1 Martin Wilck 2010-07-29 11:59:43 UTC
opened issued tracker 1201243 for this bug.

Comment 3 RHEL Product and Program Management 2010-07-29 12:27:45 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 4 Jon Masters 2010-07-29 23:04:17 UTC
Martin, are you invoking weak-modules directly? It looks like you're calling it with the following value for the uname-r:


Actually, in RHEL6, it should always include the architecture:


For example. Can you confirm, by looking at rpm -q --scripts kernel that your kernel is calling the correct script options? If you are doing this manually, please let me know why you need to call it without the full uname value.


Comment 6 Martin Wilck 2010-07-30 07:21:05 UTC
My bad, I'm sorry. User error :-/

I had been wondering why no weak-modules links had been created, and in order to find out, called weak-modules by hand - wrongly. I apologize for the noise.

Comment 8 Ronald Pacheco 2010-08-03 14:05:28 UTC
Per comment #6, closing as not a bug.

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