* Build of kvm-37 fails
@ 2007-09-09 13:22 Pelle
[not found] ` <46E3F396.4080705-5JapdU7xTciEVqv0pETR8A@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Pelle @ 2007-09-09 13:22 UTC (permalink / raw)
To: kvm-devel
Hi,
I tried to compile the new kvm-37, and got the following errors:
regards, Pelle
$ make
make -C kernel
make[1]: Entering directory `/home/ellep/Install/kvm-37/kernel'
make -C /lib/modules/2.6.20-16-generic/build M=`pwd` "$@"
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
LD /home/ellep/Install/kvm-37/kernel/built-in.o
CC [M] /home/ellep/Install/kvm-37/kernel/svm.o
CC [M] /home/ellep/Install/kvm-37/kernel/vmx.o
CC [M] /home/ellep/Install/kvm-37/kernel/vmx-debug.o
CC [M] /home/ellep/Install/kvm-37/kernel/kvm_main.o
/home/ellep/Install/kvm-37/kernel/kvm_main.c: In function
‘kvm_vcpu_ioctl_get_sregs’:
/home/ellep/Install/kvm-37/kernel/kvm_main.c:2183: warning: passing
argument 2 of ‘set_bit’ from incompatible pointer type
CC [M] /home/ellep/Install/kvm-37/kernel/mmu.o
CC [M] /home/ellep/Install/kvm-37/kernel/x86_emulate.o
CC [M] /home/ellep/Install/kvm-37/kernel/anon_inodes.o
CC [M] /home/ellep/Install/kvm-37/kernel/irq.o
CC [M] /home/ellep/Install/kvm-37/kernel/i8259.o
CC [M] /home/ellep/Install/kvm-37/kernel/lapic.o
/home/ellep/Install/kvm-37/kernel/lapic.c: In function ‘start_apic_timer’:
/home/ellep/Install/kvm-37/kernel/lapic.c:608: error: ‘HRTIMER_MODE_ABS’
undeclared (first use in this function)
/home/ellep/Install/kvm-37/kernel/lapic.c:608: error: (Each undeclared
identifier is reported only once
/home/ellep/Install/kvm-37/kernel/lapic.c:608: error: for each function
it appears in.)
/home/ellep/Install/kvm-37/kernel/lapic.c: In function ‘kvm_create_lapic’:
/home/ellep/Install/kvm-37/kernel/lapic.c:952: error: ‘HRTIMER_MODE_ABS’
undeclared (first use in this function)
/home/ellep/Install/kvm-37/kernel/lapic.c:953: warning: assignment from
incompatible pointer type
/home/ellep/Install/kvm-37/kernel/lapic.c: In function
‘kvm_migrate_apic_timer’:
/home/ellep/Install/kvm-37/kernel/lapic.c:1042: error:
‘HRTIMER_MODE_ABS’ undeclared (first use in this function)
make[3]: *** [/home/ellep/Install/kvm-37/kernel/lapic.o] Error 1
make[2]: *** [_module_/home/ellep/Install/kvm-37/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ellep/Install/kvm-37/kernel'
make: *** [kernel] Error 2
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 10+ messages in thread[parent not found: <46E3F396.4080705-5JapdU7xTciEVqv0pETR8A@public.gmane.org>]
* Re: Build of kvm-37 fails [not found] ` <46E3F396.4080705-5JapdU7xTciEVqv0pETR8A@public.gmane.org> @ 2007-09-09 13:40 ` Avi Kivity [not found] ` <46E3F7BC.6060101-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Avi Kivity @ 2007-09-09 13:40 UTC (permalink / raw) To: Pelle; +Cc: kvm-devel [-- Attachment #1: Type: text/plain, Size: 213 bytes --] Pelle wrote: > Hi, > > I tried to compile the new kvm-37, and got the following errors: > > regards, Pelle > > > Does the attached patch help? -- error compiling committee.c: too many arguments to function [-- Attachment #2: hrtimer-compat.h --] [-- Type: text/x-chdr, Size: 629 bytes --] diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h index 33f1675..00b43f1 100644 --- a/kernel/external-module-compat.h +++ b/kernel/external-module-compat.h @@ -12,6 +12,7 @@ #include "include/linux/kvm.h" #include <linux/cpu.h> #include <asm/processor.h> +#include <linux/hrtimer.h> /* * 2.6.16 does not have GFP_NOWAIT @@ -362,3 +363,8 @@ static inline void preempt_notifier_sys_init(void) {} static inline void preempt_notifier_sys_exit(void) {} #endif + +/* HRTIMER_MODE_ABS started life with a different name */ +#ifndef HRTIMER_MODE_ABS +#define HRTIMER_MODE_ABS HRTIMER_ABS +#endif [-- Attachment #3: Type: text/plain, Size: 228 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ [-- Attachment #4: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply related [flat|nested] 10+ messages in thread
[parent not found: <46E3F7BC.6060101-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: Build of kvm-37 fails [not found] ` <46E3F7BC.6060101-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-09-09 14:53 ` Alexey Eremenko [not found] ` <7fac565a0709090753m4bddc288t9c40528551e8fa05-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2007-09-10 10:10 ` Gildas 2007-09-10 11:22 ` Pelle 2 siblings, 1 reply; 10+ messages in thread From: Alexey Eremenko @ 2007-09-09 14:53 UTC (permalink / raw) To: kvm-devel Excuse me, but I have the same problem with FC6, AMD, 64-bit, kernel 2.6.19. I don't understand, where should I put the file you attached ? -- -Alexey Eremenko "Technologov" ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <7fac565a0709090753m4bddc288t9c40528551e8fa05-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Build of kvm-37 fails [not found] ` <7fac565a0709090753m4bddc288t9c40528551e8fa05-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-09-09 15:24 ` Avi Kivity 0 siblings, 0 replies; 10+ messages in thread From: Avi Kivity @ 2007-09-09 15:24 UTC (permalink / raw) To: Alexey Eremenko; +Cc: kvm-devel Alexey Eremenko wrote: > Excuse me, but I have the same problem with FC6, AMD, 64-bit, kernel 2.6.19. > > I don't understand, where should I put the file you attached ? > > Please don't trim the cc list and quote previous messages. It's impossible to guess what this message refers to. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Build of kvm-37 fails [not found] ` <46E3F7BC.6060101-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 2007-09-09 14:53 ` Alexey Eremenko @ 2007-09-10 10:10 ` Gildas [not found] ` <b2ace7f20709100310u4b49500fp188539cebd25a36e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2007-09-10 11:22 ` Pelle 2 siblings, 1 reply; 10+ messages in thread From: Gildas @ 2007-09-10 10:10 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel, Pelle Hi Avi, I had the same problem on a laptop with Core2 T7200 @ 2.00GHz running ubuntu with kernel 2.6.20 Going in the kvm-37 source directory and applying the patch with patch -p1 <hrtimer-compat.h fixed the compilation problem for me but the VM I've tried crash with exception 6 (0) rax 0000000000000000 rbx 0000000000000000 rcx 0000000000000000 rdx 0000000000000600 rsi 0000000000000000 rdi 0000000000000000 rsp 000000000000fffe rbp 0000000000000000 r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000 r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000 rip 0000000000000003 rflags 00033082 cs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) tr 0000 (30850000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) gdt 0/ffff idt 0/ffff cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0 code: 54 ff 00 --> f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 a5 fe 00 f0 87 e9 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff They runned fine with kvm-36 but now they crash even with -no-kvm. Cheers Gildas 2007/9/9, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>: > Pelle wrote: > > Hi, > > > > I tried to compile the new kvm-37, and got the following errors: > > > > regards, Pelle > > > > > > > > Does the attached patch help? > > -- > error compiling committee.c: too many arguments to function > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <b2ace7f20709100310u4b49500fp188539cebd25a36e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Build of kvm-37 fails [not found] ` <b2ace7f20709100310u4b49500fp188539cebd25a36e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-09-10 10:15 ` Gildas [not found] ` <b2ace7f20709100315q7464e612q9f79efdbe797b7f6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Gildas @ 2007-09-10 10:15 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel Le 10/09/07, Gildas<gildas.ml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> a écrit : > Hi Avi, > > I had the same problem on a laptop with Core2 T7200 @ 2.00GHz > running ubuntu with kernel 2.6.20 > > Going in the kvm-37 source directory and applying the patch with > > patch -p1 <hrtimer-compat.h > > fixed the compilation problem for me but the VM I've tried crash with > > exception 6 (0) > rax 0000000000000000 rbx 0000000000000000 rcx 0000000000000000 rdx > 0000000000000600 > rsi 0000000000000000 rdi 0000000000000000 rsp 000000000000fffe rbp > 0000000000000000 > r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 > 0000000000000000 > r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 > 0000000000000000 > rip 0000000000000003 rflags 00033082 > cs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > tr 0000 (30850000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) > ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) > gdt 0/ffff > idt 0/ffff > cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0 > code: 54 ff 00 --> f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 > 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 a5 fe 00 f0 87 e9 00 f0 53 ff 00 > f0 53 ff 00 f0 53 ff > > They runned fine with kvm-36 but now they crash even with -no-kvm. I did further tests after I saw the bug report about the crash related to smp: I was running my vm with -smp 2. If I remove this option, they run fine. Cheers Gildas > 2007/9/9, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>: > > Pelle wrote: > > > Hi, > > > > > > I tried to compile the new kvm-37, and got the following errors: > > > > > > regards, Pelle > > > > > > > > > > > > > Does the attached patch help? > > > > -- > > error compiling committee.c: too many arguments to function > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > kvm-devel mailing list > > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > https://lists.sourceforge.net/lists/listinfo/kvm-devel > > > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <b2ace7f20709100315q7464e612q9f79efdbe797b7f6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Build of kvm-37 fails [not found] ` <b2ace7f20709100315q7464e612q9f79efdbe797b7f6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-09-10 23:28 ` Dong, Eddie [not found] ` <10EA09EFD8728347A513008B6B0DA77A014E8AE2-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Dong, Eddie @ 2007-09-10 23:28 UTC (permalink / raw) To: Gildas, Avi Kivity; +Cc: kvm-devel [-- Attachment #1: Type: text/plain, Size: 3580 bytes --] This issue is fixed by Qing's patch to hrtimer migration yesterday, but it is not in yet given that the comments is not properly in. Eddie -----Original Message----- From: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Gildas Sent: 2007年9月10日 18:15 To: Avi Kivity Cc: kvm-devel Subject: Re: [kvm-devel] Build of kvm-37 fails Le 10/09/07, Gildas<gildas.ml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> a écrit : > Hi Avi, > > I had the same problem on a laptop with Core2 T7200 @ 2.00GHz > running ubuntu with kernel 2.6.20 > > Going in the kvm-37 source directory and applying the patch with > > patch -p1 <hrtimer-compat.h > > fixed the compilation problem for me but the VM I've tried crash with > > exception 6 (0) > rax 0000000000000000 rbx 0000000000000000 rcx 0000000000000000 rdx > 0000000000000600 > rsi 0000000000000000 rdi 0000000000000000 rsp 000000000000fffe rbp > 0000000000000000 > r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 > 0000000000000000 > r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 > 0000000000000000 > rip 0000000000000003 rflags 00033082 > cs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > tr 0000 (30850000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) > ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) > gdt 0/ffff > idt 0/ffff > cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0 > code: 54 ff 00 --> f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 > 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 a5 fe 00 f0 87 e9 00 f0 53 ff 00 > f0 53 ff 00 f0 53 ff > > They runned fine with kvm-36 but now they crash even with -no-kvm. I did further tests after I saw the bug report about the crash related to smp: I was running my vm with -smp 2. If I remove this option, they run fine. Cheers Gildas > 2007/9/9, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>: > > Pelle wrote: > > > Hi, > > > > > > I tried to compile the new kvm-37, and got the following errors: > > > > > > regards, Pelle > > > > > > > > > > > > > Does the attached patch help? > > > > -- > > error compiling committee.c: too many arguments to function > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > kvm-devel mailing list > > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > https://lists.sourceforge.net/lists/listinfo/kvm-devel > > > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel [-- Attachment #2: Type: text/plain, Size: 228 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <10EA09EFD8728347A513008B6B0DA77A014E8AE2-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: Build of kvm-37 fails [not found] ` <10EA09EFD8728347A513008B6B0DA77A014E8AE2-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-09-12 8:00 ` Avi Kivity 0 siblings, 0 replies; 10+ messages in thread From: Avi Kivity @ 2007-09-12 8:00 UTC (permalink / raw) To: Dong, Eddie; +Cc: kvm-devel [-- Attachment #1: Type: text/plain, Size: 309 bytes --] Dong, Eddie wrote: > This issue is fixed by Qing's patch to hrtimer migration yesterday, but it is not in yet given that the comments is not properly in. > If you mean b25a47c1: KVM: fix apic timer migration when inactive, that's in now. -- error compiling committee.c: too many arguments to function [-- Attachment #2: Type: text/plain, Size: 228 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Build of kvm-37 fails [not found] ` <46E3F7BC.6060101-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 2007-09-09 14:53 ` Alexey Eremenko 2007-09-10 10:10 ` Gildas @ 2007-09-10 11:22 ` Pelle [not found] ` <46E528F8.6020203-5JapdU7xTciEVqv0pETR8A@public.gmane.org> 2 siblings, 1 reply; 10+ messages in thread From: Pelle @ 2007-09-10 11:22 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel The patch fixes build problems, however the modules won't load properly, I don't know if this is a seperate issue or not. kernel is ubuntu feisty 2.6.20-16-generic $sudo modprobe kvm-intel WARNING: Error inserting kvm (/lib/modules/2.6.20-16-generic/extra/kvm.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting kvm_intel (/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg) $dmesg [54716.482444] kvm: Unknown symbol __divdi3 [54716.492596] kvm_intel: Unknown symbol kvm_lapic_reset [54716.492638] kvm_intel: Unknown symbol kvm_migrate_apic_timer [54716.492684] kvm_intel: Unknown symbol set_cr3 [54716.492750] kvm_intel: Unknown symbol kvm_put_guest_fpu [54716.492783] kvm_intel: Unknown symbol kvm_timer_intr_post [54716.492816] kvm_intel: Unknown symbol gfn_to_page [54716.492855] kvm_intel: Unknown symbol segment_base [54716.492888] kvm_intel: Unknown symbol kvm_get_msr_common [54716.492925] kvm_intel: Unknown symbol kvm_vcpu_uninit [54716.492959] kvm_intel: Unknown symbol kvm_emulate_halt [54716.492992] kvm_intel: Unknown symbol kvm_set_apic_base [54716.493025] kvm_intel: Unknown symbol kvm_get_apic_base [54716.493058] kvm_intel: Unknown symbol kvm_load_guest_fpu [54716.493100] kvm_intel: Unknown symbol kvm_lapic_find_highest_irr [54716.493133] kvm_intel: Unknown symbol emulator_write_emulated [54716.493167] kvm_intel: Unknown symbol kvm_exit_arch [54716.493202] kvm_intel: Unknown symbol emulate_instruction [54716.493244] kvm_intel: Unknown symbol kvm_inject_pending_timer_irqs [54716.493282] kvm_intel: Unknown symbol special_reload_dr7 [54716.493316] kvm_intel: Unknown symbol fx_init [54716.493349] kvm_intel: Unknown symbol kvm_create_lapic [54716.493386] kvm_intel: Unknown symbol in_special_section [54716.493428] kvm_intel: Unknown symbol set_cr4 [54716.493462] kvm_intel: Unknown symbol kvm_cpu_has_interrupt [54716.493496] kvm_intel: Unknown symbol kvm_lapic_get_cr8 [54716.493544] kvm_intel: Unknown symbol lmsw [54716.493577] kvm_intel: Unknown symbol kvm_hypercall [54716.493610] kvm_intel: Unknown symbol kvm_vcpu_cache [54716.493644] kvm_intel: Unknown symbol get_cr8 [54716.493679] kvm_intel: Unknown symbol end_special_insn [54716.493731] kvm_intel: Unknown symbol kvm_init_arch [54716.493777] kvm_intel: Unknown symbol set_cr0 [54716.493811] kvm_intel: Unknown symbol kvm_lapic_enabled [54716.493843] kvm_intel: Unknown symbol emulator_read_std [54716.493883] kvm_intel: Unknown symbol start_special_insn [54716.493922] kvm_intel: Unknown symbol set_cr8 [54716.493955] kvm_intel: Unknown symbol kvm_emulate_cpuid [54716.493992] kvm_intel: Unknown symbol kvm_vcpu_init [54716.494034] kvm_intel: Unknown symbol kvm_set_msr_common [54716.494074] kvm_intel: Unknown symbol kvm_mmu_load [54716.494108] kvm_intel: Unknown symbol kvm_cpu_get_interrupt [54716.494141] kvm_intel: Unknown symbol kvm_emulate_pio [54716.494174] kvm_intel: Unknown symbol kvm_resched Avi Kivity wrote: > Pelle wrote: >> Hi, >> >> I tried to compile the new kvm-37, and got the following errors: >> >> regards, Pelle >> >> >> > > Does the attached patch help? > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <46E528F8.6020203-5JapdU7xTciEVqv0pETR8A@public.gmane.org>]
* Re: Build of kvm-37 fails [not found] ` <46E528F8.6020203-5JapdU7xTciEVqv0pETR8A@public.gmane.org> @ 2007-09-10 12:33 ` Luca 0 siblings, 0 replies; 10+ messages in thread From: Luca @ 2007-09-10 12:33 UTC (permalink / raw) To: Pelle; +Cc: kvm-devel, Avi Kivity On 9/10/07, Pelle <Pelle-5JapdU7xTciEVqv0pETR8A@public.gmane.org> wrote: > The patch fixes build problems, however the modules won't load properly, > I don't know if this is a seperate issue or not. > > kernel is ubuntu feisty 2.6.20-16-generic > > $sudo modprobe kvm-intel > WARNING: Error inserting kvm > (/lib/modules/2.6.20-16-generic/extra/kvm.ko): Unknown symbol in module, > or unknown parameter (see dmesg) > FATAL: Error inserting kvm_intel > (/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Unknown symbol in > module, or unknown parameter (see dmesg) > > $dmesg > [54716.482444] kvm: Unknown symbol __divdi3 kvm.ko fails to load due to a 64 bit division, see: http://git.kernel.org/?p=linux/kernel/git/avi/kvm.git;a=commitdiff;h=e44af0f4ee99974ce40102e23784bc3cae7f4466 Luca > > [54716.492596] kvm_intel: Unknown symbol kvm_lapic_reset > [54716.492638] kvm_intel: Unknown symbol kvm_migrate_apic_timer > [54716.492684] kvm_intel: Unknown symbol set_cr3 > [54716.492750] kvm_intel: Unknown symbol kvm_put_guest_fpu > [54716.492783] kvm_intel: Unknown symbol kvm_timer_intr_post > [54716.492816] kvm_intel: Unknown symbol gfn_to_page > [54716.492855] kvm_intel: Unknown symbol segment_base > [54716.492888] kvm_intel: Unknown symbol kvm_get_msr_common > [54716.492925] kvm_intel: Unknown symbol kvm_vcpu_uninit > [54716.492959] kvm_intel: Unknown symbol kvm_emulate_halt > [54716.492992] kvm_intel: Unknown symbol kvm_set_apic_base > [54716.493025] kvm_intel: Unknown symbol kvm_get_apic_base > [54716.493058] kvm_intel: Unknown symbol kvm_load_guest_fpu > [54716.493100] kvm_intel: Unknown symbol kvm_lapic_find_highest_irr > [54716.493133] kvm_intel: Unknown symbol emulator_write_emulated > [54716.493167] kvm_intel: Unknown symbol kvm_exit_arch > [54716.493202] kvm_intel: Unknown symbol emulate_instruction > [54716.493244] kvm_intel: Unknown symbol kvm_inject_pending_timer_irqs > [54716.493282] kvm_intel: Unknown symbol special_reload_dr7 > [54716.493316] kvm_intel: Unknown symbol fx_init > [54716.493349] kvm_intel: Unknown symbol kvm_create_lapic > [54716.493386] kvm_intel: Unknown symbol in_special_section > [54716.493428] kvm_intel: Unknown symbol set_cr4 > [54716.493462] kvm_intel: Unknown symbol kvm_cpu_has_interrupt > [54716.493496] kvm_intel: Unknown symbol kvm_lapic_get_cr8 > [54716.493544] kvm_intel: Unknown symbol lmsw > [54716.493577] kvm_intel: Unknown symbol kvm_hypercall > [54716.493610] kvm_intel: Unknown symbol kvm_vcpu_cache > [54716.493644] kvm_intel: Unknown symbol get_cr8 > [54716.493679] kvm_intel: Unknown symbol end_special_insn > [54716.493731] kvm_intel: Unknown symbol kvm_init_arch > [54716.493777] kvm_intel: Unknown symbol set_cr0 > [54716.493811] kvm_intel: Unknown symbol kvm_lapic_enabled > [54716.493843] kvm_intel: Unknown symbol emulator_read_std > [54716.493883] kvm_intel: Unknown symbol start_special_insn > [54716.493922] kvm_intel: Unknown symbol set_cr8 > [54716.493955] kvm_intel: Unknown symbol kvm_emulate_cpuid > [54716.493992] kvm_intel: Unknown symbol kvm_vcpu_init > [54716.494034] kvm_intel: Unknown symbol kvm_set_msr_common > [54716.494074] kvm_intel: Unknown symbol kvm_mmu_load > [54716.494108] kvm_intel: Unknown symbol kvm_cpu_get_interrupt > [54716.494141] kvm_intel: Unknown symbol kvm_emulate_pio > [54716.494174] kvm_intel: Unknown symbol kvm_resched > > > Avi Kivity wrote: > > Pelle wrote: > >> Hi, > >> > >> I tried to compile the new kvm-37, and got the following errors: > >> > >> regards, Pelle > >> > >> > >> > > > > Does the attached patch help? > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-09-12 8:00 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-09 13:22 Build of kvm-37 fails Pelle
[not found] ` <46E3F396.4080705-5JapdU7xTciEVqv0pETR8A@public.gmane.org>
2007-09-09 13:40 ` Avi Kivity
[not found] ` <46E3F7BC.6060101-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-09 14:53 ` Alexey Eremenko
[not found] ` <7fac565a0709090753m4bddc288t9c40528551e8fa05-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-09 15:24 ` Avi Kivity
2007-09-10 10:10 ` Gildas
[not found] ` <b2ace7f20709100310u4b49500fp188539cebd25a36e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-10 10:15 ` Gildas
[not found] ` <b2ace7f20709100315q7464e612q9f79efdbe797b7f6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-10 23:28 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A014E8AE2-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-12 8:00 ` Avi Kivity
2007-09-10 11:22 ` Pelle
[not found] ` <46E528F8.6020203-5JapdU7xTciEVqv0pETR8A@public.gmane.org>
2007-09-10 12:33 ` Luca
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox