当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : envyNG安装显卡驱动71.86.04,启动时总加载失败,手动安装71.86.06失败。(TNT2 64M 8.10)
帖子发表于 : 2008-11-17 12:42 

注册: 2008-07-23 19:01
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
sudo aptitude install build-essential
我已经装了编译环境了,可是还是编译通不过,提示unable to build the NVIDIA kernel module,谁知道是怎么回事,谢谢,我的是TNT2 64M的显卡,我装的驱动是NVIDIA-Linux-x86-71.86.06-pkg1.run。
另外,我用envyNG装的71.86.04,启动时总是加载失败。

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Nov 17 12:28:58 2008
installer version: 1.0.7

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
no cc version check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 71.86.06.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.27-8-generic/build'
-> Kernel output path: '/lib/modules/2.6.27-8-generic/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.27-8-generi
c/build SYSOUT=/lib/modules/2.6.27-8-generic/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-8-generic/build SUBDIRS=
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/.tmp_vers
ions ; rm -f /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/.tmp_
versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06
-pkg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL_
_ -Iinclude -I/usr/src/linux-headers-2.6.27-8-generic/arch/x86/include -in
clude include/linux/autoconf.h -
Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stric
t-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft
-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i
586 -mtune=generic -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-
unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-
default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-c
alls -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5349/N
VIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wsw
itch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar
-Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -
D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__
-DMODULE -DNV_VERSION_STRING=\"71.86.06\" -DNV_UNIX -DNV_LINUX -DNV_INT64_OK
-DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUIL
D_BASENAME=KBUILD_STR(nv)" -D"KB
UILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5349/NVIDIA-Linux-x86-71.8
6.06-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg
1/usr/src/nv/nv.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv.c:14:
include/asm/bitops.h: 在函数‘set_bit’中:
include/asm/bitops.h:60: 警告: ‘void *’型指针用在了算术表�
�式中
include/asm/bitops.h: 在函数‘clear_bit’中:
include/asm/bitops.h:97: 警告: ‘void *’型指针用在了算术表�
�式中
In file included from include/linux/list.h:6,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: 在函数‘prefetch_range’中:
include/linux/prefetch.h:57: 警告: ‘void *’型指针用在了算术�
��达式中
In file included from include/linux/utsname.h:35,
from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv.c:14:
include/linux/sched.h: 在函数‘object_is_on_stack’中:
include/linux/sched.h:1969: 警告: ‘void *’型指针用在了算术�
�达式中
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:94,
from include/linux/pci.h:983,
from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv-linux.h:83,
from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv.c:14:
include/linux/scatterlist.h: 在函数‘sg_virt’中:
include/linux/scatterlist.h:199: 警告: ‘void *’型指针用在了算
术表达式中
In file included from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv-linux.h:104:27:
error: asm/semaphore.h: 没有该文件或目录
In file included from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv-linux.h:106,
from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv.c:14:
include/linux/highmem.h: 在函数‘zero_user_segments’中:
include/linux/highmem.h:134: 警告: ‘void *’型指针用在了算术�
��达式中
include/linux/highmem.h:134: 警告: ‘void *’型指针用在了算术�
��达式中
include/linux/highmem.h:134: 警告: ‘void *’型指针用在了算术�
��达式中
include/linux/highmem.h:134: 警告: ‘void *’型指针用在了算术�
��达式中
include/linux/highmem.h:137: 警告: ‘void *’型指针用在了算术�
��达式中
include/linux/highmem.h:137: 警告: ‘void *’型指针用在了算术�
��达式中
include/linux/highmem.h:137: 警告: ‘void *’型指针用在了算术�
��达式中
include/linux/highmem.h:137: 警告: ‘void *’型指针用在了算术�
��达式中
In file included from /tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv-linux.h: 在函
数‘nv_execute_on_all_cpus’中:
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv-linux.h:595: �
�误: 提供给函数‘on_each_cpu’的实参太多
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv.c: 在函数‘
__nv_setup_pat_entries’中:
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv.c:887: 警告�
� 比较有符号和无符号数
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv.c: 在函数‘
__nv_restore_pat_entries’中:
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv.c:913: 警告�
� 比较有符号和无符号数
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv.c: 在函数‘
nv_kern_cpu_callback’中:
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv.c:1239: 警告�
�� 比较有符号和无符号数
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv.c:1242: 错误�
�� 提供给函数‘smp_call_function’的实参太多
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv.c:1246: 警告�
�� 比较有符号和无符号数
/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv.c:1249: 错误�
�� 提供给函数‘smp_call_function’的实参太多
make[3]: *** [/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src/nv/nv.o
] 错误 1
make[2]: *** [_module_/tmp/selfgz5349/NVIDIA-Linux-x86-71.86.06-pkg1/usr/src
/nv] 错误 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] 错误 1
make: *** [module] 错误 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at http://www.nvidia.com.


页首
 用户资料  
 
2 楼 
 文章标题 : Re: envyNG安装显卡驱动71.86.04,启动时总加载失败,手动安装71.86.06失败。(TNT2 64M 8.10)
帖子发表于 : 2008-11-18 20:16 

注册: 2008-11-18 20:15
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
顶 我也遇到同样的问题 怎么解决阿 有没有高手指点下


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译