|
|
因为之前在startx的时候报错“AIGLX: Screen 0 is not DRI capable ”,我猜测是显卡驱动的问题,于是更新显卡驱动。用了“emerge nvidia-drivers”,结果到了第二个包的时候出错了,出错代码如下:
- [32;01m*[0m Determining the location of the kernel source code
- [32;01m*[0m Found kernel source directory:
- [32;01m*[0m /usr/src/linux
- [32;01m*[0m Found kernel object directory:
- [32;01m*[0m /lib/modules/2.6.25-gentoo-r9/build
- [32;01m*[0m Found sources for kernel version:
- [32;01m*[0m 2.6.25-gentoo-r9
- [32;01m*[0m Checking for MTRR support ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Checking for Paravirtualized guest support ...
- [31;01m*[0m Please disable PARAVIRT in your kernel config, found at:
- [31;01m*[0m
- [31;01m*[0m Processor type and features
- [31;01m*[0m [*] Paravirtualized guest support
- [31;01m*[0m
- [31;01m*[0m or XEN support
- [31;01m*[0m
- [31;01m*[0m and recompile your kernel ..
- [31;01m*[0m
- [31;01m*[0m ERROR: x11-drivers/nvidia-drivers-173.14.09 failed.
- [31;01m*[0m Call stack:
- [31;01m*[0m ebuild.sh, line 49: Called pkg_setup
- [31;01m*[0m nvidia-drivers-173.14.09.ebuild, line 151: Called paravirt_check
- [31;01m*[0m nvidia-drivers-173.14.09.ebuild, line 131: Called die
- [31;01m*[0m The specific snippet of code:
- [31;01m*[0m die "PARAVIRT support detected!"
- [31;01m*[0m The die message:
- [31;01m*[0m PARAVIRT support detected!
- [31;01m*[0m
- [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
- [31;01m*[0m A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/temp/build.log'.
- [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/temp/die.env'.
- [31;01m*[0m
复制代码
我的linux是装在虚拟机上的。这次的出错信息不怎么看的明白。可以帮忙解释下原因嘛?并且,如果要解决的话,除了重新编译内核别无他法了吗? |
|