当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 10 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ubuntu8.10下nvidia驱动安装不了!
帖子发表于 : 2008-11-10 15:02 

注册: 2008-09-06 8:29
帖子: 25
送出感谢: 0 次
接收感谢: 0 次
ubuntu8.10下,我的GeforceFX5200受限驱动安装不了,下载了NV的N多版本驱动,173、177均试过,都是安装失败,/var/log/nvidia-installer.log内容如下:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Nov 10 14:38:53 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 173.14.12.
-> 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-7-generic/build'
-> Kernel output path: '/lib/modules/2.6.27-7-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-7-generi
c/build SYSOUT=/lib/modules/2.6.27-7-generic/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-7-generic/build SUBDIRS=
/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-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/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/.tmp_ve
rsions ; rm -f /tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/.
tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.
12-pkg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/.nv
.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNE
L__ -Iinclude -I/usr/src/linux-headers-2.6.27-7-generic/arch/x86/include -
include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-pr
ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-fu
nction-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mp
referred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -pipe -W
no-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2
-mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-fra
me-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wn
o-pointer-sign -I/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv
-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
eses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qua
l -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.12\"
-UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=K
BUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz10051
/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/.tmp_nv.o /tmp/
selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/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/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/nv/nv-linux.h:19,
from /tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/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/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/nv/nv-linux.h:19,
from /tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/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/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/nv/nv-linux.h:19,
from /tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/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/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/nv/nv-linux.h:86,
from /tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/nv/nv.c:14:
include/linux/scatterlist.h: 在函数‘sg_virt’中:
include/linux/scatterlist.h:199: 警告: ‘void *’型指针用在了算
术表达式中
In file included from /tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/nv/nv.c:14:
/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv-linux.h:107:2
7: error: asm/semaphore.h: 没有该文件或目录
In file included from /tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/nv/nv-linux.h:109,
from /tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/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/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/nv/nv.c:14:
/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv-linux.h: 在�
��数‘nv_execute_on_all_cpus’中:
/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv-linux.h:674:
错误: 提供给函数‘on_each_cpu’的实参太多
/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.c: 在函数�
��nv_kern_cpu_callback’中:
/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.c:1299: 错�
�: 提供给函数‘smp_call_function’的实参太多
/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.c:1306: 错�
�: 提供给函数‘smp_call_function’的实参太多
make[3]: *** [/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv
.o] 错误 1
make[2]: *** [_module_/tmp/selfgz10051/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/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 www.nvidia.com.
原来在8.04下安装成功的,help me! :em20


页首
 用户资料  
 
2 楼 
 文章标题 : Re: ubuntu8.10下nvidia驱动安装不了!
帖子发表于 : 2008-11-10 15:08 

注册: 2008-09-25 21:01
帖子: 241
送出感谢: 0 次
接收感谢: 0 次
不会吧,你更换一个源试试!!我原来也不行,更换了台湾大学的源,就安装上去了!!


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ubuntu8.10下nvidia驱动安装不了!
帖子发表于 : 2008-11-10 15:08 
头像

注册: 2007-05-06 8:19
帖子: 7433
送出感谢: 0 次
接收感谢: 4
咱的GF4 mx 440已经转着呢,嘎嘎;

你别逞能自己下载,用个工具吧,叫env...什么的 :em02


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ubuntu8.10下nvidia驱动安装不了!
帖子发表于 : 2008-11-12 4:07 
头像

注册: 2008-11-12 4:06
帖子: 21
送出感谢: 0 次
接收感谢: 0 次
envy,比那种修改配置文件简单多了


页首
 用户资料  
 
5 楼 
 文章标题 : Re: ubuntu8.10下nvidia驱动安装不了!
帖子发表于 : 2008-11-17 12:24 

注册: 2008-07-23 19:01
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
我用envyNG装的71.86.04,启动时总是加载失败。


页首
 用户资料  
 
6 楼 
 文章标题 : Re: ubuntu8.10下nvidia驱动安装不了!
帖子发表于 : 2008-11-19 1:14 

注册: 2007-08-07 13:54
帖子: 17
送出感谢: 0 次
接收感谢: 0 次
我的也是阿,在原来8.10之前的版本上,我的GeforceFX5200用得好好的,所有的3D效果都可以开,升级到了8.10后,开机启动的时候就提示说 failed to initialize the NVIDIA kernel module。。。然后系统只能运行在 low-graphics mode,分辨率倒是还有1024*768,只是刷新率为0,不能更改。。。屏幕很一直在抖。。


页首
 用户资料  
 
7 楼 
 文章标题 : Re: ubuntu8.10下nvidia驱动安装不了!
帖子发表于 : 2008-12-16 20:18 

注册: 2008-07-11 10:11
帖子: 18
送出感谢: 0 次
接收感谢: 0 次
同样情况,不知楼主现在解决没有。


页首
 用户资料  
 
8 楼 
 文章标题 : Re: ubuntu8.10下nvidia驱动安装不了!
帖子发表于 : 2009-01-02 9:07 
头像

注册: 2008-12-07 19:43
帖子: 317
地址: 江苏盐城亭湖区
系统: ubuntu14.10
送出感谢: 0 次
接收感谢: 0 次
安装头文件和编译环境
  这一步一定要做,否则会提示“unableto build the Nvidia kernel module”的错误,考试.大提示方法如下:
  sudo apt-get install linux-headers-$(uname -r) build-essential
  gksudo gedit /etc/default/linux-restricted-modules-common
  以上第二个命令执行完以后在文件最后的双引号里面添加nv两个字,添加后就是“nv”。为了预防启动X失败,执行以下语句:
  sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
  如果遇到X启动失败:
  sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
  帮助你灰复X设置,然后启动按Ctrl+Alt+F1,登录后先关闭gdm:
  sudo /etc/init.d/gdm stop


_________________
Ubuntu14.10 + Firefox + Gimp


页首
 用户资料  
 
9 楼 
 文章标题 : Re: ubuntu8.10下nvidia驱动安装不了!
帖子发表于 : 2009-01-04 18:50 

注册: 2008-04-13 9:47
帖子: 185
送出感谢: 0 次
接收感谢: 0 次
8楼的正解,Ubuntu 8.10 必需要做第一步后才能在安装显卡驱动。


页首
 用户资料  
 
10 楼 
 文章标题 : Re: ubuntu8.10下nvidia驱动安装不了!
帖子发表于 : 2009-01-05 9:10 
头像

注册: 2007-05-25 16:47
帖子: 881
地址: 上海
送出感谢: 0 次
接收感谢: 0 次
你是没有安装编译环境,按8楼说的,或者google一下

建议你不要用源里的受限驱动!把它卸载干净,去nvidia网站下载最新的180.18驱动
我现在用的就是180.18(beta)

ftp://download.nvidia.com/XFree86/Linux-x86/180.18/


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

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Yahoo [Bot] 和 3 位游客


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

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

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