LinuxSir.cn,穿越时空的Linuxsir!

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

setup ati-drives

[复制链接]
发表于 2009-3-2 23:56:14 | 显示全部楼层 |阅读模式
mypc bjsm # emerge ati-drivers
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-drivers/ati-drivers-8.501
* ati-driver-installer-8-6-x86.x86_64.run RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ...                                     [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                   [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
*     /usr/src/linux
* Found kernel object directory:
*     /lib/modules/2.6.28.7/build
* Found sources for kernel version:
*     2.6.28.7
* The current ati-drivers don't compile when having
* paravirtualization active due to GPL symbol export
* restrictions.
* Please disable it:
*         CONFIG_PARAVIRT=n
* in /usr/src/linux/.config or
*         Processor type and features -->
*                 [ ] Paravirtualization support (EXPERIMENTAL)
* in 'menuconfig'
*
* ERROR: x11-drivers/ati-drivers-8.501 failed.
* Call stack:
*                  ebuild.sh, line   49:  Called pkg_setup
*   ati-drivers-8.501.ebuild, line  109:  Called die
* The specific snippet of code:
*                   die "CONFIG_PARAVIRT enabled"
*  The die message:
*   CONFIG_PARAVIRT enabled
*
* 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/ati-drivers-8.501/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/die.env'.
*

>>> Failed to emerge x11-drivers/ati-drivers-8.501, Log file:

>>>  '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/build.log'

* Messages for package x11-drivers/ati-drivers-8.501:

* The current ati-drivers don't compile when having
* paravirtualization active due to GPL symbol export
* restrictions.
* Please disable it:
*         CONFIG_PARAVIRT=n
* in /usr/src/linux/.config or
*         Processor type and features -->
*                 [ ] Paravirtualization support (EXPERIMENTAL)
* in 'menuconfig'
*
* ERROR: x11-drivers/ati-drivers-8.501 failed.
* Call stack:
*                  ebuild.sh, line   49:  Called pkg_setup
*   ati-drivers-8.501.ebuild, line  109:  Called die
* The specific snippet of code:
*                   die "CONFIG_PARAVIRT enabled"
*  The die message:
*   CONFIG_PARAVIRT enabled
*
* 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/ati-drivers-8.501/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/die.env'.
*


is this need off kvm? i can't sure.
 楼主| 发表于 2009-3-3 00:18:05 | 显示全部楼层
对不起,刚才不好输入中文,我装ATI驱动,出错,是不是要求我把KVM关闭了啊?我看了E文,不敢确定。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-3 09:54:38 | 显示全部楼层
关闭了KVM后,安装显卡驱动还出错,
*
* ERROR: x11-drivers/ati-drivers-8.501 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3253:  Called linux-mod_src_compile
*             environment, line 2456:  Called die
* The specific snippet of code:
*               eval "emake HOSTCC="$(tc-getBUILD_CC)"                         CROSS_COMPILE=${CHOST}-                                                 LDFLAGS="$(get_abi_LDFLAGS)"                                                 ${BUILD_FIXES}                 ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
*  The die message:
*   Unable to emake HOSTCC=i486-pc-linux-gnu-gcc CROSS_COMPILE=i486-pc-linux-gnu- LDFLAGS=  GCC_VER_MAJ=4 KVER=2.6.28.7 KDIR=/usr/src/linux kmod_build
*
* 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/ati-drivers-8.501/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/environment'.

哪位给我讲讲吧,我是780G的板。
回复 支持 反对

使用道具 举报

发表于 2009-3-3 10:14:14 | 显示全部楼层
* The current ati-drivers don't compile when having
* paravirtualization active due to GPL symbol export
* restrictions.
* Please disable it:
* CONFIG_PARAVIRT=n
* in /usr/src/linux/.config or
* Processor type and features -->
* [ ] Paravirtualization support (EXPERIMENTAL)
* in 'menuconfig'
*

另外,你的make.conf贴出来看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-3 10:25:42 | 显示全部楼层
我的内核是自己下载的2.6.28.7编译的,驱动emerge ati-drivers装不了,我自己去AMD主页下了个,装好了,我还想问一下,我要不要在/etc/portage/package.use 里,做上gentoo-sources的标记?
mypc whx # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -mtune=i686 -pipe"
CXXFLAGS="-O2 -mtune=i686 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i486-pc-linux-gnu"
MAKEOPTS="-j5"
USE="gnome X -kde -gtk alsa cd mplayer xmms"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-3 11:09:53 | 显示全部楼层
显卡驱动装上了,打开游戏的时候,出错。
QGL_Init: Can't load libGL.so.1 from /etc/ld.so.conf or current dir: No dynamic GL support in video driver

运行glxgears只有400fps.
游戏安装的时候,添加了opengl的USE。
回复 支持 反对

使用道具 举报

发表于 2009-3-3 11:30:22 | 显示全部楼层
* The die message:
* CONFIG_PARAVIRT enabled
重新编译内核
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-3 11:49:22 | 显示全部楼层
在哪里啊?找不到CONFIG_PARAVIRT 这个项目。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-3 13:11:52 | 显示全部楼层
请求帮助,不会的,请帮顶。谢谢。
回复 支持 反对

使用道具 举报

发表于 2009-3-3 13:47:14 | 显示全部楼层
example

kim@Boxer ~ $ cat /usr/src/linux/.config | grep CONFIG_PARAVIRT
# CONFIG_PARAVIRT_GUEST is not set


动动脑子吧,兄弟
回复 支持 反对

使用道具 举报

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

本版积分规则

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