LinHES Forums
http://forum.linhes.org/

installing nvidia drivers 180.29 on R5.5 fails...
http://forum.linhes.org/viewtopic.php?f=2&t=19553
Page 1 of 1

Author:  graysky [ Fri Feb 20, 2009 3:05 pm ]
Post subject:  installing nvidia drivers 180.29 on R5.5 fails...

Just got a new 8400GS for my frontend and am trying to get it functional on R5.5. Initially, I tried using the install-nvidia-debian.sh script as per tjc's hints/tips but this failed.

Code:
# install-nvidia-debian.sh 173.14.09
/usr/local/bin/install-nvidia-debian.sh: BEGIN
dpkg - warning: ignoring request to remove nvidia-glx-legacy which isn't installed.
dpkg - warning: ignoring request to remove nvidia-kernel-legacy-2.6.23-chw-4 which isn't installed.
dpkg - warning: ignoring request to remove nvidia-glx which isn't installed.
(Reading database ... 94336 files and directories currently installed.)
Removing nvidia-kernel-2.6.23-chw-4 ...
dpkg - warning: ignoring request to remove nvidia-glx-legacy which isn't installed.
dpkg - warning: ignoring request to remove nvidia-kernel-legacy-2.6.23-chw-4 which isn't installed.
dpkg - warning: ignoring request to remove nvidia-glx which isn't installed.
(Reading database ... 94330 files and directories currently installed.)
Removing nvidia-kernel-2.6.23-chw-4 ...
Purging configuration files for nvidia-kernel-2.6.23-chw-4 ...
(Reading database ... 94330 files and directories currently installed.)
Preparing to replace nvidia-kernel-common 20051028+1-0.1 (using .../nvidia-kernel-common_20051028+1-0.1_all.deb) ...
Unpacking replacement nvidia-kernel-common ...
Setting up nvidia-kernel-common (20051028+1-0.1) ...
dpkg: regarding .../nvidia-glx_173.14.09-1_i386.deb containing nvidia-glx:
 nvidia-glx-legacy-96xx conflicts with nvidia-glx
  nvidia-glx (version 173.14.09-1) is to be installed.
dpkg: warning - ignoring conflict, may proceed anyway !
(Reading database ... 94330 files and directories currently installed.)
Unpacking nvidia-glx (from .../nvidia-glx_173.14.09-1_i386.deb) ...
dpkg-divert: `diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/libGL.so.1.xlibmesa by nvidia-glx' clashes with `diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/libGL.so.1.xlibmesa by nvidia-glx-legacy-96xx'
dpkg: error processing /usr/src/debs/nvidia/latest/nvidia-glx_173.14.09-1_i386.deb (--install):
 subprocess pre-installation script returned error exit status 2
Selecting previously deselected package nvidia-kernel-2.6.23-chw-4.
dpkg: regarding .../nvidia-kernel-2.6.23-chw-4_173.14.09-1+2.6.23-chw-4-10.00.Custom_i386.deb containing nvidia-kernel-2.6.23-chw-4:
 nvidia-kernel-legacy-96xx-2.6.23-chw-4 conflicts with nvidia-kernel-2.6.23-chw-4
  nvidia-kernel-2.6.23-chw-4 (version 173.14.09-1+2.6.23-chw-4-10.00.Custom) is to be installed.
dpkg: warning - ignoring conflict, may proceed anyway !
Unpacking nvidia-kernel-2.6.23-chw-4 (from .../nvidia-kernel-2.6.23-chw-4_173.14.09-1+2.6.23-chw-4-10.00.Custom_i386.deb) ...
Setting up nvidia-kernel-2.6.23-chw-4 (173.14.09-1+2.6.23-chw-4-10.00.Custom) ...
Errors were encountered while processing:
 /usr/src/debs/nvidia/latest/nvidia-glx_173.14.09-1_i386.deb
xinit: no process killed


I next downloaded the official nvidia package v180.29 but that too gave errors refusing to install:

Code:
 ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.23-chw-4/source'.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.

Author:  graysky [ Fri Feb 20, 2009 3:09 pm ]
Post subject: 

FIXED it myself! Here is the solution:

Code:
$ cd /lib/modules/2.6.23-chw-4
# mv source source-hide
# mv build build-old
# ln -s /usr/src/linux-headers-2.6.23-chw-4/ build


That did it! Now the drivers installed without complaining at all.

Code:
# sh /home/mythtv/NVIDIA-Linux-x86-180.29-pkg1.run -a


...just out of curiosity, can I get a deb of the new driver from somewhere and use the debian install script?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/