[ATrpms-users] Adding correct information to /etc/modules.d./ when installing/upgrading nvidia-graphics in Fedora 12 (was: Updated from fedora 10 to 12 and have issues with nvidia driver loading)

Jeffrey J. Kosowsky atrpms at kosowsky.org
Fri Dec 18 21:21:21 CET 2009


Paulo Cavalcanti wrote at about 15:40:40 -0200 on Friday, December 4, 2009:
 > ------------------------------------------------------
 > 
 > # put nouveau out of the game
 > blacklist nouveau
 > # nvidia kernel module
 > alias char-major-195 nvidia-190_42
 > alias nvidia nvidia-190_42
 > 
 > ---------------------------------------------------------

I tried this and it dutifully created the /etc/modprobe.d/nvidia.conf
file.

I then regenerated initramfs using:
  dracut -f /boot/initramfs-$(uname -r).img $(uname -r)

However, the resulting new initramfs didn't include the new
nvidia.conf so of course the nouveau module still loaded and got
locked on boot resulting in nvidia not being able to load.
I also tried doing 'depmod -a' before and after the dracut statement.

I was able to get things to work by adding the 'blacklist nouveau'
line to my /etc/modprobe.conf file.

However, I am puzzled by why dracut is not adding the new
/etc/modprobe.d/nvidia.conf file to the initramfs.

I would have thought that dracut would automatically include *all*
files in /etc/modprobe ending in ".conf". But is there something I
need to do to "tell" dracut that a new .conf was added to /etc/modprobe.d?



More information about the atrpms-users mailing list