nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   1.0-8762 for x86-64/em64t and x86 updates (06-26-2006) (http://www.nvnews.net/vbulletin/showthread.php?t=72488)

zander 06-26-06 12:27 PM

1.0-8762 for x86-64/em64t and x86 updates (07-20-2006)
 
1 Attachment(s)
The patch attached to this post addresses known problems with the 1.0-8762 NVIDIA Linux/x86 and Linux/x86-64 graphics driver releases.

To patch 1.0-8762 and install the updated driver, please follow the instructions for your platform below (the steps needed to update the -pkg* packages not shown are analogous to the examples shown below).

Linux/x86:
# sh /path/to/NVIDIA-Linux-x86-1.0-8762-pkg1.run --extract-only
# cd NVIDIA-Linux-x86-1.0-8762-pkg1
# patch -p0 < /path/to/NVIDIA_kernel-1.0-8762-U072006.diff.txt
# ./nvidia-installer -n
Linux/x86-64:
# sh /path/to/NVIDIA-Linux-x86_64-1.0-8762-pkg2.run --extract-only
# cd NVIDIA-Linux-x86_64-1.0-8762-pkg2
# patch -p0 < /path/to/NVIDIA_kernel-1.0-8762-U072006.diff.txt
# ./nvidia-installer -n

The updated 1.0-8762 driver can optionally be repackaged into custom .run packages. To do this, please follow the instructions for your platform below:

Linux/x86:
# cd ../
# rm -rf NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/precompiled
# sh NVIDIA-Linux-x86-1.0-8762-pkg1/usr/bin/makeself.sh \
--target-os Linux --target-arch x86 \
NVIDIA-Linux-x86-1.0-8762-pkg1 \
NVIDIA-Linux-x86-1.0-8762-pkg0-custom.run \
"NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-8762" \
./nvidia-installer
Linux/x86-64:
# cd ../
# sh NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/bin/makeself.sh \
--target-os Linux --target-arch x86_64 \
NVIDIA-Linux-x86_64-1.0-8762-pkg2 \
NVIDIA-Linux-x86_64-1.0-8762-pkg2-custom.run \
"NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-8762" \
./nvidia-installer

If you are interested in more detailed information about the driver updates contained in the cumulative patch, please refer to the posts below for the individual patches and descriptions of the problems they address. If you wish to manually apply these patches or a subset of them, you can do so by following the instructions above, repeating the `patch` command for each patch and substituting each patch's file for the cumulative one's.

Please note: if you have applied the cumulative patch attached to this post, you do not need to apply the individual patches attached to the posts below.

zander 06-26-06 12:33 PM

Re: 1.0-8762 for x86-64/em64t and x86 updates (06-26-2006)
 
1 Attachment(s)
The attached patch fixes compile failures with errors of the form below when building the 1.0-8762 NVIDIA kernel module against recent Linux kernels (Linux >= 2.6.17-rc4-mm1, Linux >= 2.6.17-git7).
In file included from ../NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c:14:
../NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv-linux.h: At top level:
../NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv-linux.h:711: error: conflicting types for 'pm_message_t'
include/linux/pm.h:142: error: previous declaration of 'pm_message_t' was here
../NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c:315: warning: initialization from incompatible pointer type
make[4]: *** [../NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.o] Error 1

zander 07-20-06 12:15 PM

Re: 1.0-8762 for x86-64/em64t and x86 updates (06-26-2006)
 
1 Attachment(s)
This patch fixes a conftest.sh compatibility problem introduced with the linux/utsrelease.h kernel header file in Linux 2.6.18 pre-release kernels (Linux >= 2.6.18-rc1).


All times are GMT -5. The time now is 01:57 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.