* Error while inserting kvm-intel.ko from kvm-34
@ 2007-08-13 15:59 (अमेय) Ameya (पाळंदे) Palande
[not found] ` <269694c00708130859n6a375022r1e84c7609565147b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 14+ messages in thread
From: (अमेय) Ameya (पाळंदे) Palande @ 2007-08-13 15:59 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
Today I downloaded kvm-34.
When i try to insert kvm-intel.ko module, I get following error,
FATAL: Error inserting kvm_intel
(/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Input/output
error
OS : Ubuntu 7.04 x86
CPU : Intel core duo T2300
Linux Kernel : 2.6.20-16-generic
Regards,
Ameya.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
^ permalink raw reply [flat|nested] 14+ messages in thread[parent not found: <269694c00708130859n6a375022r1e84c7609565147b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <269694c00708130859n6a375022r1e84c7609565147b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-13 16:02 ` Avi Kivity [not found] ` <46C0807D.3060303-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 2007-08-13 16:02 ` Simon Gao 1 sibling, 1 reply; 14+ messages in thread From: Avi Kivity @ 2007-08-13 16:02 UTC (permalink / raw) To: "(अमेय) Ameya (पाळंदे) Palande" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f (अमेय) Ameya (पाळंदे) Palande wrote: > Hi, > > Today I downloaded kvm-34. > > When i try to insert kvm-intel.ko module, I get following error, > > FATAL: Error inserting kvm_intel > (/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Input/output > error > > OS : Ubuntu 7.04 x86 > CPU : Intel core duo T2300 > Can you post the tail of dmesg when you get this? There's some new code that checks for compatible cpus, but it shouldn't trigger. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <46C0807D.3060303-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <46C0807D.3060303-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-08-13 16:03 ` (अमेय) Ameya (पाळंदे) Palande [not found] ` <269694c00708130903l100827d4h10d903b2efcf1fbf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: (अमेय) Ameya (पाळंदे) Palande @ 2007-08-13 16:03 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f There is nothing in dmesg :( On 8/13/07, Avi Kivity <avi@qumranet.com> wrote: > (अमेय) Ameya (पाळंदे) Palande wrote: > > Hi, > > > > Today I downloaded kvm-34. > > > > When i try to insert kvm-intel.ko module, I get following error, > > > > FATAL: Error inserting kvm_intel > > (/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Input/output > > error > > > > OS : Ubuntu 7.04 x86 > > CPU : Intel core duo T2300 > > > > Can you post the tail of dmesg when you get this? There's some new code > that checks for compatible cpus, but it shouldn't trigger. > > > -- > error compiling committee.c: too many arguments to function > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <269694c00708130903l100827d4h10d903b2efcf1fbf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <269694c00708130903l100827d4h10d903b2efcf1fbf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-13 16:07 ` Avi Kivity [not found] ` <46C081DF.4020502-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Avi Kivity @ 2007-08-13 16:07 UTC (permalink / raw) To: "(अमेय) Ameya (पाळंदे) Palande" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f (अमेय) Ameya (पाळंदे) Palande wrote: > There is nothing in dmesg :( > > urk, there are a zillion lines which return EIO without printing anything. Can you run sed -i 's/-EIO/(printk("kvm: EIO at %d\n", __LINE__), -EIO)/' kernel/vmx.c recompile, reinsert, and check dmesg? > On 8/13/07, Avi Kivity <avi@qumranet.com> wrote: > >> (अमेय) Ameya (पाळंदे) Palande wrote: >> >>> Hi, >>> >>> Today I downloaded kvm-34. >>> >>> When i try to insert kvm-intel.ko module, I get following error, >>> >>> FATAL: Error inserting kvm_intel >>> (/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Input/output >>> error >>> >>> OS : Ubuntu 7.04 x86 >>> CPU : Intel core duo T2300 >>> >>> >> Can you post the tail of dmesg when you get this? There's some new code >> that checks for compatible cpus, but it shouldn't trigger. >> >> >> -- >> error compiling committee.c: too many arguments to function >> >> >> -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <46C081DF.4020502-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <46C081DF.4020502-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-08-13 16:11 ` (अमेय) Ameya (पाळंदे) Palande [not found] ` <269694c00708130911l2cf0d577jcb8f3db5714ec5be-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2007-08-13 16:44 ` (अमेय) Ameya (पाळंदे) Palande 1 sibling, 1 reply; 14+ messages in thread From: (अमेय) Ameya (पाळंदे) Palande @ 2007-08-13 16:11 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f I tried running my guest OS which is plan9 without kvm, and its showing CPU as AMD Athlon on intel machine. If i remember correctly, earlier qemu used to emulate intel processor on intel machines. Is this causing problem ? Regards, Ameya. On 8/13/07, Avi Kivity <avi@qumranet.com> wrote: > (अमेय) Ameya (पाळंदे) Palande wrote: > > There is nothing in dmesg :( > > > > > > urk, there are a zillion lines which return EIO without printing anything. > > Can you run > > sed -i 's/-EIO/(printk("kvm: EIO at %d\n", __LINE__), -EIO)/' kernel/vmx.c > > recompile, reinsert, and check dmesg? > > > On 8/13/07, Avi Kivity <avi@qumranet.com> wrote: > > > >> (अमेय) Ameya (पाळंदे) Palande wrote: > >> > >>> Hi, > >>> > >>> Today I downloaded kvm-34. > >>> > >>> When i try to insert kvm-intel.ko module, I get following error, > >>> > >>> FATAL: Error inserting kvm_intel > >>> (/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Input/output > >>> error > >>> > >>> OS : Ubuntu 7.04 x86 > >>> CPU : Intel core duo T2300 > >>> > >>> > >> Can you post the tail of dmesg when you get this? There's some new code > >> that checks for compatible cpus, but it shouldn't trigger. > >> > >> > >> -- > >> error compiling committee.c: too many arguments to function > >> > >> > >> > > > -- > error compiling committee.c: too many arguments to function > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <269694c00708130911l2cf0d577jcb8f3db5714ec5be-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <269694c00708130911l2cf0d577jcb8f3db5714ec5be-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-14 16:08 ` Avi Kivity 0 siblings, 0 replies; 14+ messages in thread From: Avi Kivity @ 2007-08-14 16:08 UTC (permalink / raw) To: "(अमेय) Ameya (पाळंदे) Palande" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f (अमेय) Ameya (पाळंदे) Palande wrote: > I tried running my guest OS which is plan9 without > kvm, and its showing CPU as AMD Athlon on intel machine. > > If i remember correctly, earlier qemu used to emulate > intel processor on intel machines. > > Is this causing problem ? > No; it's just the qemu default for a 64-bit guest. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <46C081DF.4020502-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 2007-08-13 16:11 ` (अमेय) Ameya (पाळंदे) Palande @ 2007-08-13 16:44 ` (अमेय) Ameya (पाळंदे) Palande [not found] ` <269694c00708130944y24fcd60dv6cfad494927937ab-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 1 sibling, 1 reply; 14+ messages in thread From: (अमेय) Ameya (पाळंदे) Palande @ 2007-08-13 16:44 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hi Avi, I followed your steps for modifying vmx.c Here are the messages from dmesg output : kvm: EIO at 852 kvm: EIO at 882 kvm: EIO at 980 Regards, Ameya. On 8/13/07, Avi Kivity <avi@qumranet.com> wrote: > (अमेय) Ameya (पाळंदे) Palande wrote: > > There is nothing in dmesg :( > > > > > > urk, there are a zillion lines which return EIO without printing anything. > > Can you run > > sed -i 's/-EIO/(printk("kvm: EIO at %d\n", __LINE__), -EIO)/' kernel/vmx.c > > recompile, reinsert, and check dmesg? > > > On 8/13/07, Avi Kivity <avi@qumranet.com> wrote: > > > >> (अमेय) Ameya (पाळंदे) Palande wrote: > >> > >>> Hi, > >>> > >>> Today I downloaded kvm-34. > >>> > >>> When i try to insert kvm-intel.ko module, I get following error, > >>> > >>> FATAL: Error inserting kvm_intel > >>> (/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Input/output > >>> error > >>> > >>> OS : Ubuntu 7.04 x86 > >>> CPU : Intel core duo T2300 > >>> > >>> > >> Can you post the tail of dmesg when you get this? There's some new code > >> that checks for compatible cpus, but it shouldn't trigger. > >> > >> > >> -- > >> error compiling committee.c: too many arguments to function > >> > >> > >> > > > -- > error compiling committee.c: too many arguments to function > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <269694c00708130944y24fcd60dv6cfad494927937ab-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <269694c00708130944y24fcd60dv6cfad494927937ab-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-14 16:10 ` Avi Kivity [not found] ` <46C1D401.8030303-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Avi Kivity @ 2007-08-14 16:10 UTC (permalink / raw) To: "(अमेय) Ameya (पाळंदे) Palande" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f (अमेय) Ameya (पाळंदे) Palande wrote: > Hi Avi, > > I followed your steps for modifying vmx.c > Here are the messages from dmesg output : > > kvm: EIO at 852 kvm: EIO at 882 kvm: EIO at 980 > > Sheng, this looks like one of the vmx compatibility patches. Can you take a look? Basically, it seems kvm-34 breaks on all Core cpus (not Core 2). -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <46C1D401.8030303-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <46C1D401.8030303-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-08-14 18:14 ` Glauber de Oliveira Costa [not found] ` <5d6222a80708141114p244901d4sa7ddda7abeb7ef27-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Glauber de Oliveira Costa @ 2007-08-14 18:14 UTC (permalink / raw) To: Avi Kivity Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, "(अमेय) Ameya (पाळंदे) Palande" On 8/14/07, Avi Kivity <avi@qumranet.com> wrote: > (अमेय) Ameya (पाळंदे) Palande wrote: > > Hi Avi, > > > > I followed your steps for modifying vmx.c > > Here are the messages from dmesg output : > > > > kvm: EIO at 852 kvm: EIO at 882 kvm: EIO at 980 > > > > > > Sheng, this looks like one of the vmx compatibility patches. Can you > take a look? > > Basically, it seems kvm-34 breaks on all Core cpus (not Core 2). > > I got the same behaviour here, and it seems that the reason is 32-bit machines does not use the CR8 register. But the code in vmx.c makes it a minimum requirement as in: min = CPU_BASED_HLT_EXITING | CPU_BASED_CR8_LOAD_EXITING | CPU_BASED_CR8_STORE_EXITING | CPU_BASED_USE_IO_BITMAPS | CPU_BASED_MOV_DR_EXITING | CPU_BASED_USE_TSC_OFFSETING; I think the solution is to enclose the CR8 constants in a ifdef CONFIG_X86_64, since putting them as optional won't do the right thing in 64-bit (and thus, core duo), machines. I was about to post a patch for it now. Avi, if you agree with the fix, I can do it right now. -- Glauber de Oliveira Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <5d6222a80708141114p244901d4sa7ddda7abeb7ef27-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <5d6222a80708141114p244901d4sa7ddda7abeb7ef27-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-14 18:55 ` Glauber de Oliveira Costa [not found] ` <5d6222a80708141155y192c3db4ha01d537a475c6c6b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Glauber de Oliveira Costa @ 2007-08-14 18:55 UTC (permalink / raw) To: Avi Kivity Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, (अमेय) Ameya (पाळंदे) Palande [-- Attachment #1: Type: text/plain, Size: 915 bytes --] > > > I got the same behaviour here, and it seems that the reason is 32-bit > machines does not use the CR8 register. But the code in vmx.c makes it > a minimum requirement as in: > > min = CPU_BASED_HLT_EXITING | > CPU_BASED_CR8_LOAD_EXITING | > CPU_BASED_CR8_STORE_EXITING | > CPU_BASED_USE_IO_BITMAPS | > CPU_BASED_MOV_DR_EXITING | > CPU_BASED_USE_TSC_OFFSETING; > > I think the solution is to enclose the CR8 constants in a ifdef > CONFIG_X86_64, since putting them as optional won't do the right thing > in 64-bit (and thus, core duo), machines. > > I was about to post a patch for it now. > > Avi, if you agree with the fix, I can do it right now. > BTW, in case you agree, here is the patch -- Glauber de Oliveira Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act." [-- Attachment #2: cr8.patch --] [-- Type: text/x-patch, Size: 942 bytes --] commit 2863174b39dd8768cd7922832e45ea00d5c6442c Author: Glauber de Oliveira Costa <glauber@t60.localdomain> Date: Tue Aug 14 15:51:22 2007 -0300 don't create vmcs entries for cr8 when running on 32-bit This is because cr8 is not available on IA-32. It is just used in 64-bit mode. The rdmsr will then report this as not present, and it will lead us to return an -EIO. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 4901339..906d4fa 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c @@ -864,8 +864,10 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf) return -EIO; min = CPU_BASED_HLT_EXITING | +#ifdef CONFIG_X86_64 CPU_BASED_CR8_LOAD_EXITING | CPU_BASED_CR8_STORE_EXITING | +#endif CPU_BASED_USE_IO_BITMAPS | CPU_BASED_MOV_DR_EXITING | CPU_BASED_USE_TSC_OFFSETING; [-- Attachment #3: Type: text/plain, Size: 315 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ [-- 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] 14+ messages in thread
[parent not found: <5d6222a80708141155y192c3db4ha01d537a475c6c6b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <5d6222a80708141155y192c3db4ha01d537a475c6c6b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-15 1:27 ` Yang, Sheng 2007-08-15 2:38 ` Avi Kivity 1 sibling, 0 replies; 14+ messages in thread From: Yang, Sheng @ 2007-08-15 1:27 UTC (permalink / raw) To: Glauber de Oliveira Costa, Avi Kivity Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, =?utf-8?B?KOCkheCkruClh+CkrykgQW1leWEgKOCkquCkvuCks+CkguCkpuClhykgUGFsYW4=?=, de OK to me. Thanks. Yang, Sheng >-----Original Message----- >From: kvm-devel-bounces@lists.sourceforge.net >[mailto:kvm-devel-bounces@lists.sourceforge.net] On Behalf Of Glauber de >Oliveira Costa >Sent: 2007年8月15日 2:55 >To: Avi Kivity >Cc: kvm-devel@lists.sourceforge.net; (अमेय) Ameya (पाळंदे) Palande >Subject: Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34 > >> > >> I got the same behaviour here, and it seems that the reason is 32-bit >> machines does not use the CR8 register. But the code in vmx.c makes it >> a minimum requirement as in: >> >> min = CPU_BASED_HLT_EXITING | >> CPU_BASED_CR8_LOAD_EXITING | >> CPU_BASED_CR8_STORE_EXITING | >> CPU_BASED_USE_IO_BITMAPS | >> CPU_BASED_MOV_DR_EXITING | >> CPU_BASED_USE_TSC_OFFSETING; >> >> I think the solution is to enclose the CR8 constants in a ifdef >> CONFIG_X86_64, since putting them as optional won't do the right thing >> in 64-bit (and thus, core duo), machines. >> >> I was about to post a patch for it now. >> >> Avi, if you agree with the fix, I can do it right now. >> > >BTW, in case you agree, here is the patch > >-- >Glauber de Oliveira Costa. >"Free as in Freedom" >http://glommer.net > >"The less confident you are, the more serious you have to act." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <5d6222a80708141155y192c3db4ha01d537a475c6c6b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2007-08-15 1:27 ` Yang, Sheng @ 2007-08-15 2:38 ` Avi Kivity [not found] ` <46C2670D.2090707-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 1 sibling, 1 reply; 14+ messages in thread From: Avi Kivity @ 2007-08-15 2:38 UTC (permalink / raw) To: Glauber de Oliveira Costa Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, =?UTF-8?B?IijgpIXgpK7gpYfgpK8pIEFtZXlhICjgpKrgpL7gpLPgpILgpKbgpYcpIFBh?=, lande" Glauber de Oliveira Costa wrote: >> I got the same behaviour here, and it seems that the reason is 32-bit >> machines does not use the CR8 register. But the code in vmx.c makes it >> a minimum requirement as in: >> >> min = CPU_BASED_HLT_EXITING | >> CPU_BASED_CR8_LOAD_EXITING | >> CPU_BASED_CR8_STORE_EXITING | >> CPU_BASED_USE_IO_BITMAPS | >> CPU_BASED_MOV_DR_EXITING | >> CPU_BASED_USE_TSC_OFFSETING; >> >> I think the solution is to enclose the CR8 constants in a ifdef >> CONFIG_X86_64, since putting them as optional won't do the right thing >> in 64-bit (and thus, core duo), machines. >> >> I was about to post a patch for it now. >> >> Avi, if you agree with the fix, I can do it right now. >> >> > > BTW, in case you agree, here is the patch > > Applied, thanks. Good catch. > commit 2863174b39dd8768cd7922832e45ea00d5c6442c > Author: Glauber de Oliveira Costa <glauber-aMxvdZfKFXomYvmMESoHnA@public.gmane.org> > Date: Tue Aug 14 15:51:22 2007 -0300 Author email is misconfigured... -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <46C2670D.2090707-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <46C2670D.2090707-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-08-15 20:58 ` Glauber de Oliveira Costa 0 siblings, 0 replies; 14+ messages in thread From: Glauber de Oliveira Costa @ 2007-08-15 20:58 UTC (permalink / raw) To: Avi Kivity Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, "(अमेय) Ameya (पाळंदे) Palande" > > commit 2863174b39dd8768cd7922832e45ea00d5c6442c > > Author: Glauber de Oliveira Costa <glauber-aMxvdZfKFXomYvmMESoHnA@public.gmane.org> > > Date: Tue Aug 14 15:51:22 2007 -0300 > > Author email is misconfigured... > > Thanks for noting, Avi. I didn't wrote this patch in my usual test machine, but in my t60. (you could tell). -- Glauber de Oliveira Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Error while inserting kvm-intel.ko from kvm-34 [not found] ` <269694c00708130859n6a375022r1e84c7609565147b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2007-08-13 16:02 ` Avi Kivity @ 2007-08-13 16:02 ` Simon Gao 1 sibling, 0 replies; 14+ messages in thread From: Simon Gao @ 2007-08-13 16:02 UTC (permalink / raw) To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Same problem here: Gentoo 2007.0 CPU Intel Coreduo T2500 Kernel 2.6.21-gentoo-r4 Simon (अमेय) Ameya (पाळंदे) Palande wrote: > Hi, > > Today I downloaded kvm-34. > > When i try to insert kvm-intel.ko module, I get following error, > > FATAL: Error inserting kvm_intel > (/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Input/output > error > > OS : Ubuntu 7.04 x86 > CPU : Intel core duo T2300 > Linux Kernel : 2.6.20-16-generic > > > Regards, > Ameya. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > kvm-devel mailing list > kvm-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/kvm-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-08-15 20:58 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-13 15:59 Error while inserting kvm-intel.ko from kvm-34 (अमेय) Ameya (पाळंदे) Palande
[not found] ` <269694c00708130859n6a375022r1e84c7609565147b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-13 16:02 ` Avi Kivity
[not found] ` <46C0807D.3060303-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-13 16:03 ` (अमेय) Ameya (पाळंदे) Palande
[not found] ` <269694c00708130903l100827d4h10d903b2efcf1fbf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-13 16:07 ` Avi Kivity
[not found] ` <46C081DF.4020502-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-13 16:11 ` (अमेय) Ameya (पाळंदे) Palande
[not found] ` <269694c00708130911l2cf0d577jcb8f3db5714ec5be-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-14 16:08 ` Avi Kivity
2007-08-13 16:44 ` (अमेय) Ameya (पाळंदे) Palande
[not found] ` <269694c00708130944y24fcd60dv6cfad494927937ab-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-14 16:10 ` Avi Kivity
[not found] ` <46C1D401.8030303-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-14 18:14 ` Glauber de Oliveira Costa
[not found] ` <5d6222a80708141114p244901d4sa7ddda7abeb7ef27-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-14 18:55 ` Glauber de Oliveira Costa
[not found] ` <5d6222a80708141155y192c3db4ha01d537a475c6c6b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-15 1:27 ` Yang, Sheng
2007-08-15 2:38 ` Avi Kivity
[not found] ` <46C2670D.2090707-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-15 20:58 ` Glauber de Oliveira Costa
2007-08-13 16:02 ` Simon Gao
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox