LinuxSir.cn,穿越时空的Linuxsir!

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

安装显卡再次受挫

[复制链接]
发表于 2008-12-2 16:26:44 | 显示全部楼层 |阅读模式
显卡:nv7300 (pci-e)
主板:945pl
cpu:e4500 酷睿2
硬盘:希捷80(ide)

本人已将内核变本编成与 #eselect list kernel  里的 * 版本一样了(linux-2.6.24 -gentoo-r)。。提示我 要关闭 nvidia-riva 支持。。于是我从新编译内核。
#make clean
#make menuconfig (把riva的支持去掉了)
#make && make modules_install
#reboot
重启后
#emerge nvidia-drivers 居然又有了别的错误。错误如下:

* ERROR: x11-drivers/nvidia-drivers-169.09-r1 failed.
* Call stack:
*                         ebuild.sh, line   49:  Called pkg_setup
*   nvidia-drivers-169.09-r1.ebuild, line  150:  Called paravirt_check
*   nvidia-drivers-169.09-r1.ebuild, line  130:  Called die
* The specific snippet of code:
*                   die "ARAVIRT support detected!"
*  The die message:
*   PARAVIRT support detected!
*
* 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-169.09-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-169.09-r1/temp/die.env'.
*

* Messages for package x11-drivers/nvidia-drivers-169.09-r1:

* Please disable PARAVIRT in your kernel config, found at:
*
*   Processor type and features
*     
  • Paravirtualized guest support
    *
    * or XEN support
    *
    * and recompile your kernel ..
    *
    * ERROR: x11-drivers/nvidia-drivers-169.09-r1 failed.
    * Call stack:
    *                         ebuild.sh, line   49:  Called pkg_setup
    *   nvidia-drivers-169.09-r1.ebuild, line  150:  Called paravirt_check
    *   nvidia-drivers-169.09-r1.ebuild, line  130:  Called die
    * The specific snippet of code:
    *                   die "ARAVIRT support detected!"
    *  The die message:
    *   PARAVIRT support detected!
    *
    * 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-169.09-r1/temp/build.log'.
    * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-169.09-r1/temp/die.env'.

    是不是我编译的时候有什么不对?还是缺少什么呢?
  • 发表于 2008-12-2 16:34:14 | 显示全部楼层
    看看官方文档,慢慢来。
    回复 支持 反对

    使用道具 举报

    发表于 2008-12-2 16:50:01 | 显示全部楼层
    please READ error messages VERY VERY carefully:

    * Please disable PARAVIRT in your kernel config, found at:
    *
    * Processor type and features
    *
  • Paravirtualized guest support
    *
    * or XEN support
    *
    * and recompile your kernel ..
  • 回复 支持 反对

    使用道具 举报

    发表于 2008-12-2 17:19:41 | 显示全部楼层
    #eselect kernel list
    #eselect kernel set x
    #make clean
    #make menuconfig (把riva的支持去掉了,nvidia安装手册中还有几项内核注意事项)
    please READ error messages VERY VERY carefully:

    * Please disable PARAVIRT in your kernel config, found at:
    *
    * Processor type and features
    *
  • Paravirtualized guest support
    *
    * or XEN support
    *
    * and recompile your kernel ..
  • #make && make modules_install
    #cp arch/x86_64/boot/bzImage /boot/kernel-xxxxxxxxxx
    #emerge nvidia-drivers modules_rebuild
    #eselect opengl set nvidia
    #reboot

    ???????????????
    回复 支持 反对

    使用道具 举报

    发表于 2008-12-2 23:04:28 | 显示全部楼层
    lz 你如果确实没耐心或者无法阅读程序给出的出错信息,那么gentoo这条路对你会很难……
    回复 支持 反对

    使用道具 举报

    发表于 2008-12-3 09:33:49 | 显示全部楼层
    的确,出错的信息里已经有了很明确的提示了!
    回复 支持 反对

    使用道具 举报

    发表于 2008-12-3 23:46:46 | 显示全部楼层
    内核问题,最简单就是改/usr/src/linux/.config中的  CONFIG_PARAVIRT=n,再emerge nvidia....

    因为新内核2.6.26CONFIG_PARAVIRT_GUEST相当于老内核CONFIG_PARAVIRT,而且保留CONFIG_PARAVIRT总是=y
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2008-12-9 16:59:35 | 显示全部楼层
    上边那个问题是解决了。。,把提示错误那行的
  • 点没了,从新编译后。解决了。但新的问题出现了。。好像是 nvidia-settings 出了问题。出错如下:

    * Messages for package media-video/nvidia-settings-1.0.20070621:

    *
    * ERROR: media-video/nvidia-settings-1.0.20070621 failed.
    * Call stack:
    *               ebuild.sh, line   49:  Called src_compile
    *             environment, line 2002:  Called die
    * The specific snippet of code:
    *       emake CC="$(tc-getCC)" || die "Failed to build nvidia-settings"
    *  The die message:
    *   Failed to build nvidia-settings
    *
    * 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/media-video/nvidia-settings-1.0.20070621/temp/build.log'.
    * The ebuild environment file is located at '/var/tmp/portage/media-video/nvidia-settings-1.0.20070621/temp/environment'.
    *
    * GNU info directory index is up-to-date.

    这个问题怎么解决啊??
  • 回复 支持 反对

    使用道具 举报

    发表于 2008-12-10 11:37:31 | 显示全部楼层
    晕,请仔细阅读出错信息吧,
    1. * If you need support, post the topmost build error, and the call stack if relevant.
    2. * A complete build log is located at '/var/tmp/portage/media-video/nvidia-settings-1.0.20070621/temp/build.log'.
    复制代码
    你不帖出最上层的出错信息,别人怎么帮你?????
    回复 支持 反对

    使用道具 举报

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

    本版积分规则

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