Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74758 - genkernel needs a noload command-line option
Summary: genkernel needs a noload command-line option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-17 09:49 UTC by Chris Gianelloni (RETIRED)
Modified: 2005-03-23 17:00 UTC (History)
1 user (show)

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


Attachments
Patch (genkernel-noload.patch,1.45 KB, patch)
2005-01-04 17:49 UTC, Tim Yamin (RETIRED)
Details | Diff
genkernel-3.1.0d-noload.patch (genkernel-3.1.0d-noload.patch,1.29 KB, patch)
2005-01-10 08:24 UTC, Chris Gianelloni (RETIRED)
Details | Diff
Patch (genkernel-74758.patch,1.57 KB, patch)
2005-01-21 08:36 UTC, Tim Yamin (RETIRED)
Details | Diff
Patch (Should say "Skipping $xyz" now...) (genkernel-74758.patch,1.50 KB, patch)
2005-01-21 13:07 UTC, Tim Yamin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gianelloni (RETIRED) gentoo-dev 2004-12-17 09:49:01 UTC
I think it would be great if genkernel had the ability to refuse to load certain modules if they were listed on the kernel command line.  This would allow us to still be able to boot a LiveCD provided a bad module is causing it to fail/lockup.

It would work like noload=module1[,module2[,module3[,...]]] and would simply cause that module(s) to not load when the rest of its group loads.

A perfect example of this would be bug #72055

If we could have passed noload=tmscsim to genkernel via the command-line, then a new release would not have to be made to combat the problem.  This also allows us to exclude kernel modules via catalyst without requiring a new genkernel release to remove modules from the load in the initrd.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-01-04 17:49:00 UTC
Created attachment 47672 [details, diff]
Patch
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-05 05:38:16 UTC
I'll check it out and report back
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-10 08:24:54 UTC
Created attachment 48107 [details, diff]
genkernel-3.1.0d-noload.patch

This is my version of the patch against 3.1.0d as the other wouldn't apply (not
sure why).
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-01-21 08:36:55 UTC
Created attachment 49113 [details, diff]
Patch
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-01-21 13:07:27 UTC
Created attachment 49135 [details, diff]
Patch (Should say "Skipping $xyz" now...)
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2005-01-22 12:18:20 UTC
Patched in 3.1.0e; closing bug.