Brian Wince a écrit :

-----Original Message-----
From: Xavier Parizet [mailto:[email protected]]
Sent: Wednesday, April 22, 2009 11:49 PM
To: [email protected]
Subject: Re: [gentoo-user] trouble installing kvm on gentoo-2.6.24.-r4

On Wed, 22 Apr 2009 14:30:54 -0700, Brian Wince <[email protected]>
wrote:
All,
I am trying to install kvm (kernel virtual machine) on a box running
gentoo-2.6.24.-r4.
# uname -a
Linux rbos-hybrid-02 2.6.24-gentoo-r4-nosctp-nomsi #3 SMP Fri Aug 1
12:12:33 PDT 2008 i686 AMD Athlon(tm) Dual Core Processor 4450e
AuthenticAMD GNU/Linux

When I first went to install it all of the KVM's were masked due to
EAP
so
I upgraded portage to 2.1.6.7.

Now when I try and install kvm it complains with the following:

Failed to emerge app-emulation/kvm-84, Log file:
[SNIP]
 * 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/app-emulation/kvm-84/temp/build.log'.
 * The ebuild environment file is located at
 '/var/tmp/portage/app-emulation/kvm-84/temp/environment'.
Can you please post /var/tmp/portage/app-emulation/kvm-84/temp/build.log
after running emerge kvm as portage suggests you ??
Because the above posted output doesn't help us to solve your problem...

I have the following in /etc/portage/package.use app-emulation/kvm kvm
sdl
qemu

and in package.keywords I have
app-emulation/kvm ~x86

Is this due to upgrading portage or something else and what is it that
needs to be done to make this work.
I don't think the portage upgrade is the problem, but it remind me
another
thread about nvidia-drivers build, and i'm directing towards a kernel
configuration problem... The log i ask you earlier will help us to see
if
it is the case ;)

Please let me know if you require further information and I will post
it.
TIA,

brian
--
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    DC81 6FEE 6EBE FCE4
1C18 202F E575 4A5D 036D 1408

Xavier,
I have attached the build.log.
The kernel has KVM configured as modules for both Intel and AMD.
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m

Also I doubt the portage version is the problem as I downgraded it to 2.1.4.5 
and it still fails in the same way.

Please let me know if you need other logs or configs.

After reading the build log you provide, try to enable CONFIG_PCI_MSI under Bus options (PCI etc.) -> Message Signaled Interrupts (MSI and MSI-X) in make menuconfig for your kernel, and then make prepare et retry the KVM emerge.


brian




--
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    DC81 6FEE 6EBE FCE4
1C18 202F E575 4A5D 036D 1408

Reply via email to