public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM behaves weird on AMD64
@ 2007-09-12 10:26 Miguel Araujo
       [not found] ` <46E7BEE3.8090203-l9cVusCFpiBeoWH0uzbU5w@public.gmane.org>
  2007-09-13 22:55 ` Tobias Brink
  0 siblings, 2 replies; 9+ messages in thread
From: Miguel Araujo @ 2007-09-12 10:26 UTC (permalink / raw)
  To: lista kvm-devel

Hello all,

I have recently compiled kvm-36 in my Ubuntu Desktop 7.04 64 bits 
running 2.6.22. I can load the AMD module without problems. The issue 
started when I tried to install OpenBSD 4.1 on a Virtual Machine and It 
could not manage to write the MBR on disk. That should not happen. I 
also tried to install an Ubuntu desktop and server machines 32 bits and 
both of them got stuck on installation when configuring fdutils, I have 
no idea why this happens.

Eventually I get to install a Debian netinstall with the most basic 
configuration and it worked. These are the tests I have made. By the way 
I checked that the Ubuntu machines did write in my 4G feisty.img file.

Is anyone having problems with AMD64 and 2.6.22 kernels? Has anyone a 
hint about what could I do to get these machines running?

Thanks a lot in advance, Regards

                Miguel

-------------------------------------------------------------------------
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] 9+ messages in thread

* Re: KVM behaves weird on AMD64
       [not found] ` <46E7BEE3.8090203-l9cVusCFpiBeoWH0uzbU5w@public.gmane.org>
@ 2007-09-12 10:47   ` Avi Kivity
       [not found]     ` <46E7C3DD.8020003-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Avi Kivity @ 2007-09-12 10:47 UTC (permalink / raw)
  To: Miguel Araujo; +Cc: lista kvm-devel

Miguel Araujo wrote:
> Hello all,
>
> I have recently compiled kvm-36 in my Ubuntu Desktop 7.04 64 bits 
> running 2.6.22. I can load the AMD module without problems. The issue 
> started when I tried to install OpenBSD 4.1 on a Virtual Machine and It 
> could not manage to write the MBR on disk. That should not happen. I 
> also tried to install an Ubuntu desktop and server machines 32 bits and 
> both of them got stuck on installation when configuring fdutils, I have 
> no idea why this happens.
>
> Eventually I get to install a Debian netinstall with the most basic 
> configuration and it worked. These are the tests I have made. By the way 
> I checked that the Ubuntu machines did write in my 4G feisty.img file.
>
> Is anyone having problems with AMD64 and 2.6.22 kernels? Has anyone a 
> hint about what could I do to get these machines running?
>
>   

What was the last kvm version where this worked correctly?

-- 
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] 9+ messages in thread

* Re: KVM behaves weird on AMD64
       [not found]     ` <46E7C3DD.8020003-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-09-12 11:03       ` Miguel Araujo
       [not found]         ` <46E7C79E.9070409-l9cVusCFpiBeoWH0uzbU5w@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Miguel Araujo @ 2007-09-12 11:03 UTC (permalink / raw)
  To: Avi Kivity; +Cc: lista kvm-devel

Avi Kivity escribió:
> Miguel Araujo wrote:
>> Hello all,
>>
>> I have recently compiled kvm-36 in my Ubuntu Desktop 7.04 64 bits 
>> running 2.6.22. I can load the AMD module without problems. The issue 
>> started when I tried to install OpenBSD 4.1 on a Virtual Machine and 
>> It could not manage to write the MBR on disk. That should not happen. 
>> I also tried to install an Ubuntu desktop and server machines 32 bits 
>> and both of them got stuck on installation when configuring fdutils, 
>> I have no idea why this happens.
>>
>> Eventually I get to install a Debian netinstall with the most basic 
>> configuration and it worked. These are the tests I have made. By the 
>> way I checked that the Ubuntu machines did write in my 4G feisty.img 
>> file.
>>
>> Is anyone having problems with AMD64 and 2.6.22 kernels? Has anyone a 
>> hint about what could I do to get these machines running?
>>
>>   
>
> What was the last kvm version where this worked correctly?
>

I'm using two machines for testing KVM. In machine "A" KVM worked good. 
This is a Feisty 7.04 32 bits with 2.6.20-16 Ubuntu standard kernel  
with kvm installed apt way.
The machine "B" is the one I have mentioned before and It's using a 
2.6.22 manually compiled kernel. It has been able to install only Debian 
netinstall. I would like to know if there is some kind of issue with kvm 
and this kernel or with AMD64.

Regards,

          Miguel

