-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] 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 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 ---------------------------------------------------------------------------- ------------------- 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
On Fri, Jul 4, 2008 at 11:59 PM, John jses27@gmail.com wrote:
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] 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/ NVIDIAxxxxx.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
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Akemi Yagi Sent: Saturday, July 05, 2008 4:44 AM To: CentOS mailing list Subject: Re: FW: [CentOS] Problem with nvidia-drv-x11 when upgrading to CentOS5.2 (Akemi)
On Fri, Jul 4, 2008 at 11:59 PM, John jses27@gmail.com wrote:
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] 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/ NVIDIAxxxxx.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 ------------------ Akemi,
Yes, someone did mention that. The only thing I am kind of worried about when just copying it is, the difference between the Kernel Versions. Using it over the same generation of kernels I'm assuming it is of the 2.6.x.x.x family of kernels? If it works without problems then good. It's that I have all ways recompiled a Kernel module to the latest kernel on the machine.
I also know from previous email and notes that it will not work with the Xen Kernel unless something has changed. None the less I've thought about giving a wack at it just to try.
JohnStanley _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
John wrote:
-----Original Message-----
<snip> Akemi,
Yes, someone did mention that. The only thing I am kind of worried about when just copying it is, the difference between the Kernel Versions. Using it over the same generation of kernels I'm assuming it is of the 2.6.x.x.x family of kernels? If it works without problems then good. It's that I have all ways recompiled a Kernel module to the latest kernel on the machine.
I also know from previous email and notes that it will not work with the Xen Kernel unless something has changed. None the less I've thought about giving a wack at it just to try.
JohnStanley
That's the reason why you like to have the same kernel during the distro lifetime: you can take a module from 2.6.18-53 and use it on 2.6.18-92.1.1 ... of course you have to copy it and use depmod -a (or use the weak-updates script that is called after each kernel update) You're right that nvidia kmod doesn't work with Xen kernels though ...
On Sat, 2008-07-05 at 13:37 +0200, Fabian Arrotin wrote:
<snip>
"Internet network currently down, TCP/IP packets delivered now by UPS/Fedex ..."
Except in the U.S. where a combination of stupid policies, unreasonable consumer expectations, spineless politicians, and $4+ a gallon (GASP!) gasoline is driving (no pun intended) our airlines, truckers and parcel delivery services to the brink of bankruptcy.
We will no revert to Pony Express.
Wait: "tree huggers" object to the methane from horsesh*t and spineless ones immediately cave.
We will revert to smoke signals.
Wait: that will violate the carbon caps and "tree huggers" object to the destruction of our "pristine" forests. Spineless ones cave.
We will revert to tom-toms made from fallen trees, thereby preserving the forests and having no impact on the carbon cap.
Wait: "everybody" objects to the noise polution. Spineless ones silently cave.
We will revert ... to living in caves and having no packets at all.