DevHeads.net

nouveau driver one centos 6

I "wish" to not load the or even install the nouveau driver by default.
I want to use the NVIDIA binary driver.

I have tried a number of things:

1) in my kickstart package section add the line:
-xorg-x11-drv-nouveau

This did not work - it was still installed.

2) use the nvidia installer and it asks to create a modprobe.conf file
to blacklist
the driver. I said yes thats what I want. I verified the file being
present and rebooted.
The driver is still loaded "lsmod | grep nou" still showed it present.

3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked
however
the files for nouveau were still present. find / | grep nouveau showed
driver files and more....

So - anyone know how to get this off of my machine???
I thought the "-" in the kickstart package section would work, but no.

Thanks so much for any thoughts.

jerry

Comments

Re: nouveau driver one centos 6

By Ross Walker at 07/22/2011 - 20:46

Try removing it from initd config and run a mkinitd for the current kernel?

You may need to add the nvidia one to the initd config or maybe the vesa one so graphical boot works.

-Ross

Re: nouveau driver one centos 6

By Ned Slider at 07/21/2011 - 13:55

On 21/07/11 13:08, Jerry Geis wrote:

From elrepo.org,

yum install kmod-nvidia

will take care of everything for you, and because it's a kABI-tracking
kmod package you won't need to rebuild the kernel module for each kernel
update, and yum will automatically take care of future nvidia driver
updates for you too.

A word of warning - there is a bug [1,2] in 6.0 that means installing
kmod-nvidia from a kickstart file will *fail* so I would advise
performing your install and then manually installing kmod-nvidia
immediately afterwards. Alternatively there is a workaround in the
elrepo bug report [3] should you really want to do this from a kickstart
script.

Hope that helps.

[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=625216" title="https://bugzilla.redhat.com/show_bug.cgi?id=625216">https://bugzilla.redhat.com/show_bug.cgi?id=625216</a>
[2] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=657257" title="https://bugzilla.redhat.com/show_bug.cgi?id=657257">https://bugzilla.redhat.com/show_bug.cgi?id=657257</a>
[3] <a href="http://elrepo.org/bugs/view.php?id=98" title="http://elrepo.org/bugs/view.php?id=98">http://elrepo.org/bugs/view.php?id=98</a>

Re: nouveau driver one centos 6

By Ljubomir Ljubojevic at 07/21/2011 - 14:27

Ned Slider wrote:

Re: nouveau driver one centos 6

By m.roth at 07/21/2011 - 09:04

Jerry Geis wrote:
We could approach the developers of nouveau with pitchforks and torches....
Try what I did: yum remove, which got, as a dependency,
Jul 20 09:41:08 Erased: xorg-x11-drivers
Jul 20 09:41:08 Erased: xorg-x11-drv-nouveau

I was puzzled to not that the former of the two is an rpm of zero bytes.
<snip>

mark

Re: nouveau driver one centos 6

By John Hodrien at 07/21/2011 - 09:07

Why puzzled? I'm guessing it's just an empty RPM with a load of dependencies
as a way of cleaning up the dependency chain.

jh

Re: nouveau driver one centos 6

By m.roth at 07/21/2011 - 09:15

John Hodrien wrote:
Ok, I didn't rpm -ql to see what was in it, but as it listed as empty...
and why wouldn't the driver rpm have the dependencies in it?

mark

Re: nouveau driver one centos 6

By John Hodrien at 07/21/2011 - 09:24

The driver rpm depends on all the specific driver RPMs. The 0 byte figure is
because the driver RPM contains no files. But it means your kickstart (and
the default install groups) can have xorg-x11-drv and doesn't need to be
updated everytime they add a new driver (which'd be pretty annoying).

jh

Re: nouveau driver one centos 6

By Jeff Allison at 07/21/2011 - 07:16

You need to exclude it in grub otherwise the graphical boot loads it.
On Jul 21, 2011 10:08 PM, "Jerry Geis" < ... at pagestation dot com> wrote:

Re: nouveau driver one centos 6

By Earl Ramirez at 07/21/2011 - 07:15

Hi Jerry,

The following link worked for me.

<a href="http://scientificlinuxforum.org/index.php?showtopic=15" title="http://scientificlinuxforum.org/index.php?showtopic=15">http://scientificlinuxforum.org/index.php?showtopic=15</a>

Re: nouveau driver one centos 6

By Scott Robbins at 07/21/2011 - 07:37

I'm pretty sure that the elrepo driver is the binary driver.

<a href="http://elrepo.org" title="http://elrepo.org">http://elrepo.org</a>

gives instructions on enabling it, then just install the driver. It
will do the blacklisting of noveau and all the rest for you.