ubuntu8.10下nvidia驱动安装不了!

CPU/显卡/打印机/USB设备等硬件问题
回复
一叶知秋
帖子: 25
注册时间: 2008-09-06 8:29

ubuntu8.10下nvidia驱动安装不了!

#1

帖子 一叶知秋 » 2008-11-10 15:02

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
fsfjdwh
帖子: 241
注册时间: 2008-09-25 21:01

Re: ubuntu8.10下nvidia驱动安装不了!

#2

帖子 fsfjdwh » 2008-11-10 15:08

不会吧,你更换一个源试试!!我原来也不行,更换了台湾大学的源,就安装上去了!!
头像
冲浪板
论坛版主
帖子: 7513
注册时间: 2007-05-06 8:19

Re: ubuntu8.10下nvidia驱动安装不了!

#3

帖子 冲浪板 » 2008-11-10 15:08

咱的GF4 mx 440已经转着呢,嘎嘎;

你别逞能自己下载,用个工具吧,叫env...什么的 :em02
头像
qioffe
帖子: 21
注册时间: 2008-11-12 4:06

Re: ubuntu8.10下nvidia驱动安装不了!

#4

帖子 qioffe » 2008-11-12 4:07

envy,比那种修改配置文件简单多了
jkhu
帖子: 6
注册时间: 2008-07-23 19:01

Re: ubuntu8.10下nvidia驱动安装不了!

#5

帖子 jkhu » 2008-11-17 12:24

我用envyNG装的71.86.04,启动时总是加载失败。
ggdxx
帖子: 17
注册时间: 2007-08-07 13:54

Re: ubuntu8.10下nvidia驱动安装不了!

#6

帖子 ggdxx » 2008-11-19 1:14

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

Re: ubuntu8.10下nvidia驱动安装不了!

#7

帖子 zblgd » 2008-12-16 20:18

同样情况,不知楼主现在解决没有。
头像
卞锦生
帖子: 320
注册时间: 2008-12-07 19:43
系统: ubuntu14.10
来自: 江苏盐城亭湖区
联系:

Re: ubuntu8.10下nvidia驱动安装不了!

#8

帖子 卞锦生 » 2009-01-02 9:07

安装头文件和编译环境
  这一步一定要做,否则会提示“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
Ubuntu17.04 + Firefox + Gimp
ninyun
帖子: 186
注册时间: 2008-04-13 9:47

Re: ubuntu8.10下nvidia驱动安装不了!

#9

帖子 ninyun » 2009-01-04 18:50

8楼的正解,Ubuntu 8.10 必需要做第一步后才能在安装显卡驱动。
头像
blackiron
帖子: 887
注册时间: 2007-05-25 16:47
来自: 上海

Re: ubuntu8.10下nvidia驱动安装不了!

#10

帖子 blackiron » 2009-01-05 9:10

你是没有安装编译环境,按8楼说的,或者google一下

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

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