Hi!
I know that the nvidia-drv-x11-package is from RPMForge, but I thought I might mention it here.
I have a machine with a NVidia-card and because of the ease of use I use the rpmforge-package for that.
After upgrading the problem was that during rebooting as soon as the machine hit the RHGB (which implicitly uses that driver) the machine froze. I booted into the old kernel removed rhgb, rebooted. Now the machine froze when starting X. Same procedure: Old Kernel. Remove nvidia-drv-x11. Reboot into the new kernel and reinstall nvidia-drv-x11. After a reboot everything works as it used to.
The cause of the problem could have been (sorry, I didn't do any thorough forensic) that the nvidia.ko that was used in the new kernel was a symbolic link from the "weak-updates"-directory into the old kernel "extra"-directory. Is it possible that this only works inside of kernels with the same x in CentOS 5.x ?
For the other machines I am upgrading I plan to
1. deinstall nvidia-x11-drv 2. do a regular "yum upgrade" 3. reinstall nvidia-x11-drv after reboot
Is there any better way to do it?
Bernhard
PS: the main purpose of this message is to alert others to this problem, not to get an answer, although that would be nice
On Tue, June 24, 2008 3:08 pm, Bernhard Gschaider wrote:
Hi!
I know that the nvidia-drv-x11-package is from RPMForge, but I thought I might mention it here.
I have a machine with a NVidia-card and because of the ease of use I use the rpmforge-package for that.
After upgrading the problem was that during rebooting as soon as the machine hit the RHGB (which implicitly uses that driver) the machine froze. I booted into the old kernel removed rhgb, rebooted. Now the machine froze when starting X. Same procedure: Old Kernel. Remove nvidia-drv-x11. Reboot into the new kernel and reinstall nvidia-drv-x11. After a reboot everything works as it used to.
The cause of the problem could have been (sorry, I didn't do any thorough forensic) that the nvidia.ko that was used in the new kernel was a symbolic link from the "weak-updates"-directory into the old kernel "extra"-directory. Is it possible that this only works inside of kernels with the same x in CentOS 5.x ?
For the other machines I am upgrading I plan to
- deinstall nvidia-x11-drv
- do a regular "yum upgrade"
- reinstall nvidia-x11-drv after reboot
That is exactly what I did and my machine hangs again after nvidia-x11-drv is installed.
On Tue, 24 Jun 2008 15:17:56 -0400 (EDT) "MAJ" == Marko A Jennings markobiz@bluegargoyle.com wrote:
MAJ> On Tue, June 24, 2008 3:08 pm, Bernhard Gschaider wrote: >> Hi! >> >> I know that the nvidia-drv-x11-package is from RPMForge, but I >> thought I might mention it here. >> >> I have a machine with a NVidia-card and because of the ease of >> use I use the rpmforge-package for that. >> >> After upgrading the problem was that during rebooting as soon >> as the machine hit the RHGB (which implicitly uses that driver) >> the machine froze. I booted into the old kernel removed rhgb, >> rebooted. Now the machine froze when starting X. Same >> procedure: Old Kernel. Remove nvidia-drv-x11. Reboot into the >> new kernel and reinstall nvidia-drv-x11. After a reboot >> everything works as it used to. >> >> The cause of the problem could have been (sorry, I didn't do >> any thorough forensic) that the nvidia.ko that was used in the >> new kernel was a symbolic link from the >> "weak-updates"-directory into the old kernel >> "extra"-directory. Is it possible that this only works inside >> of kernels with the same x in CentOS 5.x ? >> >> For the other machines I am upgrading I plan to >> >> 1. deinstall nvidia-x11-drv 2. do a regular "yum upgrade" >> 3. reinstall nvidia-x11-drv after reboot
MAJ> That is exactly what I did and my machine hangs again after MAJ> nvidia-x11-drv is installed.
I THINK (but I'm not sure) I maually had to remove the weak-updates/nvidia.ko and or the extra/nvidia.ko before doing the reinstall (don't know if that makes a difference). My guess would be
1. deinstall the package in the old kernel 2. remove these links and files in the nex kernel 3. boot into the kernel 4. reinstall package (that should take some time, because as far as I can tell this involves recompiling the module)
Bernhard
PS: Your "hang" is also: "Screen turns pitch black" ?
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Marko A. Jennings Sent: Tuesday, June 24, 2008 3:18 PM To: centos@centos.org Subject: Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2
On Tue, June 24, 2008 3:08 pm, Bernhard Gschaider wrote:
Hi!
I know that the nvidia-drv-x11-package is from RPMForge, but I thought I might mention it here.
I have a machine with a NVidia-card and because of the ease of use I use the rpmforge-package for that.
After upgrading the problem was that during rebooting as soon as the machine hit the RHGB (which implicitly uses that driver) the machine froze. I booted into the old kernel removed rhgb, rebooted. Now the machine froze when starting X. Same procedure: Old Kernel. Remove nvidia-drv-x11. Reboot into the new kernel and reinstall nvidia-drv-x11. After a reboot everything works as it used to.
The cause of the problem could have been (sorry, I didn't do any thorough forensic) that the nvidia.ko that was used in the new kernel was a symbolic link from the "weak-updates"-directory into the old kernel "extra"-directory. Is it possible that this only works inside of kernels with the same x in CentOS 5.x ?
For the other machines I am upgrading I plan to
- deinstall nvidia-x11-drv
- do a regular "yum upgrade"
- reinstall nvidia-x11-drv after reboot
That is exactly what I did and my machine hangs again after nvidia-x11-drv is installed. ----------------------------------------------- Have you tried an older version of the driver from rpmforge? Do that First and see how that turns out. I myself am a fan of the Nvidia Drivers from nvidia.com. Meantime CentOS 5.2 is Very New and they may very well be issues with driver Stability yet to be.
http://wiki.centos.org/HardwareList/Nvidia_Graphics This is a link of how to install the nvidia driver from nvidia.com. **WARNING** It is not finished but there should be enough info there to get to rolling in the right direction. You need to be aware it is a draft only. Cent OS 5.2 will also be included in it with in the next 30 days as time alows me.
Alternativly after you get one Nvidia.com driver going on one machine, you could copy the built kernel module over to other machines providing they have the same card. Warning, I do not condone such as that. Good Luck...
JohnStanley _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, 25 Jun 2008 01:13:11 -0400 "J" == John jses27@gmail.com wrote:
J> -----Original Message----- From: centos-bounces@centos.org J> [mailto:centos-bounces@centos.org] On Behalf Of Marko J> A. Jennings Sent: Tuesday, June 24, 2008 3:18 PM To: J> centos@centos.org Subject: Re: [CentOS] Problem with J> nvidia-drv-x11 when upgrading to CentOS 5.2
J> On Tue, June 24, 2008 3:08 pm, Bernhard Gschaider wrote: >> Hi! >> >> I know that the nvidia-drv-x11-package is from RPMForge, but I >> thought I might mention it here. >>
<problem snipped>
J> ----------------------------------------------- Have you tried J> an older version of the driver from rpmforge? Do that First and J> see how that turns out. I myself am a fan of the Nvidia Drivers J> from nvidia.com. Meantime CentOS 5.2 is Very New and they may J> very well be issues with driver Stability yet to be.
J> http://wiki.centos.org/HardwareList/Nvidia_Graphics This is a J> link of how to install the nvidia driver from J> nvidia.com. **WARNING** It is not finished but there should be J> enough info there to get to rolling in the right direction. You J> need to be aware it is a draft only. Cent OS 5.2 will also be J> included in it with in the next 30 days as time alows me.
J> Alternativly after you get one Nvidia.com driver going on one J> machine, you could copy the built kernel module over to other J> machines providing they have the same card. Warning, I do not J> condone such as that. Good Luck...
Hi John!
As I understand it the nvidia-x11-drv IS the nvidia.com-driver just repackaged in such a way that it automatically recompiles itself if a new kernel is installed. For the vanilla-nvidia-drivers I had to write a script for that and the number of workstation here is not big enough that it justifies that (I did that, but it never worked 100% and testing a boot time script is a pain in the a##) Obviously the script in the RPM-package doesn't know how to behave during an upgrade (let's see how it fares when the first 5.2-kernel-update comes along)
Bernhard
Keep me Posted on what happens please.
John
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Bernhard Gschaider Sent: Wednesday, June 25, 2008 4:55 AM To: CentOS mailing list Subject: Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2
On Wed, 25 Jun 2008 01:13:11 -0400 "J" == John jses27@gmail.com wrote:
J> -----Original Message----- From: centos-bounces@centos.org J> [mailto:centos-bounces@centos.org] On Behalf Of Marko J> A. Jennings Sent: Tuesday, June 24, 2008 3:18 PM To: J> centos@centos.org Subject: Re: [CentOS] Problem with J> nvidia-drv-x11 when upgrading to CentOS 5.2
J> On Tue, June 24, 2008 3:08 pm, Bernhard Gschaider wrote: >> Hi! >> >> I know that the nvidia-drv-x11-package is from RPMForge, but I >> thought I might mention it here. >>
<problem snipped>
J> ----------------------------------------------- Have you tried J> an older version of the driver from rpmforge? Do that First and J> see how that turns out. I myself am a fan of the Nvidia Drivers J> from nvidia.com. Meantime CentOS 5.2 is Very New and they may J> very well be issues with driver Stability yet to be.
J> http://wiki.centos.org/HardwareList/Nvidia_Graphics This is a J> link of how to install the nvidia driver from J> nvidia.com. **WARNING** It is not finished but there should be J> enough info there to get to rolling in the right direction. You J> need to be aware it is a draft only. Cent OS 5.2 will also be J> included in it with in the next 30 days as time alows me.
J> Alternativly after you get one Nvidia.com driver going on one J> machine, you could copy the built kernel module over to other J> machines providing they have the same card. Warning, I do not J> condone such as that. Good Luck...
Hi John!
As I understand it the nvidia-x11-drv IS the nvidia.com-driver just repackaged in such a way that it automatically recompiles itself if a new kernel is installed. For the vanilla-nvidia-drivers I had to write a script for that and the number of workstation here is not big enough that it justifies that (I did that, but it never worked 100% and testing a boot time script is a pain in the a##) Obviously the script in the RPM-package doesn't know how to behave during an upgrade (let's see how it fares when the first 5.2-kernel-update comes along)
Bernhard _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thu, 26 Jun 2008 11:25:42 -0400 "J" == John jses27@gmail.com wrote:
J> Keep me Posted on what happens please. John
You mean whether the nvidia-x11-drv package works inter-5.2 during kernel-updates? Today a new kernel-update arrived and two of my machines recompiled the driver without problem (so it seems to be a 5.1->5.2 problem)
Bernhard
J> -----Original Message----- From: centos-bounces@centos.org J> [mailto:centos-bounces@centos.org] On Behalf Of Bernhard J> Gschaider Sent: Wednesday, June 25, 2008 4:55 AM To: CentOS J> mailing list Subject: Re: [CentOS] Problem with nvidia-drv-x11 J> when upgrading to CentOS 5.2
On Wed, 25 Jun 2008 01:13:11 -0400 "J" == John jses27@gmail.com wrote:
J> -----Original Message----- From: centos-bounces@centos.org J> [mailto:centos-bounces@centos.org] On Behalf Of Marko J> A. Jennings Sent: Tuesday, June 24, 2008 3:18 PM To: J> centos@centos.org Subject: Re: [CentOS] Problem with J> nvidia-drv-x11 when upgrading to CentOS 5.2
J> On Tue, June 24, 2008 3:08 pm, Bernhard Gschaider wrote: >>> Hi! >>> >>> I know that the nvidia-drv-x11-package is from RPMForge, but I >>> thought I might mention it here. >>>
J> <problem snipped>
J> ----------------------------------------------- Have you tried J> an older version of the driver from rpmforge? Do that First and J> see how that turns out. I myself am a fan of the Nvidia Drivers J> from nvidia.com. Meantime CentOS 5.2 is Very New and they may J> very well be issues with driver Stability yet to be.
J> http://wiki.centos.org/HardwareList/Nvidia_Graphics This is a J> link of how to install the nvidia driver from J> nvidia.com. **WARNING** It is not finished but there should be J> enough info there to get to rolling in the right direction. You J> need to be aware it is a draft only. Cent OS 5.2 will also be J> included in it with in the next 30 days as time alows me.
J> Alternativly after you get one Nvidia.com driver going on one J> machine, you could copy the built kernel module over to other J> machines providing they have the same card. Warning, I do not J> condone such as that. Good Luck...
J> Hi John!
J> As I understand it the nvidia-x11-drv IS the nvidia.com-driver J> just repackaged in such a way that it automatically recompiles J> itself if a new kernel is installed. For the J> vanilla-nvidia-drivers I had to write a script for that and the J> number of workstation here is not big enough that it justifies J> that (I did that, but it never worked 100% and testing a boot J> time script is a pain in the a##) Obviously the script in the J> RPM-package doesn't know how to behave during an upgrade (let's J> see how it fares when the first 5.2-kernel-update comes along)
Great1 OK, Thank a lot...
JohnStanley
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Bernhard Gschaider Sent: Thursday, June 26, 2008 5:33 PM To: CentOS mailing list Subject: Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2
On Thu, 26 Jun 2008 11:25:42 -0400 "J" == John jses27@gmail.com wrote:
J> Keep me Posted on what happens please. John
You mean whether the nvidia-x11-drv package works inter-5.2 during kernel-updates? Today a new kernel-update arrived and two of my machines recompiled the driver without problem (so it seems to be a 5.1->5.2 problem)
Bernhard
J> -----Original Message----- From: centos-bounces@centos.org J> [mailto:centos-bounces@centos.org] On Behalf Of Bernhard J> Gschaider Sent: Wednesday, June 25, 2008 4:55 AM To: CentOS J> mailing list Subject: Re: [CentOS] Problem with nvidia-drv-x11 J> when upgrading to CentOS 5.2
On Wed, 25 Jun 2008 01:13:11 -0400 "J" == John jses27@gmail.com wrote:
J> -----Original Message----- From: centos-bounces@centos.org J> [mailto:centos-bounces@centos.org] On Behalf Of Marko J> A. Jennings Sent: Tuesday, June 24, 2008 3:18 PM To: J> centos@centos.org Subject: Re: [CentOS] Problem with J> nvidia-drv-x11 when upgrading to CentOS 5.2
J> On Tue, June 24, 2008 3:08 pm, Bernhard Gschaider wrote: >>> Hi! >>> >>> I know that the nvidia-drv-x11-package is from RPMForge, but I >>> thought I might mention it here. >>>
J> <problem snipped>
J> ----------------------------------------------- Have you tried J> an older version of the driver from rpmforge? Do that First and J> see how that turns out. I myself am a fan of the Nvidia Drivers J> from nvidia.com. Meantime CentOS 5.2 is Very New and they may J> very well be issues with driver Stability yet to be.
J> http://wiki.centos.org/HardwareList/Nvidia_Graphics This is a J> link of how to install the nvidia driver from J> nvidia.com. **WARNING** It is not finished but there should be J> enough info there to get to rolling in the right direction. You J> need to be aware it is a draft only. Cent OS 5.2 will also be J> included in it with in the next 30 days as time alows me.
J> Alternativly after you get one Nvidia.com driver going on one J> machine, you could copy the built kernel module over to other J> machines providing they have the same card. Warning, I do not J> condone such as that. Good Luck...
J> Hi John!
J> As I understand it the nvidia-x11-drv IS the nvidia.com-driver J> just repackaged in such a way that it automatically recompiles J> itself if a new kernel is installed. For the J> vanilla-nvidia-drivers I had to write a script for that and the J> number of workstation here is not big enough that it justifies J> that (I did that, but it never worked 100% and testing a boot J> time script is a pain in the a##) Obviously the script in the J> RPM-package doesn't know how to behave during an upgrade (let's J> see how it fares when the first 5.2-kernel-update comes along)
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, Jun 25, 2008 at 1:55 AM, Bernhard Gschaider bgschaid_lists@ice-sf.at wrote:
Hi John!
As I understand it the nvidia-x11-drv IS the nvidia.com-driver just repackaged in such a way that it automatically recompiles itself if a new kernel is installed. For the vanilla-nvidia-drivers I had to write a script for that and the number of workstation here is not big enough that it justifies that (I did that, but it never worked 100% and testing a boot time script is a pain in the a##) Obviously the script in the RPM-package doesn't know how to behave during an upgrade (let's see how it fares when the first 5.2-kernel-update comes along)
I may be mistaken on this, but IIRC, the driver does not recompile itself automatically at all. I used dkms once a great many kernels ago, and the driver has been recompiled for me for every single update since then (4.4, I think), including my update to 5.2. I didn't see any reference to this in this thread at all, so I'm assuming that you are not using dkms.
For the person who uninstalled, updated and reinstalled the driver, I didn't see any mention of a recompile - did you do that?
Now, if your driver doesn't work after an explicit recompile, that's a different problem.
mhr
On Tue, 1 Jul 2008 10:40:38 -0700 "M" == MHR mhullrich@gmail.com wrote:
M> On Wed, Jun 25, 2008 at 1:55 AM, Bernhard Gschaider M> bgschaid_lists@ice-sf.at wrote: >> Hi John! >> >> As I understand it the nvidia-x11-drv IS the nvidia.com-driver >> just repackaged in such a way that it automatically recompiles >> itself if a new kernel is installed. For the >> vanilla-nvidia-drivers I had to write a script for that and the >> number of workstation here is not big enough that it justifies >> that (I did that, but it never worked 100% and testing a boot >> time script is a pain in the a##) Obviously the script in the >> RPM-package doesn't know how to behave during an upgrade (let's >> see how it fares when the first 5.2-kernel-update comes along) >>
M> I may be mistaken on this, but IIRC, the driver does not M> recompile itself automatically at all. I used dkms once a M> great many kernels ago, and the driver has been recompiled for M> me for every single update since then (4.4, I think), including M> my update to 5.2. I didn't see any reference to this in this M> thread at all, so I'm assuming that you are not using dkms.
I didn't mention it, but the package recompiles the driver using DKMS.
I'm fully aware, that binary-only-packages won't work
M> For the person who uninstalled, updated and reinstalled the M> driver, I didn't see any mention of a recompile - did you do M> that?
As said above: DKMS should take care of that - and it always did
M> Now, if your driver doesn't work after an explicit recompile, M> that's a different problem.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of MHR Sent: Tuesday, July 01, 2008 1:41 PM To: CentOS mailing list Subject: Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2
On Wed, Jun 25, 2008 at 1:55 AM, Bernhard Gschaider bgschaid_lists@ice-sf.at wrote:
Hi John!
As I understand it the nvidia-x11-drv IS the nvidia.com-driver just repackaged in such a way that it automatically recompiles itself if a new kernel is installed. For the vanilla-nvidia-drivers I had to write a script for that and the number of workstation here is not big enough that it justifies that (I did that, but it never worked 100% and testing a boot time script is a pain in the a##) Obviously the script in the RPM-package doesn't know how to behave during an upgrade (let's see how it fares when the first 5.2-kernel-update comes along)
I may be mistaken on this, but IIRC, the driver does not recompile itself automatically at all. I used dkms once a great many kernels ago, and the driver has been recompiled for me for every single update since then (4.4, I think), including my update to 5.2. I didn't see any reference to this in this thread at all, so I'm assuming that you are not using dkms.
For the person who uninstalled, updated and reinstalled the driver, I didn't see any mention of a recompile - did you do that?
Now, if your driver doesn't work after an explicit recompile, that's a different problem.
Mhr ---------------------------------------------------------------- Yes, for DKMS users it should auto recompile on Kernel Upgrade. For users of the Proprietary Nvidia Driver it will not. You will have to manually recompile it.
JohnStanley
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, Jul 2, 2008 at 7:29 AM, John jses27@gmail.com wrote:
Yes, for DKMS users it should auto recompile on Kernel Upgrade. For users of the Proprietary Nvidia Driver it will not. You will have to manually recompile it.
I have not done this for a while but you can automate the installation of the proprietary Nvidia driver by providing appropriate flags. The following command worked when I tested:
sh ./NVIDIAxxxxx.run -a -q -N --ui=none
Others posted this:
sh ./NVIDIAxxxxx.run --no-network -s -K -n
Once you find the way to get the installalation working without human intervention, you can put it in a place like /etc/rc.local :
if [ ! -e /lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko ]; then echo "Installing the proprietary NVIDIA driver." /full/path/to/ NVIDIAxxxxx.run --no-network -s -K -n fi
This will compile and install the driver each time the kernel is updated.
Akemi
My nvidia driver (installed from Nvidia.com's package under CentOS 5.1 x86_64, not rpm) runs well under CentOS 5.2 without any modification.
On Tue, Jun 24, 2008 at 9:08 PM, Bernhard Gschaider bgschaid_lists@ice-sf.at wrote:
Hi!
I know that the nvidia-drv-x11-package is from RPMForge, but I thought I might mention it here.
I have a machine with a NVidia-card and because of the ease of use I use the rpmforge-package for that.
After upgrading the problem was that during rebooting as soon as the machine hit the RHGB (which implicitly uses that driver) the machine froze. I booted into the old kernel removed rhgb, rebooted. Now the machine froze when starting X. Same procedure: Old Kernel. Remove nvidia-drv-x11. Reboot into the new kernel and reinstall nvidia-drv-x11. After a reboot everything works as it used to.
The cause of the problem could have been (sorry, I didn't do any thorough forensic) that the nvidia.ko that was used in the new kernel was a symbolic link from the "weak-updates"-directory into the old kernel "extra"-directory. Is it possible that this only works inside of kernels with the same x in CentOS 5.x ?
For the other machines I am upgrading I plan to
- deinstall nvidia-x11-drv
- do a regular "yum upgrade"
- reinstall nvidia-x11-drv after reboot
Is there any better way to do it?
Bernhard
PS: the main purpose of this message is to alert others to this problem, not to get an answer, although that would be nice _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos