Hi,follow the methods post in
http://wiki.debian.org/NvidiaGraphicsDrivers
I still fail to install the nvidia driver!!!
for example,Use module-assistant
# apt-get install module-assistant gcc nvidia-kernel-common
# m-a update
# m-a prepare
follow the above ,everything comes well,but while I come to the follow step,things didn't work!
# m-a auto-install nvidia
I found:
module-assistant, interactive mode
Build of the package nvidia-kernel-source failed! How do you wish to proceed?
VIEW Examine the build log file
CONTINUE Skip and continue with the next operation STOP Stop processing the build commands
build log file post
part of)
/usr/src/modules/nvidia-kernel/nv/os-interface.c:26:
include/asm/io.h: In function 'check_signature': include/asm/io.h:258: warning: wrong type argument to increment In file included from
/usr/src/modules/nvidia-kernel/nv/os-interface.c:26:
/usr/src/modules/nvidia-kernel/nv/nv-linux.h:241:5: warning:
"NV_ENABLE_MEM_TRACKING" is not defined
/usr/src/modules/nvidia-kernel/nv/nv-linux.h:269:5: warning:
"NV_ENABLE_MEM_TRACKING" is not defined
/usr/src/modules/nvidia-kernel/nv/nv-linux.h:691:2: warning: #warning
"conftest.sh failed, assuming remap_page_range(4)!"
/usr/src/modules/nvidia-kernel/nv/os-interface.c:667:5: warning: "DEBUG"
is not defined /usr/src/modules/nvidia-kernel/nv/os-interface.c:679:5: warning: "DEBUG"
is not defined
/usr/src/modules/nvidia-kernel/nv/os-interface.c: In function
'os_set_mlock_capability':
/usr/src/modules/nvidia-kernel/nv/os-interface.c:1262: error: 'struct
task_struct' has no member named 'rlim' make[4]: *** [/usr/src/modules/nvidia-kernel/nv/os-interface.o] Error 1
make[3]: *** [_module_/usr/src/modules/nvidia-kernel/nv] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.16-2-486' NVIDIA: left KBUILD. nvidia.ko failed to build! make[2]: *** [module] Error 1 make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv' make[1]: *** [build-stamp] Error 2 make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
│ make: *** [kdist_image] Error 2
my kernel is 2.6.16-2-486, testing debian
thanks in advande!