1 |
On Thu, 2009-09-24 at 21:48 -0500, James Erickson wrote: |
2 |
> >You have to en/dis/able: |
3 |
> >CONFIG_HAVE_KVM=y |
4 |
> >CONFIG_HAVE_KVM_IRQCHIP=y |
5 |
> >CONFIG_KVM=m |
6 |
> ># CONFIG_KVM_INTEL is not set |
7 |
> ># CONFIG_KVM_AMD is not set |
8 |
> ># CONFIG_KVM_TRACE is not set |
9 |
> |
10 |
> Daniel i am getting the following error: |
11 |
> |
12 |
> make[1]: Entering directory `/usr/src/linux-2.6.31-gentoo' |
13 |
> LD /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/built-in.o |
14 |
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/svm.o |
15 |
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/vmx.o |
16 |
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/vmx-debug.o |
17 |
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/kvm_main.o |
18 |
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.o |
19 |
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.o |
20 |
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86_emulate.o |
21 |
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/../anon_inodes.o |
22 |
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/irq.o |
23 |
> In file included from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/trace.h:355, |
24 |
> from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.c:83: |
25 |
> include/trace/define_trace.h:53:43: error: arch/x86/kvm/trace.h: No such file or directory |
26 |
> CC [M] /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/i8259.o |
27 |
> make[3]: *** [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.o] Error 1 |
28 |
> make[3]: *** Waiting for unfinished jobs.... |
29 |
> In file included from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmutrace.h:220, |
30 |
> from /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.c:184: |
31 |
> include/trace/define_trace.h:53:43: error: ./mmutrace.h: No such file or directory |
32 |
> make[3]: *** [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.o] Error 1 |
33 |
> make[3]: *** wait: No child processes. Stop. |
34 |
> make[2]: *** [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86] Error 2 |
35 |
> make[1]: *** [_module_/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88] Error 2 |
36 |
> make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo' |
37 |
> make: *** [all] Error 2 |
38 |
|
39 |
A second of google led me here: |
40 |
|
41 |
I think you find the answer to your problem develops from here: |
42 |
http://bugs.gentoo.org/show_bug.cgi?id=280282 |
43 |
And can be found here: http://bugs.gentoo.org/show_bug.cgi?id=286042 |
44 |
|
45 |
[..] |
46 |
if you have 2.6.31 and want to use kvm-88-r1, kvm-kmod-88-r1 is not |
47 |
required and you can use the in kernel modules. |
48 |
|
49 |
if they release kvm-devel-89 for example, it may have newer kvm-kmod code than |
50 |
what is bundled in the kernel. |
51 |
|
52 |
Bye, |
53 |
Daniel |