[kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-13 Thread (अमेय) Ameya (पाळंदे) Palande
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.

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-13 Thread Avi Kivity
(अमेय) 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 > C

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-13 Thread Simon Gao
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

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-13 Thread (अमेय) Ameya (पाळंदे) Palande
There is nothing in dmesg :( On 8/13/07, Avi Kivity <[EMAIL PROTECTED]> 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.

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-13 Thread Avi Kivity
(अमेय) 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

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-13 Thread (अमेय) Ameya (पाळंदे) Palande
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 <[EMAIL PROTECTED]> wrote: > (अमे

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-13 Thread (अमेय) Ameya (पाळंदे) Palande
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 <[EMAIL PROTECTED]> wrote: > (अमेय) Ameya (पाळंदे) Palande wrote: > > There is nothing in dmesg :( > > > > > > urk,

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Avi Kivity
(अमेय) 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 q

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Avi Kivity
(अमेय) 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 see

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Glauber de Oliveira Costa
On 8/14/07, Avi Kivity <[EMAIL PROTECTED]> 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

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Glauber de Oliveira Costa
> > > 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_S

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Yang, Sheng
[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 requir

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Avi Kivity
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_EXITIN

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-15 Thread Glauber de Oliveira Costa
> > commit 2863174b39dd8768cd7922832e45ea00d5c6442c > > Author: Glauber de Oliveira Costa <[EMAIL PROTECTED]> > > 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 tel