-------------------------------------------------------------------------
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] 9+ messages in thread

* Re: KVM behaves weird on AMD64
       [not found]         ` <46E7C79E.9070409-l9cVusCFpiBeoWH0uzbU5w@public.gmane.org>
@ 2007-09-12 11:14           ` Avi Kivity
       [not found]             ` <46E7CA21.9000201-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Avi Kivity @ 2007-09-12 11:14 UTC (permalink / raw)
  To: Miguel Araujo; +Cc: lista kvm-devel

Miguel Araujo wrote:
> Avi Kivity escribió:
>> Miguel Araujo wrote:
>>> Hello all,
>>>
>>> I have recently compiled kvm-36 in my Ubuntu Desktop 7.04 64 bits 
>>> running 2.6.22. I can load the AMD module without problems. The 
>>> issue started when I tried to install OpenBSD 4.1 on a Virtual 
>>> Machine and It could not manage to write the MBR on disk. That 
>>> should not happen. I also tried to install an Ubuntu desktop and 
>>> server machines 32 bits and both of them got stuck on installation 
>>> when configuring fdutils, I have no idea why this happens.
>>>
>>> Eventually I get to install a Debian netinstall with the most basic 
>>> configuration and it worked. These are the tests I have made. By the 
>>> way I checked that the Ubuntu machines did write in my 4G feisty.img 
>>> file.
>>>
>>> Is anyone having problems with AMD64 and 2.6.22 kernels? Has anyone 
>>> a hint about what could I do to get these machines running?
>>>
>>>   
>>
>> What was the last kvm version where this worked correctly?
>>
>
> I'm using two machines for testing KVM. In machine "A" KVM worked 
> good. This is a Feisty 7.04 32 bits with 2.6.20-16 Ubuntu standard 
> kernel  with kvm installed apt way.

Is this an Intel or an AMD machine?

> The machine "B" is the one I have mentioned before and It's using a 
> 2.6.22 manually compiled kernel. It has been able to install only 
> Debian netinstall. I would like to know if there is some kind of issue 
> with kvm and this kernel or with AMD64.
>
It doesn't seem to be related to the machine being AMD.  If you can 
provide an example where just one thing being different causes something 
to stop working, that would help us isolate the problem.  Examples can 
be the host kernel, host cpu type, or kvm version.

-- 
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] 9+ messages in thread

* Re: KVM behaves weird on AMD64
       [not found]             ` <46E7CA21.9000201-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-09-12 12:27               ` Miguel Araujo
  0 siblings, 0 replies; 9+ messages in thread
From: Miguel Araujo @ 2007-09-12 12:27 UTC (permalink / raw)
  To: Avi Kivity; +Cc: lista kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 2578 bytes --]

Thanks Avi for your quick response and interest.

Avi Kivity escribió:
> Miguel Araujo wrote:
>   
>> Avi Kivity escribió:
>>     
>>> Miguel Araujo wrote:
>>>       
>>>> Hello all,
>>>>
>>>> I have recently compiled kvm-36 in my Ubuntu Desktop 7.04 64 bits 
>>>> running 2.6.22. I can load the AMD module without problems. The 
>>>> issue started when I tried to install OpenBSD 4.1 on a Virtual 
>>>> Machine and It could not manage to write the MBR on disk. That 
>>>> should not happen. I also tried to install an Ubuntu desktop and 
>>>> server machines 32 bits and both of them got stuck on installation 
>>>> when configuring fdutils, I have no idea why this happens.
>>>>
>>>> Eventually I get to install a Debian netinstall with the most basic 
>>>> configuration and it worked. These are the tests I have made. By the 
>>>> way I checked that the Ubuntu machines did write in my 4G feisty.img 
>>>> file.
>>>>
>>>> Is anyone having problems with AMD64 and 2.6.22 kernels? Has anyone 
>>>> a hint about what could I do to get these machines running?
>>>>
>>>>   
>>>>         
>>> What was the last kvm version where this worked correctly?
>>>
>>>       
>> I'm using two machines for testing KVM. In machine "A" KVM worked 
>> good. This is a Feisty 7.04 32 bits with 2.6.20-16 Ubuntu standard 
>> kernel  with kvm installed apt way.
>>     
>
> Is this an Intel or an AMD machine?
>   
Intel - MacBook Pro
>   
>> The machine "B" is the one I have mentioned before and It's using a 
>> 2.6.22 manually compiled kernel. It has been able to install only 
>> Debian netinstall. I would like to know if there is some kind of issue 
>> with kvm and this kernel or with AMD64.
>>
>>     
> It doesn't seem to be related to the machine being AMD.  If you can 
> provide an example where just one thing being different causes something 
> to stop working, that would help us isolate the problem.  Examples can 
> be the host kernel, host cpu type, or kvm version.
>
>   
The problem is that KVM does not install any Operative System (I forgot 
to say that I also tried to Install Windows XP 32 bits) excepting Debian 
netinstall (and this seems to be stable, no errors prompted till today). 
Therefore, I'm not able to send you any other feedback than this.  Just 
saying fdutils makes it to get stuck in Ubuntu installation. How could I 
try to make KVM fail or prompt something? Could I launch kvm in "debug" 
mode?
Installation logs of these machines look like the normal ones.

Regards,

          Miguel

[-- Attachment #1.2: Type: text/html, Size: 3283 bytes --]

[-- 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] 9+ messages in thread

* Re: KVM behaves weird on AMD64
  2007-09-12 10:26 KVM behaves weird on AMD64 Miguel Araujo
       [not found] ` <46E7BEE3.8090203-l9cVusCFpiBeoWH0uzbU5w@public.gmane.org>
