FW: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2 (Akemi)

2008-07-05 Thread John
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Akemi Yagi
Sent: Wednesday, July 02, 2008 10:47 AM
To: CentOS mailing list
Subject: Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS
5.2

On Wed, Jul 2, 2008 at 7:29 AM, John [EMAIL PROTECTED] 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 ./NVIDIAx.run  -a -q -N --ui=none

Others posted this:

sh ./NVIDIAx.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/ NVIDIAx.run --no-network -s -K -n fi

This will compile and install the driver each time the kernel is updated.

Akemi

---
Hi Akemi, this looks like a good option to put into the nvidia how to. Any
further ideas?
___
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: FW: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2 (Akemi)

2008-07-05 Thread Akemi Yagi
On Fri, Jul 4, 2008 at 11:59 PM, John [EMAIL PROTECTED] wrote:

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of Akemi Yagi

 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/ NVIDIAx.run --no-network -s -K -n fi

 This will compile and install the driver each time the kernel is updated.

 Akemi
 
 ---
 Hi Akemi, this looks like a good option to put into the nvidia how to. Any
 further ideas?

Hi John,

If I remember correctly, Karanbir said he was using the same nvidia.ko
file over several generations (?) of kernels just by copying it.
However, we need to ask him for the details.

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


RE: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-07-02 Thread John

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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
[EMAIL PROTECTED] 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

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


Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-07-02 Thread Akemi Yagi
On Wed, Jul 2, 2008 at 7:29 AM, John [EMAIL PROTECTED] 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 ./NVIDIAx.run  -a -q -N --ui=none

Others posted this:

sh ./NVIDIAx.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/ NVIDIAx.run --no-network -s -K -n
fi

This will compile and install the driver each time the kernel is updated.

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


Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-07-01 Thread MHR
On Wed, Jun 25, 2008 at 1:55 AM, Bernhard Gschaider
[EMAIL PROTECTED] 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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-07-01 Thread Bernhard Gschaider

 On Tue, 1 Jul 2008 10:40:38 -0700
 M == MHR  [EMAIL PROTECTED] wrote:

M On Wed, Jun 25, 2008 at 1:55 AM, Bernhard Gschaider
M [EMAIL PROTECTED] 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.

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


Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-06-28 Thread Vnpenguin
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
[EMAIL PROTECTED] 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

 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




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


RE: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-06-28 Thread John
Great1 OK, Thank a lot... 


JohnStanley

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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  [EMAIL PROTECTED] 
 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: [EMAIL PROTECTED]
J [mailto:[EMAIL PROTECTED] 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  [EMAIL PROTECTED]
 wrote:

J -Original Message- From: [EMAIL PROTECTED]
J [mailto:[EMAIL PROTECTED] 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

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


RE: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-06-26 Thread John
Keep me Posted on what happens please. 


John

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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  [EMAIL PROTECTED] 
 wrote:

J -Original Message- From: [EMAIL PROTECTED]
J [mailto:[EMAIL PROTECTED] 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

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


Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-06-26 Thread Bernhard Gschaider

 On Thu, 26 Jun 2008 11:25:42 -0400
 J == John  [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
J [mailto:[EMAIL PROTECTED] 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  [EMAIL PROTECTED] 
 wrote:

J -Original Message- From: [EMAIL PROTECTED]
J [mailto:[EMAIL PROTECTED] 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


Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-06-25 Thread Bernhard Gschaider

 On Wed, 25 Jun 2008 01:13:11 -0400
 J == John  [EMAIL PROTECTED] wrote:

J -Original Message- From: [EMAIL PROTECTED]
J [mailto:[EMAIL PROTECTED] 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


[CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-06-24 Thread Bernhard Gschaider

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


Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-06-24 Thread Marko A. Jennings
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

That is exactly what I did and my machine hangs again after nvidia-x11-drv
is installed.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-06-24 Thread Bernhard Gschaider
 On Tue, 24 Jun 2008 15:17:56 -0400 (EDT)
 MAJ == Marko A Jennings [EMAIL PROTECTED] 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 ?

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


RE: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS 5.2

2008-06-24 Thread John
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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

 1. deinstall nvidia-x11-drv
 2. do a regular yum upgrade
 3. 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

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