Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102643 - Add new hardware-fu to genkernel
Summary: Add new hardware-fu to genkernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-08-15 12:42 UTC by Chris Gianelloni (RETIRED)
Modified: 2005-08-31 05:45 UTC (History)
0 users

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


Attachments
Patch (genkernel-102643.patch,2.63 KB, patch)
2005-08-15 13:27 UTC, Tim Yamin (RETIRED)
Details | Diff
initrd.scripts (initrd.scripts,14.57 KB, text/plain)
2005-08-23 11:49 UTC, Chris Gianelloni (RETIRED)
Details
linuxrc (linuxrc,16.79 KB, text/plain)
2005-08-23 11:49 UTC, Chris Gianelloni (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gianelloni (RETIRED) gentoo-dev 2005-08-15 12:42:18 UTC
<wolf31o2-work> #1, add "nodetect" check in linuxrc to turn off *all* module
auto-loading... so the only thing that would still happen at boot is keymap
<wolf31o2-work> reason for nodetect is it is already used by autoconfig
<wolf31o2-work> #2, make noload= one of the do*/no* type variables, so one could
do something like this: nodetect doload=megaraid_mm,usb-storage

Adding these options would be the cat's meow...
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-08-15 13:27:50 UTC
Created attachment 66019 [details, diff]
Patch
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-16 13:49:18 UTC
I'll get this tested in my next LiveCD run...
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-18 05:22:48 UTC
At the end of the patch, the second "done" should be a "fi"
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-18 09:15:45 UTC
Also, nodetect appears to work, but doload does not... the CD is also going into
debug mode and I'm not sure why.

http://dev.gentoo.org/~wolf31o2/test/installcd-x86-minimal-testing2.iso is the
link so you can see what's up with it.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-18 09:17:41 UTC
Actually, doload did work, but it only properly loaded the first module.  I used
this:

doload=yenta_socket,orinoco_cs,3c59x

And it loaded yenta_socket, then tried loading orinoco_cs,3c59x rather than each
individually.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-23 11:46:53 UTC
OK... the nodetect stuff appears to work fine... I'd say commit it...

doload= (with your latest patch) loaded only the first module, and no others. 
I'm thinking that this might be easier were it just in CVS.  Let me know what
you want me to do.  Also, I am attaching my initrd.scripts and linuxrc here, so
we can be sure I didn't end up fudging something up myself.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-23 11:49:20 UTC
Created attachment 66672 [details]
initrd.scripts

Here is my version of the script, with changes made via discussions on IRC
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-23 11:49:40 UTC
Created attachment 66673 [details]
linuxrc

Here's the linuxrc
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-29 07:14:16 UTC
Any luck?

I'm wanting to get this one fixed before we roll out 3.3.6... ;]
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-31 05:45:58 UTC
Thanks rocket... =]