Gentoo Archives: gentoo-user

From: Brian Wince <bwince@×××××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: RE: [gentoo-user] trouble installing kvm on gentoo-2.6.24.-r4
Date: Thu, 23 Apr 2009 18:53:29
Message-Id: AD300F292705ED4089373955E129C178253C581FB1@RBSJX.ad.redback.com
In Reply to: Re: [gentoo-user] trouble installing kvm on gentoo-2.6.24.-r4 by Xavier Parizet
1 > -----Original Message-----
2 > From: Xavier Parizet [mailto:xav@×××××××××.com]
3 > Sent: Thursday, April 23, 2009 10:55 AM
4 > To: gentoo-user@l.g.o
5 > Subject: Re: [gentoo-user] trouble installing kvm on gentoo-2.6.24.-r4
6 >
7 > Brian Wince a écrit :
8 > >
9 > >> -----Original Message-----
10 > >> From: Xavier Parizet [mailto:xav@×××××××××.com]
11 > >> Sent: Wednesday, April 22, 2009 11:49 PM
12 > >> To: gentoo-user@l.g.o
13 > >> Subject: Re: [gentoo-user] trouble installing kvm on gentoo-2.6.24.-
14 > r4
15 > >>
16 > >> On Wed, 22 Apr 2009 14:30:54 -0700, Brian Wince <bwince@×××××××.com>
17 > >> wrote:
18 > >>> All,
19 > >>> I am trying to install kvm (kernel virtual machine) on a box running
20 > >>> gentoo-2.6.24.-r4.
21 > >>> # uname -a
22 > >>> Linux rbos-hybrid-02 2.6.24-gentoo-r4-nosctp-nomsi #3 SMP Fri Aug 1
23 > >>> 12:12:33 PDT 2008 i686 AMD Athlon(tm) Dual Core Processor 4450e
24 > >>> AuthenticAMD GNU/Linux
25 > >>>
26 > >>> When I first went to install it all of the KVM's were masked due to
27 > >> EAP
28 > >> so
29 > >>> I upgraded portage to 2.1.6.7.
30 > >>>
31 > >>> Now when I try and install kvm it complains with the following:
32 > >>>
33 > >>>>>> Failed to emerge app-emulation/kvm-84, Log file:
34 > >> [SNIP]
35 > >>> * If you need support, post the topmost build error, and the call
36 > >> stack
37 > >> if
38 > >>> relevant.
39 > >>> * A complete build log is located at
40 > >>> '/var/tmp/portage/app-emulation/kvm-84/temp/build.log'.
41 > >>> * The ebuild environment file is located at
42 > >>> '/var/tmp/portage/app-emulation/kvm-84/temp/environment'.
43 > >> Can you please post /var/tmp/portage/app-emulation/kvm-
44 > 84/temp/build.log
45 > >> after running emerge kvm as portage suggests you ??
46 > >> Because the above posted output doesn't help us to solve your
47 > problem...
48 > >>
49 > >>> I have the following in /etc/portage/package.use app-emulation/kvm
50 > kvm
51 > >> sdl
52 > >>> qemu
53 > >>>
54 > >>> and in package.keywords I have
55 > >>> app-emulation/kvm ~x86
56 > >>>
57 > >>> Is this due to upgrading portage or something else and what is it
58 > that
59 > >>> needs to be done to make this work.
60 > >> I don't think the portage upgrade is the problem, but it remind me
61 > >> another
62 > >> thread about nvidia-drivers build, and i'm directing towards a kernel
63 > >> configuration problem... The log i ask you earlier will help us to
64 > see
65 > >> if
66 > >> it is the case ;)
67 > >>
68 > >>> Please let me know if you require further information and I will
69 > post
70 > >> it.
71 > >>> TIA,
72 > >>>
73 > >>> brian
74 > >> --
75 > >> Xavier Parizet
76 > >> YaGB : http://gentooist.com
77 > >> GPG : DC81 6FEE 6EBE FCE4
78 > >> 1C18 202F E575 4A5D 036D 1408
79 > >
80 > > Xavier,
81 > > I have attached the build.log.
82 > > The kernel has KVM configured as modules for both Intel and AMD.
83 > > CONFIG_KVM=m
84 > > CONFIG_KVM_INTEL=m
85 > > CONFIG_KVM_AMD=m
86 > >
87 > > Also I doubt the portage version is the problem as I downgraded it to
88 > 2.1.4.5 and it still fails in the same way.
89 > >
90 > > Please let me know if you need other logs or configs.
91 >
92 > After reading the build log you provide, try to enable CONFIG_PCI_MSI
93 > under Bus options (PCI etc.) -> Message Signaled Interrupts (MSI and
94 > MSI-X) in make menuconfig for your kernel, and then make prepare et
95 > retry the KVM emerge.
96 >
97 > >
98 > > brian
99 > >
100 > >
101 >
102 >
103 > --
104 > Xavier Parizet
105 > YaGB : http://gentooist.com
106 > GPG : DC81 6FEE 6EBE FCE4
107 > 1C18 202F E575 4A5D 036D 1408
108
109 Xavier,
110 Thanks for looking at this.
111 I will give that a try and report back as to the results.
112
113 brian

Replies

Subject Author
RE: [gentoo-user] trouble installing kvm on gentoo-2.6.24.-r4 Brian Wince <bwince@×××××××.com>