当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 8 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [求助]ubuntu6.10显卡驱动安装问题
帖子发表于 : 2007-03-26 17:16 

注册: 2005-04-09 7:23
帖子: 162
地址: 云南
送出感谢: 0 次
接收感谢: 0 次
弄了一晚上都没搞定有点郁闷。系统内核是2.6.17-11-generic
用sudo apt-get install nivida-glx的时候提示说依赖nvidia-kernel-1.0.9631,无法正常用apt-get 装上,然后去官方下载了1.0-9755的驱动。安装的时候出错,说是缺少"nvidia.ko"不知道要怎么解决了。
linux-headers- 和build-essential我是装有的。


代码:
ERROR: ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s). Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information. -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko': -1 No such device -> Kernel messages: [17179618.212000] Bluetooth: RFCOMM TTY layer initialized [17179618.212000] Bluetooth: RFCOMM ver 1.7 [17191033.820000] NETDEV WATCHDOG: eth0: transmit timed out [17191036.820000] eth0: Transmit timeout, status 0d 0000 c07f media 08. [17191036.820000] eth0: Tx queue start entry 396120 dirty entry 396116. [17191036.820000] eth0: Tx descriptor 0 is 000805ce. (queue head) [17191036.820000] eth0: Tx descriptor 1 is 000805ce. [17191036.820000] eth0: Tx descriptor 2 is 1008003c. [17191036.820000] eth0: Tx descriptor 3 is 600845ce. [17191036.820000] eth0: link up, 10Mbps, half-duplex, lpa 0x0000 [17191048.820000] NETDEV WATCHDOG: eth0: transmit timed out [17191051.820000] eth0: Transmit timeout, status 0d 0000 c07f media 08. [17191051.820000] eth0: Tx queue start entry 32 dirty entry 28. [17191051.820000] eth0: Tx descriptor 0 is 100805ce. (queue head) [17191051.820000] eth0: Tx descriptor 1 is 00080042. [17191051.820000] eth0: Tx descriptor 2 is 00080042. [17191051.820000] eth0: Tx descriptor 3 is 000805ce. [17191051.820000] eth0: link up, 10Mbps, half-duplex, lpa 0x0000 [17208369.480000] nvidia: module license 'NVIDIA' taints kernel. [17208369.496000] NVRM: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this system is [17208369.496000] NVRM: supported through the NVIDIA Legacy drivers. Please [17208369.496000] NVRM: visit http://www.nvidia.com/object/unix.html for more [17208369.496000] NVRM: information. The 1.0-9631 NVIDIA driver will ignore [17208369.496000] NVRM: this GPU. Continuing probe... [17208369.496000] NVRM: No NVIDIA graphics adapter found! 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.


现在初步了解到是和gcc 的版本有关关系
apt-get install了gcc-3.3 和g++ 3.3
并在/usr/bin里把gcc 连接改为gcc-3.3 ln -s gcc-3.3 gcc 把g++的连接改为g++3.3 ln -s g++3.3 g++
再次安装的时候错误如下
代码:

代码:
Using: nvidia-installer ncurses user interface WARNING: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this system is supported through the NVIDIA legacy Linux graphics drivers. Please visit http://www.nvidia.com/object/unix.html for more information. The 1.0-9631 NVIDIA Linux graphics driver will ignore this GPU. WARNING: You do not appear to have an NVIDIA GPU supported by the 1.0-9631 NVIDIA Linux graphics driver installed in this system. For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com. -> License accepted. -> 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". -> The CC version check failed: You appear to be compiling the NVIDIA kernel module with a different compile r than the one that was used to compile the running kernel. The Linux 2.6 k ernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel . The compiler used to compile the kernel was gcc 4.1; the current compiler is gcc 3.3. If you know what you are doing and want to ignore the gcc version check, sel ect "No" to continue installation. Otherwise, select "Yes" to abort install ation, set the CC environment variable to the name of the compiler used to c ompile your kernel, and restart installation. Abort now? (Answer: Yes) 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.

If you know what you are doing and want to ignore the gcc version check, sel ect "No" to continue installation. Otherwise, select "Yes"如果这里选no,返回错误和没装gcc-3.3的返回错误一样。


_________________
图片图片
我滴blog


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-03-26 20:47 

注册: 2005-04-09 7:23
帖子: 162
地址: 云南
送出感谢: 0 次
接收感谢: 0 次
自己先顶个,熟悉的或者成功安装上的清分享下经验。


_________________
图片图片
我滴blog


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-03-27 7:26 

注册: 2006-04-29 14:54
帖子: 1187
地址: 山东
送出感谢: 0 次
接收感谢: 0 次
引用:
The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this system is supported through the NVIDIA legacy Linux graphics drivers. Please visit http://www.nvidia.com/object/unix.html for more information. The 1.0-9631 NVIDIA Linux graphics driver will ignore this GPU. WARNING: You do not appear to have an NVIDIA GPU supported by the 1.0-9631 NVIDIA Linux graphics driver installed in this system.


学会一门外语是很重要的!

人家已经提示你了,如果你的显卡是RIVA TNT2 Model 64/Model 64 Pro GPU,你应该安装nvidia-glx-legacy这个包来驱动。你从官网下的那个驱动已经不支持你的那个老显卡了。你可以在新立得中搜索一下,然后安装上它。

别的步骤我忘了,你可以在论坛搜索一下,或者上wiki看一下。


_________________
学会看置顶帖、精华帖。
学会使用搜索。
常见问题解答和发帖需知


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-03-27 16:19 

注册: 2005-04-09 7:23
帖子: 162
地址: 云南
送出感谢: 0 次
接收感谢: 0 次
lisir 写道:
引用:
The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this system is supported through the NVIDIA legacy Linux graphics drivers. Please visit http://www.nvidia.com/object/unix.html for more information. The 1.0-9631 NVIDIA Linux graphics driver will ignore this GPU. WARNING: You do not appear to have an NVIDIA GPU supported by the 1.0-9631 NVIDIA Linux graphics driver installed in this system.


学会一门外语是很重要的!

人家已经提示你了,如果你的显卡是RIVA TNT2 Model 64/Model 64 Pro GPU,你应该安装nvidia-glx-legacy这个包来驱动。你从官网下的那个驱动已经不支持你的那个老显卡了。你可以在新立得中搜索一下,然后安装上它。

别的步骤我忘了,你可以在论坛搜索一下,或者上wiki看一下。

当时确实是没注意看这点,一直把注意力集中在gcc版本问题上,现在下了NVIDIA-Linux-x86-1.0-7174-pkg1.run回来安装的时候又出错了。好像是少装了什么东西。
代码:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Mar 27 15:49:10 2007

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : false
  silent                  : 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
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  compat32 install prefix : (not specified)
  installer install prefix: /usr
  utility install prefix  : /usr
  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.
