LinuxSir.cn,穿越时空的Linuxsir!

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

高手请帮忙,linux gentoo 如何安装Gforce 2 mx400 显卡驱动?

[复制链接]
发表于 2008-10-17 13:44:20 | 显示全部楼层 |阅读模式
这些天我终于在学校安装完了Gentoo linux 的基本系统,开始桌面的安装
机子是Gforce2 Mx400的老显卡,用
#emerge x11-drivers/nvidia-drivers
命令,系统总是自动下载 x11-driver/nvidia-drivers-100.14.19新的驱动,如何使系统下下载老版本的驱动?

问题解决了,系统能下载驱动了,接下来安装又出现了如下问题,
Calculating dependencies   ... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-71.86.01 to /
* NVIDIA-Linux-x86-71.86.01-pkg0.run RMD160 SHA1 SHA256 size ;-) ...     [ ok ]
* checking ebuild checksums ;-) ...                                      [ ok ]
* checking auxfile checksums ;-) ...                                     [ ok ]
* checking miscfile checksums ;-) ...                                    [ ok ]
* checking NVIDIA-Linux-x86-71.86.01-pkg0.run ;-) ...                    [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
*     /usr/src/linux
* Found kernel object directory:
*     /lib/modules/2.6.24-gentoo-r5/build
* Found sources for kernel version:
*     2.6.24-gentoo-r5
* Checking for MTRR support ...
  [ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-71.86.01-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 71.86.01........................................................................
* Applying NVIDIA_glx-defines.patch ...
  [ ok ]
* Applying NVIDIA_glx-glheader.patch ...
  [ ok ]
* Converting Makefile.kbuild to use M= instead of SUBDIRS= ...
  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-71.86.01/work/NVIDIA-Linux-x86-71.86.01-pkg0/usr/src/nv ...
* Preparing nvidia module
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.

*** Unable to determine the target kernel version. ***

make: *** [select_makefile] Error 1
*
* ERROR: x11-drivers/nvidia-drivers-71.86.01 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3527:  Called linux-mod_src_compile
*             environment, line 2599:  Called die
* The specific snippet of code:
*               emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
*  The die message:
*   Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.24-gentoo-r5/build clean module.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-71.86.01/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-71.86.01/temp/environment'.
*

* Messages for package x11-drivers/nvidia-drivers-71.86.01:

*
* ERROR: x11-drivers/nvidia-drivers-71.86.01 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3527:  Called linux-mod_src_compile
*             environment, line 2599:  Called die
* The specific snippet of code:
*               emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
*  The die message:
*   Unable to make  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.24-gentoo-r5/build clean module.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-71.86.01/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-71.86.01/temp/environment'.
*
我的英文很不好,呢位大侠帮忙看看,这是什么原因,应如何才能解决
发表于 2008-10-17 21:35:49 | 显示全部楼层
新驱动不支持老显卡吗?我是INTEL卡用户,不是很了解。
回复 支持 反对

使用道具 举报

发表于 2008-10-17 23:37:13 | 显示全部楼层
把大于你需要的版本mask就是了:
echo ">x11-drivers/nvidia-drivers-xx.xx.xx" >> /etc/portage/package.mask
回复 支持 反对

使用道具 举报

发表于 2008-10-18 02:55:57 | 显示全部楼层
新的官方驱动都不支持这个显卡了。
我以前的那个显卡是GF4 mx440,你去找个比较老的版本吧。
回复 支持 反对

使用道具 举报

发表于 2008-10-18 07:25:29 | 显示全部楼层
http://www.gentoo.org/doc/zh_cn/nvidia-guide.xml
nvidia-drivers包支持所有可用的nVidia卡。根据你使用的卡,有多个相应版本。

较新的卡(如GeForce 8, 7, 6和FX 5系列)应该使用100.x系列的较新的驱动。

较老的卡(如GeForce 3或GeForce 4系列)需要96.x驱动。对于这些卡,你应该在/etc/portage/package.mask中屏蔽掉>=x11-drivers/nvidia-drivers-97.00。这样将阻止安装你的显卡不兼容的新版驱动。

老的基于NV2x的显卡(如:TNT、TNT2、Geforce和GeForce 2)需要更老的71.x驱动(例如nvidia-drivers-71.86.01)。对于这类卡,你应该在/etc/portage/package.mask中屏蔽掉>=x11-drivers/nvidia-drivers-87.00
回复 支持 反对

使用道具 举报

发表于 2008-10-18 21:09:24 | 显示全部楼层
教新的内核也不支持旧的显卡了。

就是mask也可能安装不了!
回复 支持 反对

使用道具 举报

发表于 2008-10-19 00:40:45 | 显示全部楼层
因为portage里面最旧的nvidia驱动的ebuild好像从07年初就不支持MX440了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-20 09:37:50 | 显示全部楼层
谢谢各位仁兄的指教,问题解决了,是我的 package.mask文件中写错了字符
回复 支持 反对

使用道具 举报

发表于 2008-10-20 15:08:54 | 显示全部楼层
mx440 应安装 9x.xx 版本。

来自官方文档:
  1. The 96.43.xx driver supports the following set of GPUs:
  2. NVIDIA GPU product         Device PCI ID
  3. GeForce2 MX/MX 400         0x0110
  4. GeForce2 MX 100/200         0x0111
  5. GeForce2 Go         0x0112
  6. Quadro2 MXR/EX/Go         0x0113
  7. GeForce4 MX 460         0x0170
  8. GeForce4 MX 440         0x0171
  9. GeForce4 MX 420         0x0172
  10. GeForce4 MX 440-SE         0x0173
  11. GeForce4 440 Go         0x0174
  12. GeForce4 420 Go         0x0175
  13. GeForce4 420 Go 32M         0x0176
  14. GeForce4 460 Go         0x0177
  15. Quadro4 550 XGL         0x0178
  16. GeForce4 440 Go 64M         0x0179
  17. Quadro NVS 400         0x017A
  18. Quadro4 500 GoGL         0x017C
  19. GeForce4 410 Go 16M         0x017D
  20. GeForce4 MX 440 with AGP8X         0x0181
  21. GeForce4 MX 440SE with AGP8X         0x0182
  22. GeForce4 MX 420 with AGP8X         0x0183
  23. GeForce4 MX 4000         0x0185
  24. Quadro4 580 XGL         0x0188
  25. Quadro NVS 280 SD         0x018A
  26. Quadro4 380 XGL         0x018B
  27. Quadro NVS 50 PCI         0x018C
  28. GeForce2 Integrated GPU         0x01A0
  29. GeForce4 MX Integrated GPU         0x01F0
  30. GeForce3         0x0200
  31. GeForce3 Ti 200         0x0201
  32. GeForce3 Ti 500         0x0202
  33. Quadro DCC         0x0203
  34. GeForce4 Ti 4600         0x0250
  35. GeForce4 Ti 4400         0x0251
  36. GeForce4 Ti 4200         0x0253
  37. Quadro4 900 XGL         0x0258
  38. Quadro4 750 XGL         0x0259
  39. Quadro4 700 XGL         0x025B
  40. GeForce4 Ti 4800         0x0280
  41. GeForce4 Ti 4200 with AGP8X         0x0281
  42. GeForce4 Ti 4800 SE         0x0282
  43. GeForce4 4200 Go         0x0286
  44. Quadro4 980 XGL         0x0288
  45. Quadro4 780 XGL         0x0289
  46. Quadro4 700 GoGL         0x028C
  47. The 71.86.xx driver supports the following set of GPUs:
  48. NVIDIA GPU product         Device PCI ID
  49. RIVA TNT         0x0020
  50. RIVA TNT2/TNT2 Pro         0x0028
  51. RIVA TNT2 Ultra         0x0029
  52. Vanta/Vanta LT         0x002C
  53. RIVA TNT2 Model 64/Model 64 Pro         0x002D
  54. Aladdin TNT2         0x00A0
  55. GeForce 256         0x0100
  56. GeForce DDR         0x0101
  57. Quadro         0x0103
  58. GeForce2 GTS/GeForce2 Pro         0x0150
  59. GeForce2 Ti         0x0151
  60. GeForce2 Ultra         0x0152
  61. Quadro2 Pro         0x0153
复制代码


ps: 7x.xx 的错误明显是不支持新内核,如果tnt老卡,要么就使用内核里的驱动要么就降内核版本
回复 支持 反对

使用道具 举报

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

本版积分规则

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