Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98590 - Genkernel searches for old modules when using 2.6.x kernel
Summary: Genkernel searches for old modules when using 2.6.x kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard: InCVS
Keywords:
: 98774 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-10 12:18 UTC by Michiel Hazelhof
Modified: 2005-07-12 10:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The .config I use (.config,42.33 KB, application/octet-stream)
2005-07-10 12:24 UTC, Michiel Hazelhof
Details
Patch (genkernel-98590.patch,1.49 KB, patch)
2005-07-12 09:43 UTC, Tim Yamin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel Hazelhof 2005-07-10 12:18:48 UTC
When I boot my livecd with genkernel created init scripts, it looks for some
depricated modules;
:: scanning for uhci... module not found
:: scanning for usb-ohci... module not found 

Reproducible: Always
Steps to Reproduce:
Just boot the genkernel kernel&initrd.......
Actual Results:  
Nothing shocking, but it irritates me

Expected Results:  
Detect that it is a 2.6.x kernel and not probe the modules
Comment 1 Michiel Hazelhof 2005-07-10 12:24:13 UTC
Created attachment 63088 [details]
The .config I use
Comment 2 Eric Edgar (RETIRED) gentoo-dev 2005-07-11 07:07:54 UTC
This is intentional as genkernel does not determine what is a 2.4 or a 2.6 
kernel module.  There would be too much work to do so and doesnt really gain 
anything.  There are other items which show up as module no found as well.  
When things are compiled into the kernel and not modules.  
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-07-12 07:24:55 UTC
*** Bug 98774 has been marked as a duplicate of this bug. ***
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-07-12 07:37:08 UTC
Actually... I did think of a solution for this that would work.  Simply have
genkernel verify the existence of the module before running a modprobe.  This
would keep users from seeing the "module not found" message, but would also keep
us from having to maintain multiple modules_load lists for each arch.

How does that sound?
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2005-07-12 08:35:17 UTC
(In reply to comment #4)
> Simply have
> genkernel verify the existence of the module before running a modprobe

That's exactly what I recommended in bug 98774.  Sorry I neglected to search for
dups, though.
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2005-07-12 09:42:16 UTC
Reopening.
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2005-07-12 09:43:28 UTC
Created attachment 63244 [details, diff]
Patch

Patch to test.
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2005-07-12 10:43:48 UTC
Fixed in 3.2.2, thanks!