Bug 111882 - modinfo does not work with 2.6
Summary: modinfo does not work with 2.6
Status: CLOSED DUPLICATE of bug 116305
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: modutils   
(Show other bugs)
Version: 1.0
Hardware: i686 Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2003-12-11 07:32 UTC by Behdad Esfahbod
Modified: 2014-03-17 02:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 19:00:22 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
strace modinfo radeon &> radeon.log (50.07 KB, application/gzip)
2004-01-19 06:54 UTC, Behdad Esfahbod
no flags Details

Description Behdad Esfahbod 2003-12-11 07:32:15 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031114 Epiphany/1.0.4

Description of problem:
Trying modinfo on any module under 2.6 kernel (from rawhide) gives a
no module by that name found error.  I guess it's not updated
correctly to work with .ko module extension.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. modinfo radeon

Actual Results:  modinfo: radeon: no module by that name found

Expected Results:  radeon module information

Additional info:

Comment 1 Bill Nottingham 2003-12-11 15:18:19 UTC
I'll have to check, but I could have sworn that this required a kernel
patch to work right anyway (i.e., to see any modinfo.)

Comment 2 Behdad Esfahbod 2004-01-19 06:54:43 UTC
Created attachment 97092 [details]
strace modinfo radeon &> radeon.log

I'm attaching the log of 'strace modinfo radeon'.
It shows that modinfo actually finds the module, as it does lstat64 the right
file, but find nothing.

On the other hand, if I do 'modinfo
/lib/modules/2.6.1-1.43/kernel/drivers/char/drm/radeon.ko' I see the real
module info.

So should be a silly problem in modinfo.  I had a look into code, but more
complicated than a 5 minute fix.  So the search is missing the module.

Comment 3 Bill Nottingham 2004-02-24 04:55:32 UTC

*** This bug has been marked as a duplicate of 116305 ***

Comment 4 Red Hat Bugzilla 2006-02-21 19:00:22 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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