@ 2007-09-13 22:55 ` Tobias Brink
       [not found]   ` <87k5quyy3f.fsf-eMrnMapibgNxJOgadfisgdi2O/JbrIOy@public.gmane.org>
  1 sibling, 1 reply; 9+ messages in thread
From: Tobias Brink @ 2007-09-13 22:55 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Miguel Araujo <maraujo-l9cVusCFpiBeoWH0uzbU5w@public.gmane.org>
writes:

[snip]
> The issue started when I tried to install OpenBSD 4.1 on a Virtual
> Machine and It could not manage to write the MBR on disk. That
> should not happen.

I have a probably similar problem with OpenBSD 4.1 and kvm-37 and
kvm-39 (didn't have time to test any further versions).  Kernel is
2.6.22-gentoo-r5 and processor is Intel Core2 Quad.  I use the modules
from the unpatched (Gentoo) kernel.

I installed OpenBSD with vanilla qemu and it works perfectly but as
soon as I use kvm the OpenBSD kernel panics on boot with

  root on wd0a
  rootdev=0x0 rrootdev=0x300 rawdev=0x302
  panic: root filesystem has size 0

and then enters the debugger.  With -no-kvm it works as flawlessly as
in vanilla qemu.

I don't have much time at the moment but I'll try to find a working
kvm version.  If you need further information I'll see if I can
provide it as I'd really like to see OpenBSD working with kvm.

Greetings,
Tobias


-------------------------------------------------------------------------
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] 9+ messages in thread

* Re: KVM behaves weird on AMD64
       [not found]   ` <87k5quyy3f.fsf-eMrnMapibgNxJOgadfisgdi2O/JbrIOy@public.gmane.org>
@ 2007-09-30 10:59     ` Avi Kivity
  2007-09-30 11:41       ` Tobias Brink
  0 siblings, 1 reply; 9+ messages in thread
From: Avi Kivity @ 2007-09-30 10:59 UTC (permalink / raw)
  To: Tobias Brink; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Tobias Brink wrote:
> Miguel Araujo <maraujo-l9cVusCFpiBeoWH0uzbU5w@public.gmane.org>
> writes:
>
> [snip]
>   
>> The issue started when I tried to install OpenBSD 4.1 on a Virtual
>> Machine and It could not manage to write the MBR on disk. That
>> should not happen.
>>     
>
> I have a probably similar problem with OpenBSD 4.1 and kvm-37 and
> kvm-39 (didn't have time to test any further versions).  Kernel is
> 2.6.22-gentoo-r5 and processor is Intel Core2 Quad.  I use the modules
> from the unpatched (Gentoo) kernel.
>
> I installed OpenBSD with vanilla qemu and it works perfectly but as
> soon as I use kvm the OpenBSD kernel panics on boot with
>
>   root on wd0a
>   rootdev=0x0 rrootdev=0x300 rawdev=0x302
>   panic: root filesystem has size 0
>
> and then enters the debugger.  With -no-kvm it works as flawlessly as
> in vanilla qemu.
>
> I don't have much time at the moment but I'll try to find a working
> kvm version.  If you need further information I'll see if I can
> provide it as I'd really like to see OpenBSD working with kvm.
>   

I think this is fixed in the latest release.


-- 
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] 9+ messages in thread

* Re: KVM behaves weird on AMD64
  2007-09-30 10:59     ` Avi Kivity
@ 2007-09-30 11:41       ` Tobias Brink
       [not found]         ` <87myv4tm6j.fsf-eMrnMapibgNxJOgadfisgdi2O/JbrIOy@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Tobias Brink @ 2007-09-30 11:41 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> writes:

