View previous topic :: View next topic |
Author |
Message |
KWhat l33t
Joined: 04 Sep 2005 Posts: 660 Location: Los Angeles
|
Posted: Wed Oct 03, 2007 6:39 am Post subject: could not generate /etc/modprobe.conf! [Solved] |
|
|
Code: | * Updating /etc/modprobe.conf by hand ...
* Warning: could not generate /etc/modprobe.conf! [ !! ]
* Updating modules.dep ... [ ok ]
|
I am unable to find a satisfactory solution.
Last edited by KWhat on Thu Oct 04, 2007 5:25 pm; edited 2 times in total |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Wed Oct 03, 2007 7:07 am Post subject: |
|
|
probably you have something wrong in /etc/modprobe.d/
did you run update-modules with -f flags option? |
|
Back to top |
|
|
KWhat l33t
Joined: 04 Sep 2005 Posts: 660 Location: Los Angeles
|
Posted: Wed Oct 03, 2007 3:08 pm Post subject: |
|
|
yes that is what causes this error, it appears that update-modules works ok but with the -f it causes the above error. Most the solutions i have already tried failed.
I.E. remove the /etc/mod* files, update-modules --kernel-version=2.4.22-gentoo-r5 and i cant seem to find much about it in the forums. |
|
Back to top |
|
|
dwardo n00b
Joined: 10 Nov 2004 Posts: 57 Location: France
|
Posted: Thu Oct 04, 2007 3:07 pm Post subject: |
|
|
I had the same probleme so I took out all the files in /etc/modules.d and them copied them back one by one (running update-modules force each time) until I found the culprit...
Guess who it was ?
nvidia (and this is installed by the nvidia package... I have not edited it... double checked by moving it + re-emerging nvidia-drivers)
So next step was to comment all the lines (only three in fact) out to find the culprit...
Guess which one of these :
Code: | alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
options nvidia NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27 NVreg_ModifyDeviceFiles=1
|
I give it to you:
Quote: | alias char-major-195 nvidia
|
If i comment it out the "* Warning: could not generate /etc/modprobe.conf!" disappears for ever...
Seems I had 2 extra lines in /etc/modules.d/aliases (don't remember when they were added, but i removed them now):
Code: | # Old nvidia support ...
alias char-major-195 NVdriver
alias /dev/nvidiactl char-major-195 |
so char-major-195 was being aliased twice...
All is well for me...
dwardo |
|
Back to top |
|
|
KWhat l33t
Joined: 04 Sep 2005 Posts: 660 Location: Los Angeles
|
Posted: Thu Oct 04, 2007 5:25 pm Post subject: |
|
|
Thanks dwardo!
I ran update-modules -f -v and found that snd-card-0 was causing an invalid dup alias. upon inspecting the file i noticed nothing out of the ordinary so backed up the modules.d/alsa file and reinstalled alsa-lib alsa-driver alsa-oss alsa-utils and its all better =)
Thanks again! |
|
Back to top |
|
|
|