-> 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.
-> Kernel source path: '/lib/modules/2.6.17-11-generic/build'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
   agp.o os-interface.o os-registry.o nvidia.mod.o
   rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
   rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
   rm -f -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.17-11-gener
   ic/build SYSOUT=/lib/modules/2.6.17-11-generic/build'...
   
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.17-11-generic/build SUBDIRS
   =/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv modules
   mkdir -p /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.tmp_vers
   ions
   rm -f /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.tmp_version
   s/*
   make -f scripts/Makefile.build obj=/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174
   -pkg1/usr/src/nv
   echo \#define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz4540/NVI
   DIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL_
   _ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
   ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-stack-protector -O
   2 -fomit-frame-pointer -fasynchronous-unwind-tables -pipe -msoft-float -mpre
   ferred-stack-boundary=2  -march=i586 -mtune=generic -mregparm=3 -ffreestandi
   ng -Iinclude/a
   sm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/
   selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv -Wall -Wimplicit -Wretu
   rn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith  -
   Wno-multichar  -Werror -O -fno-common -MD   -Wsign-compare -Wno-cast-qual -W
   no-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D_GNU_SOURCE -
   D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_
   VERSION=0 -DNV_PATCHLEVEL=7174  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DN
   VCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT
   -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT  -DMODULE -D"K
   BUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUIL
   D_STR(nvidia)" -c -o /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/
   nv/.tmp_nv.o /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:57,
                    from include/linux/module.h:9,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-linux.h:46,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:559,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-linux.h:69,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv.c:14:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:245: warning: wrong type argument to increment
   In file included from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv.c:14:
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:241:5:
   warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:269:5:
   warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:691:2:
   warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c: At top level
   :
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:201: warning:
   initialization from incompatible pointer type
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:223:5: warnin
   g: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c: In function
   ‘nvos_get_agp_device_by_class’:
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:404: warning:
   implicit declaration of function ‘pci_find_class’
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:404: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:418: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c: In function
   ‘nvidia_init_module’:
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:970: warning:
   implicit declaration of function ‘pm_register’
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:970: warning:
   assignment makes pointer from integer without a cast
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:1036: warning
   : implicit declaration of function ‘pm_unregister’
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:1167:5: warni
   ng: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c: In function
   ‘nv_kern_mmap’:
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:1541: warning
   : implicit declaration of function ‘remap_page_range’
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c: In function
   ‘nvos_count_devices’:
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:3232: warning
   : assignment makes pointer from integer without a cast
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:3237: warning
   : assignment makes pointer from integer without a cast
     cc -Wp,-MD,/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.nv-v
   m.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERN
   EL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
   totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-stack-protector
   -O2 -fomit-frame-pointer -fasynchronous-unwind-tables -pipe -msoft-float -mp
   referred-stack-boundary=2  -march=i586 -mtune=generic -mregparm=3 -ffreestan
   ding -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-poin
   ter-sign -I/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv -Wall -
   Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
   pointer-arith  -Wno-multichar  -Werror -O
   -fno-common -MD   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_N
   AMES -D__KERNEL__ -DMODULE  -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__K
   ERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
   7174  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_D
   EBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRE
   SENT -DNV_PCI_DISABLE_DEVICE_PRESENT  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUIL
   D_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /
   tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/s
   elfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-vm.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:57,
                    from include/linux/module.h:9,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-linux.h:46,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-vm.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:559,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-linux.h:69,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-vm.c:14:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:245: warning: wrong type argument to increment
   In file included from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-vm.c:14:
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:241:5:
   warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:269:5:
   warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:691:2:
   warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
     cc -Wp,-MD,/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.os-a
   gp.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KER
   NEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
   ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-stack-protecto
   r -O2 -fomit-frame-pointer -fasynchronous-unwind-tables -pipe -msoft-float -
   mpreferred-stack-boundary=2  -march=i586 -mtune=generic -mregparm=3 -ffreest
   anding -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-po
   inter-sign -I/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv -Wall
   -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -
   Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD   -Wsign-compare
   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTR
   M -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERS
   ION=1 -DNV_MINOR_VERSION=0 -DN
   V_PATCHLEVEL=7174  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86     
   -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_P
   AGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT  -DMODULE -D"KBUILD_STR(s)=
   #s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)"  -D"KBUILD_MODNAME=KBUILD_STR(nvi
   dia)" -c -o /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.tmp_o
   s-agp.o /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-agp.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:57,
                    from include/linux/module.h:9,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-linux.h:46,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/os-agp.c:24:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:559,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-linux.h:69,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/os-agp.c:24:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:245: warning: wrong type argument to increment
   In file included from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/os-agp.c:24:
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:241:5:
   warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:269:5:
   warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:691:2:
   warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
     cc -Wp,-MD,/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.os-i
   nterface.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -
   D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstr
   ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-stack-pr
   otector -O2 -fomit-frame-pointer -fasynchronous-unwind-tables -pipe -msoft-f
   loat -mpreferred-stack-boundary=2  -march=i586 -mtune=generic -mregparm=3 -f
   freestanding -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -
   Wno-pointer-sign -I/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv
   -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
   eses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD   -Wsign-co
   mpare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
   -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR
   _VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7174  -DNV_UNIX   -DNV_LINUX
     -DNV_INT64_OK   -DNVCPU_X86      -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_B
   RIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_
   PRESENT 
   -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" 
   -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4540/NVIDIA-Linux-x86
   -1.0-7174-pkg1/usr/src/nv/.tmp_os-interface.o /tmp/selfgz4540/NVIDIA-Linux-x
   86-1.0-7174-pkg1/usr/src/nv/os-interface.c
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:57,
                    from include/linux/module.h:9,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-linux.h:46,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/os-interface.c:26:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:559,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/nv-linux.h:69,
                    from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/os-interface.c:26:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:245: warning: wrong type argument to increment
   In file included from /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv/os-interface.c:26:
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:241:5:
   warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:269:5:
   warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:691:2:
   warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-interface.c:667
   :5: warning: "DEBUG" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-interface.c:679
   :5: warning: "DEBUG" is not defined
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-interface.c: In
   function ‘os_set_mlock_capability’:
   /tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-interface.c:126
   2: error: ‘struct task_struct’ has no member named ‘rlim’
   make[3]: *** [/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/os-i
   nterface.o] Error 1
   make[2]: *** [_module_/tmp/selfgz4540/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src
   /nv] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 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.


_________________
图片图片
我滴blog


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2007-03-27 18:08 

注册: 2005-12-14 4:37
帖子: 176
地址: 十堰
送出感谢: 0 次
接收感谢: 0 次
代码:
sudo aptitude install nvidia-glx


用此命令安装NVIDIA驱动只用按照提示选择“Y”或“是”就OK了,安装完毕后再执行:

sudo nvidia-xconfig

重起X时注意要选择2.6.17-10内核.


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2007-03-28 3:31 

注册: 2005-04-09 7:23
帖子: 162
地址: 云南
送出感谢: 0 次
接收感谢: 0 次
gzd900 写道:
代码:
sudo aptitude install nvidia-glx


用此命令安装NVIDIA驱动只用按照提示选择“Y”或“是”就OK了,安装完毕后再执行:

sudo nvidia-xconfig

重起X时注意要选择2.6.17-10内核.

我的显卡是tnt2的,已经属于很老的显卡了9631的驱动已经不支持我的显卡了。 :evil:


_________________
图片图片
我滴blog


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2007-03-28 7:04 

注册: 2006-06-29 17:30
帖子: 482
送出感谢: 0 次
接收感谢: 0 次
试试看
代码:
sudo apt-get install nvidia-glx-legcy


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2007-08-03 9:24 

注册: 2006-07-26 22:17
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
试一下下面的命令
apt-cache search Xorg
找到xorg-dev装上,
可能还要装上pkg-config
安装NV驱动命令:sh /NV* -K$(uname -r)


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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