> Tobias Brink wrote:
>> I have a probably similar problem with OpenBSD 4.1 and kvm-37 and
>> kvm-39 (didn't have time to test any further versions).  Kernel is
>> 2.6.22-gentoo-r5 and processor is Intel Core2 Quad.  I use the modules
>> from the unpatched (Gentoo) kernel.
>>
>> I installed OpenBSD with vanilla qemu and it works perfectly but as
>> soon as I use kvm the OpenBSD kernel panics on boot with
>>
>>   root on wd0a
>>   rootdev=0x0 rrootdev=0x300 rawdev=0x302
>>   panic: root filesystem has size 0
>>
>> and then enters the debugger.  With -no-kvm it works as flawlessly as
>> in vanilla qemu.
>>
>> I don't have much time at the moment but I'll try to find a working
>> kvm version.  If you need further information I'll see if I can
>> provide it as I'd really like to see OpenBSD working with kvm.
>>   
>
> I think this is fixed in the latest release.

It is. Thank you very much. I'm now running OpenBSD 4.1 on kvm-43
without issues.

Greetings,
Tobias


-------------------------------------------------------------------------
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] 9+ messages in thread

* Re: KVM behaves weird on AMD64
       [not found]         ` <87myv4tm6j.fsf-eMrnMapibgNxJOgadfisgdi2O/JbrIOy@public.gmane.org>
@ 2007-10-01 11:48           ` Miguel Araujo
  0 siblings, 0 replies; 9+ messages in thread
From: Miguel Araujo @ 2007-10-01 11:48 UTC (permalink / raw)
  To: Tobias Brink; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


[-- Attachment #1.1: Type: text/plain, Size: 1764 bytes --]

Tobias Brink escribió:
> Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> writes:
>
>   
>> Tobias Brink wrote:
>>     
>>> I have a probably similar problem with OpenBSD 4.1 and kvm-37 and
>>> kvm-39 (didn't have time to test any further versions).  Kernel is
>>> 2.6.22-gentoo-r5 and processor is Intel Core2 Quad.  I use the modules
>>> from the unpatched (Gentoo) kernel.
>>>
>>> I installed OpenBSD with vanilla qemu and it works perfectly but as
>>> soon as I use kvm the OpenBSD kernel panics on boot with
>>>
>>>   root on wd0a
>>>   rootdev=0x0 rrootdev=0x300 rawdev=0x302
>>>   panic: root filesystem has size 0
>>>
>>> and then enters the debugger.  With -no-kvm it works as flawlessly as
>>> in vanilla qemu.
>>>
>>> I don't have much time at the moment but I'll try to find a working
>>> kvm version.  If you need further information I'll see if I can
>>> provide it as I'd really like to see OpenBSD working with kvm.
>>>   
>>>       
>> I think this is fixed in the latest release.
>>     
>
> It is. Thank you very much. I'm now running OpenBSD 4.1 on kvm-43
> without issues.
>
> Greetings,
> Tobias
>
>
> -------------------------------------------------------------------------
> 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
>   
It also solves my installation problem. Now OpenBSD 4.1 on kvm-44 is 
running perfect. Thank you very much for your help.

Regards,

       Miguel

[-- Attachment #1.2: Type: text/html, Size: 2595 bytes --]

[-- 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] 9+ messages in thread

end of thread, other threads:[~2007-10-01 11:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-12 10:26 KVM behaves weird on AMD64 Miguel Araujo
     [not found] ` <46E7BEE3.8090203-l9cVusCFpiBeoWH0uzbU5w@public.gmane.org>
2007-09-12 10:47   ` Avi Kivity
     [not found]     ` <46E7C3DD.8020003-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-12 11:03       ` Miguel Araujo
     [not found]         ` <46E7C79E.9070409-l9cVusCFpiBeoWH0uzbU5w@public.gmane.org>
2007-09-12 11:14           ` Avi Kivity
     [not found]             ` <46E7CA21.9000201-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-12 12:27               ` Miguel Araujo
2007-09-13 22:55 ` Tobias Brink
     [not found]   ` <87k5quyy3f.fsf-eMrnMapibgNxJOgadfisgdi2O/JbrIOy@public.gmane.org>
2007-09-30 10:59     ` Avi Kivity
2007-09-30 11:41       ` Tobias Brink
     [not found]         ` <87myv4tm6j.fsf-eMrnMapibgNxJOgadfisgdi2O/JbrIOy@public.gmane.org>
2007-10-01 11:48           ` Miguel Araujo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox