LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1552|回复: 11

刚装完11.0,NV显卡驱动装不上了!!

[复制链接]
发表于 2006-12-15 01:05:32 | 显示全部楼层 |阅读模式
我的显卡比较旧,老TNT2,下载了NVIDIA-Linux-x86-1.0-4349.run
解压出来后make install ,编译没有提示错误
但加载不了,lsmod看不到,手动modprobe nvidia后提息如下:

Warning: loading /lib/modules/2.4.33.3/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module nvidia loaded, with warnings

烦烦~
发表于 2006-12-15 12:29:26 | 显示全部楼层
坛子里的帖子你都没看吧?先看看置顶帖子,精华帖子再说。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-15 15:50:20 | 显示全部楼层
Post by dogking
坛子里的帖子你都没看吧?先看看置顶帖子,精华帖子再说。


为了这个问题,我在本坛子和fans的坛子里都泡了两天啦!
回复 支持 反对

使用道具 举报

发表于 2006-12-15 17:31:54 | 显示全部楼层
不要解压。
#chmod +x NVIDIA-Linux-x86-1.0-4349.run
#./NVIDIA-Linux-x86-1.0-4349.run
再试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-16 23:19:53 | 显示全部楼层
等我好好研究研究,之前在10.2下面都没问题的!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-17 00:41:53 | 显示全部楼层
Post by dogking
不要解压。
#chmod +x NVIDIA-Linux-x86-1.0-4349.run
#./NVIDIA-Linux-x86-1.0-4349.run
再试试。


根本装不进去,提示如下:
Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86 (version: 1.0-4349) is now complete.  Please update your XF86Config file as appropriate; see the file/usr/share/doc/NVIDIA_GLX-1.0/README for details.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-17 00:42:24 | 显示全部楼层
Post by dogking
不要解压。
#chmod +x NVIDIA-Linux-x86-1.0-4349.run
#./NVIDIA-Linux-x86-1.0-4349.run
再试试。


根本装不进去,提示如下:
Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86 (version: 1.0-4349) is now complete.  Please update your XF86Config file as appropriate; see the file/usr/share/doc/NVIDIA_GLX-1.0/README for details.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-17 01:47:13 | 显示全部楼层
又出错了,呜呜!

root@darkstar:~# cd NVIDIA_kernel-1.0-3123
root@darkstar:~/NVIDIA_kernel-1.0-3123# make SYSINCLUDE=/usr/src/linux-2.4.33.3/include/
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -
DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DN
V_PATCHLEVEL=3123  -DNV_UNIX   -DNV_LINUX   -DNVCPU_X86       -I. -I/usr/src/linux-2.4.33.3/include/ -
Wno-cast-qual nv.c
In file included from /usr/src/linux-2.4.33.3/include/linux/vmalloc.h:8,
                 from nv-linux.h:57,
                 from nv.c:14:
/usr/src/linux-2.4.33.3/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux-2.4.33.3/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmet
ic
nv.c: In function `nv_kern_open':
nv.c:1063: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nv_alloc_pages':
nv.c:2227: warning: use of cast expressions as lvalues is deprecated
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -
DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DN
V_PATCHLEVEL=3123  -DNV_UNIX   -DNV_LINUX   -DNVCPU_X86       -I. -I/usr/src/linux-2.4.33.3/include/ -
Wno-cast-qual os-interface.c
In file included from /usr/src/linux-2.4.33.3/include/linux/vmalloc.h:8,
                 from nv-linux.h:57,
                 from os-interface.c:25:
/usr/src/linux-2.4.33.3/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux-2.4.33.3/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmet
ic
os-interface.c: In function `save_wb':
os-interface.c:965: warning: use of cast expressions as lvalues is deprecated
os-interface.c: In function `KernInitAGP':
os-interface.c:1294: warning: assignment from incompatible pointer type
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith                                        -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -                                       DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DN                                       V_PATCHLEVEL=3123  -DNV_UNIX   -DNV_LINUX   -DNVCPU_X86       -I. -I/usr/src/linux-2.4.33.3/include/ -                                       Wno-cast-qual os-registry.c
In file included from /usr/src/linux-2.4.33.3/include/linux/vmalloc.h:8,
                 from nv-linux.h:57,
                 from os-registry.c:14:
/usr/src/linux-2.4.33.3/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux-2.4.33.3/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmet                                       ic
ld -r -o Module-linux nv.o os-interface.o os-registry.o
ld -r -o NVdriver Module-linux Module-nvkernel
size NVdriver
   text    data     bss     dec     hex filename
893767   51796   55948 1001511   f4827 NVdriver
Warning: loading /lib/modules/2.4.33.3/kernel/drivers/video/NVdriver will taint the kernel: non-GPL li                                       cense - NVIDIA
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
/lib/modules/2.4.33.3/kernel/drivers/video/NVdriver: init_module: Device or resource busy
/lib/modules/2.4.33.3/kernel/drivers/video/NVdriver: Hint: insmod errors can be caused by incorrect mo                                       dule parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.33.3/kernel/drivers/video/NVdriver: insmod /lib/modules/2.4.33.3/kernel/drivers/video                                       /NVdriver failed
/lib/modules/2.4.33.3/kernel/drivers/video/NVdriver: insmod NVdriver failed
make: *** [package-install] 错误 255
回复 支持 反对

使用道具 举报

发表于 2006-12-17 11:51:25 | 显示全部楼层
上官方网站下一个新版本的驱动试一试啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-17 12:37:52 | 显示全部楼层
Post by 009lin
上官方网站下一个新版本的驱动试一试啊


嗯,我也怀疑是驱动跟内核不兼容的问题,因为我发现在10.2下面可以用的驱动都装不上,就拿NVIDIA_GLX-1.0-4191.tar.gz和NVIDIA_kernel-1.0-4191.tar.gz这两个包来说吧,我在10.2下面的安装步骤是:
先设置变量export IGNORE_CC_MISMATCH=yes
然后解压两个包,"make"  kernel , 再"make" GLX 。然后一切都OK了!
但同样的方法,在11.0下面不行,主要在加载时出问题,  lsmod查看时显示为(unused)!
在11.0下面编译时没有问题,而且我发现在11.0不用
export IGNORE_CC_MISMATCH=yes 也可以成功编译!

哎,弄到这里,我已经心灰意冷,也不想再去试别的驱动了,我打算装回10.2!如有兄弟解决此问题的,别忘了发上来,我会马上装回11.0的!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表