public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM crashes when booting from Ubuntu ISO images.
@ 2008-03-25  9:18 Mohammed Gamal
  2008-03-25  9:58 ` Alexey Eremenko
  0 siblings, 1 reply; 7+ messages in thread
From: Mohammed Gamal @ 2008-03-25  9:18 UTC (permalink / raw)
  To: kvm-devel

Hello Everyone,
I was trying to install Ubuntu on a VM and tried to boot the
installation directly from the ISO image, doing that KVM crashes
giving this output:
----------------------------------------------
exception 0 (0)
rax 0000000000000053 rbx 0000000000000080 rcx 0000000000000031 rdx
0000000000000080
rsi 00000000ffff004c rdi 000000000008ff53 rsp 0000000000000000 rbp
0000000000000000
r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11
0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15
0000000000000000
rip 000000000000fce2 rflags 00033217
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 (08850000/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 fa580/30
idt 0/3ff
cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
code: f6 fc 1c 43 d5 03 3d 00 d4 03 00 c0 b7 01 00 00 d5 03 08 fd 1c
43 d5 03 3e 00 d4 03 00 c0
--------------------------

Is this caused by KVM not supporting real mode on Intel hosts, or is
it caused by some other reason?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: KVM crashes when booting from Ubuntu ISO images.
  2008-03-25  9:18 KVM crashes when booting from Ubuntu ISO images Mohammed Gamal
@ 2008-03-25  9:58 ` Alexey Eremenko
  2008-03-25 10:35   ` Mohammed Gamal
  0 siblings, 1 reply; 7+ messages in thread
From: Alexey Eremenko @ 2008-03-25  9:58 UTC (permalink / raw)
  To: Mohammed Gamal, kvm-devel


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


>Is this caused by KVM not supporting real mode on Intel hosts, or is it caused by some other reason?

Yes, it is correct. Ubuntu 7.04/7.10 won't work anytime soon.

There are few workarounds:
1. use text-mode bootloader
2. use special patches for KVM (not included in mainline, but in Alexander Graf's tree)
  (this is ugly hack, so it was not accepted into mainline KVM)
3. use special patches for Graphical GFX GRUB

But do not worry; newer Linux operating systems 2008 fix this problem with solution #3.
i.e. openSUSE 11.x and Ubuntu 8.x won't have this problem (tested with several Alphas)

-Alexey "Technologov", Qumranet QA Team Member

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

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: KVM crashes when booting from Ubuntu ISO images.
  2008-03-25  9:58 ` Alexey Eremenko
@ 2008-03-25 10:35   ` Mohammed Gamal
  2008-03-25 10:41     ` Alexey Eremenko
  2008-03-25 11:23     ` Dor Laor
  0 siblings, 2 replies; 7+ messages in thread
From: Mohammed Gamal @ 2008-03-25 10:35 UTC (permalink / raw)
  To: Alexey Eremenko; +Cc: kvm-devel

On Tue, Mar 25, 2008 at 11:58 AM, Alexey Eremenko
<alexey.eremenko@qumranet.com> wrote:
>
>
>
>
> >Is this caused by KVM not supporting real mode on Intel hosts, or is it
> caused by some other reason?
>
>  Yes, it is correct. Ubuntu 7.04/7.10 won't work anytime soon.
>
>  There are few workarounds:
>  1. use text-mode bootloader
>  2. use special patches for KVM (not included in mainline, but in Alexander
> Graf's tree)
>    (this is ugly hack, so it was not accepted into mainline KVM)
>  3. use special patches for Graphical GFX GRUB

Any pointers to where I can get these patches.

Thanks,
Mohammed

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: KVM crashes when booting from Ubuntu ISO images.
  2008-03-25 10:35   ` Mohammed Gamal
@ 2008-03-25 10:41     ` Alexey Eremenko
  2008-03-25 11:23     ` Dor Laor
  1 sibling, 0 replies; 7+ messages in thread
From: Alexey Eremenko @ 2008-03-25 10:41 UTC (permalink / raw)
  To: Mohammed Gamal; +Cc: kvm-devel


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

Solution #2 patches:
>Any pointers to where I can get these patches.

http://packages.opensuse-community.org/
http://download.opensuse.org/repositories/home:/algraf/openSUSE_10.3/src/

Get the src.RPM, and extract patches from it.

Not sure about solution #3 patches.

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

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: KVM crashes when booting from Ubuntu ISO images.
  2008-03-25 10:35   ` Mohammed Gamal
  2008-03-25 10:41     ` Alexey Eremenko
@ 2008-03-25 11:23     ` Dor Laor
  2008-03-25 12:47       ` Mohammed Gamal
  1 sibling, 1 reply; 7+ messages in thread
From: Dor Laor @ 2008-03-25 11:23 UTC (permalink / raw)
  To: Mohammed Gamal; +Cc: Alexey Eremenko, kvm-devel


On Tue, 2008-03-25 at 12:35 +0200, Mohammed Gamal wrote:
> On Tue, Mar 25, 2008 at 11:58 AM, Alexey Eremenko
> <alexey.eremenko@qumranet.com> wrote:
> >
> >
> >
> >
> > >Is this caused by KVM not supporting real mode on Intel hosts, or is it
> > caused by some other reason?
> >
> >  Yes, it is correct. Ubuntu 7.04/7.10 won't work anytime soon.
> >
> >  There are few workarounds:
> >  1. use text-mode bootloader
> >  2. use special patches for KVM (not included in mainline, but in Alexander
> > Graf's tree)
> >    (this is ugly hack, so it was not accepted into mainline KVM)
> >  3. use special patches for Graphical GFX GRUB
> 
> Any pointers to where I can get these patches.
> 

Get http://codemonkey.ws/gfxboot-disable/ and run it on a copy of the
iso image. It automatically switches to text mode.
btw: the problem is not Ubuntu but KVM over Intel, not being able to
cope with big real mode.

> Thanks,
> Mohammed
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: KVM crashes when booting from Ubuntu ISO images.
  2008-03-25 11:23     ` Dor Laor
@ 2008-03-25 12:47       ` Mohammed Gamal
  2008-03-25 12:55         ` Dor Laor
  0 siblings, 1 reply; 7+ messages in thread
From: Mohammed Gamal @ 2008-03-25 12:47 UTC (permalink / raw)
  To: dor.laor; +Cc: Alexey Eremenko, kvm-devel

On Tue, Mar 25, 2008 at 1:23 PM, Dor Laor <dor.laor@gmail.com> wrote:
>
>
>  On Tue, 2008-03-25 at 12:35 +0200, Mohammed Gamal wrote:
>  > On Tue, Mar 25, 2008 at 11:58 AM, Alexey Eremenko
>  > <alexey.eremenko@qumranet.com> wrote:
>  > >
>  > >
>  > >
>  > >
>  > > >Is this caused by KVM not supporting real mode on Intel hosts, or is it
>  > > caused by some other reason?
>  > >
>  > >  Yes, it is correct. Ubuntu 7.04/7.10 won't work anytime soon.
>  > >
>  > >  There are few workarounds:
>  > >  1. use text-mode bootloader
>  > >  2. use special patches for KVM (not included in mainline, but in Alexander
>  > > Graf's tree)
>  > >    (this is ugly hack, so it was not accepted into mainline KVM)
>  > >  3. use special patches for Graphical GFX GRUB
>  >
>  > Any pointers to where I can get these patches.
>  >
>
>  Get http://codemonkey.ws/gfxboot-disable/ and run it on a copy of the
>  iso image. It automatically switches to text mode.
>  btw: the problem is not Ubuntu but KVM over Intel, not being able to
>  cope with big real mode.
>
>  > Thanks,
>  > Mohammed
>  >
>  > -------------------------------------------------------------------------
>  > This SF.net email is sponsored by: Microsoft
>  > Defy all challenges. Microsoft(R) Visual Studio 2008.
>  > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  > _______________________________________________
>  > kvm-devel mailing list
>  > kvm-devel@lists.sourceforge.net
>  > https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
>

Thanks Dor. I was also facing another issue. I installed MINIX and
GNU/HURD on other VMs, and when I try to boot from their harddisk
images I get a similar message (but with a different exception number)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: KVM crashes when booting from Ubuntu ISO images.
  2008-03-25 12:47       ` Mohammed Gamal
@ 2008-03-25 12:55         ` Dor Laor
  0 siblings, 0 replies; 7+ messages in thread
From: Dor Laor @ 2008-03-25 12:55 UTC (permalink / raw)
  To: Mohammed Gamal; +Cc: Alexey Eremenko, kvm-devel


> Thanks Dor. I was also facing another issue. I installed MINIX and
> GNU/HURD on other VMs, and when I try to boot from their harddisk
> images I get a similar message (but with a different exception number)

That's probably another problem.
I didn't see it in the
http://kvm.qumranet.com/kvmwiki/Guest_Support_Status

Please post the kvm version and the errors you get.
Did you try running it with -no-kvm?


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-03-25 12:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-25  9:18 KVM crashes when booting from Ubuntu ISO images Mohammed Gamal
2008-03-25  9:58 ` Alexey Eremenko
2008-03-25 10:35   ` Mohammed Gamal
2008-03-25 10:41     ` Alexey Eremenko
2008-03-25 11:23     ` Dor Laor
2008-03-25 12:47       ` Mohammed Gamal
2008-03-25 12:55         ` Dor Laor

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