Re: [CentOS] nouveau driver one centos 6

2011-07-22 Thread Ross Walker
On Jul 21, 2011, at 8:08 AM, Jerry Geis  wrote:

> 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.

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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-22 Thread Ljubomir Ljubojevic
CS wrote:
> Hi, Jerry
> 
> Try appending 'rdblacklist=nouveau' to the kernel line in grub.conf (and 
> keep the blackist in modules.conf)
> 
> - install CentOS and reboot as usual
> - preempt booting at the grub menu and append 'rdblacklist=nouveau 3' to 
> the kernel line to disable nouveau and start up in init 3
> - install the Nvidia binary driver.  Optionally, do a yum upgrade, 
> reboot back to init 3 and build the driver on the latest kernel
> - edit grub.conf and remove the '3' and reboot again
> 
> Nouveau will now stop loading and use your nvidia driver
> 
> cheers,
> 
> - cal
> 

Please do not top post.

There is no need to compile nvidia binary drivery. There is nVidia 
driver rpm in ElRepo  repository.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-22 Thread CS
Hi, Jerry

Try appending 'rdblacklist=nouveau' to the kernel line in grub.conf (and keep 
the blackist in modules.conf)

- install CentOS and reboot as usual
- preempt booting at the grub menu and append 'rdblacklist=nouveau 3' to the 
kernel line to disable nouveau and start up in init 3
- install the Nvidia binary driver.  Optionally, do a yum upgrade, reboot back 
to init 3 and build the driver on the latest kernel
- edit grub.conf and remove the '3' and reboot again

Nouveau will now stop loading and use your nvidia driver

cheers,

- cal

On 21/07/11 13:08, Jerry Geis wrote:
> 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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Ljubomir Ljubojevic
Ned Slider wrote:
> On 21/07/11 13:08, Jerry Geis wrote:
>> 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
> 
> 
>  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] https://bugzilla.redhat.com/show_bug.cgi?id=625216
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=657257
> [3] http://elrepo.org/bugs/view.php?id=98
> 
Workaround from elrepo bug report:

 >I was able to confirm that adding this line to the post section of the 
 >kickstart script before installing the modules fixes the problem:
 >
 >ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root


-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Ned Slider
On 21/07/11 13:08, Jerry Geis wrote:
> 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


 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] https://bugzilla.redhat.com/show_bug.cgi?id=625216
[2] https://bugzilla.redhat.com/show_bug.cgi?id=657257
[3] http://elrepo.org/bugs/view.php?id=98


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread John Hodrien
On Thu, 21 Jul 2011, m.r...@5-cent.us wrote:

> John Hodrien wrote:
>> On Thu, 21 Jul 2011, m.r...@5-cent.us wrote:
>>
>>> I was puzzled to not that the former of the two is an rpm of zero bytes.
>>
>> 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.
>
> 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?

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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread m . roth
John Hodrien wrote:
> On Thu, 21 Jul 2011, m.r...@5-cent.us wrote:
>
>> I was puzzled to not that the former of the two is an rpm of zero bytes.
>
> 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.

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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread John Hodrien
On Thu, 21 Jul 2011, m.r...@5-cent.us wrote:

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

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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread m . roth
Jerry Geis wrote:
> I "wish" to not load the or even install the nouveau driver by default.
> I want to use the NVIDIA binary driver.

We could approach the developers of nouveau with pitchforks and torches
>
> I have tried a number of things:

There was a blacklist of nouveau on my kernel line in grub.conf, and it
still loaded.
>
> 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???

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.


  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Scott Robbins
> 
> On Thu, Jul 21, 2011 at 8:08 AM, Jerry Geis  wrote:
> 
> I "wish" to not load the or even install the nouveau driver by default.
> I want to use the NVIDIA binary driver.
> 

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

http://elrepo.org

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




-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: I wish dating was like slaying. You know, simple, direct,
stake through the heart, no muss, no fuss. 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Jeff Allison
You need to exclude it in grub otherwise the graphical boot loads it.
On Jul 21, 2011 10:08 PM, "Jerry Geis"  wrote:
>
> 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
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Earl Ramirez
Hi Jerry,

The following link worked for me.

http://scientificlinuxforum.org/index.php?showtopic=15

On Thu, Jul 21, 2011 at 8:08 AM, Jerry Geis  wrote:

> 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
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Kind Regards
Earl Ramirez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] nouveau driver one centos 6

2011-07-21 Thread Jerry Geis
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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos