[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 22:04:35 CET 2009
Paulo Cavalcanti wrote at about 18:56:22 -0200 on Friday, December 18, 2009:
> On Fri, Dec 18, 2009 at 6:21 PM, Jeffrey J. Kosowsky <atrpms at kosowsky.org>wrote:
>
> > 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?
> >
>
> Try adding this option in grub.conf, at the end of the kernel line:
>
> rdblacklist=nouveau
While that would certainly work, my question is how do I get dracut to
make an initramfs that includes /etc/modprobe.d/nvidia.conf. Since the
other files in /etc/modprobe.d are included without listing their
modules on the kernel command line, I imagine there must be a
simpler/better way to get initramfs to include the file.
Just not sure what simple thing I am missing...
More information about the atrpms-users
mailing list