Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188182 - x11-drivers/nvidia-drivers /etc/modules.d/nvidia options must be on single line
Summary: x11-drivers/nvidia-drivers /etc/modules.d/nvidia options must be on single line
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-08 21:54 UTC by Andrew Hurst
Modified: 2008-02-15 17:05 UTC (History)
0 users

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


Attachments
Patch to fix the symptom (patch.txt,1.42 KB, patch)
2007-08-08 22:25 UTC, Andrew Hurst
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Hurst 2007-08-08 21:54:22 UTC
/etc/modules.d/nvidia invites users to " uncomment following line: ", with several groups of module options spread over separate lines.
All options for a given module must be on a single line, since generate-modprobe.conf will otherwise only pick out the last one from /etc/modules.conf to put in /etc/modprobe.conf (the module config file for 2.6 kernels)

Reproducible: Always

Steps to Reproduce:
1. 'uncomment the line' in /etc/modules.d/nvidia
2. run update-modules, generate-modprobe.conf (module-init-tools) - normally done automatically.
3. spend a day trying to figure out why some of your module options are being ignored, bug nvidia employees on nvidia linux driver board




This is all a result of Gentoo's weird module config system which should use either:
/etc/modules.conf,
/etc/modules.d/*,
/etc/modules.devfs
(for 2.4 kernels)
OR

/etc/modprobe.conf,
/etc/modprobe.d/*,
/etc/modprobe.devfs
(for 2.6 kernels)

but instead uses generate-modprobe.conf to take the 2.4.x modules.* files and generate modprobe.conf
Comment 1 Andrew Hurst 2007-08-08 22:25:59 UTC
Created attachment 127324 [details, diff]
Patch to fix the symptom

This patch makes the default module config file clearly state that all module options should live on a single line.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-09 06:31:09 UTC

*** This bug has been marked as a duplicate of bug 188057 ***
Comment 3 Andrew Hurst 2007-08-09 11:39:49 UTC
Jakub,
I opened this bug as an alternative to 188057, because something should be done about the misleading instructions contained in /etc/modules.d/nvidia.

I have created a patch to fix the problem, which is attached.

It is not a duplicate, because it references nvidia-drivers as the problem, not module-init-tools.

Andy
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-08-09 12:02:18 UTC
Great, lets create 10 bugs about the same thing.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2008-02-15 17:05:19 UTC
fixed in 169.07 and higher