public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Bug in running kvm
@ 2007-12-12 16:04 avadh patel
       [not found] ` <c09e7eee0712120804h5276379do4dc7d47bfa90dd56-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: avadh patel @ 2007-12-12 16:04 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


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

Hello,

Yesterday I compiled and installed kvm-55 release and I am not able to get
it working.
When I try to run the qemu with following command:

  $ qemu-system-x86_64 -hda vdisk.img -cdrom ubuntu_7.10_32.iso -boot d -m
512

I got  some exception as shown below:

exception 13 (33)
rax 0000000000000469 rbx 0000000000800001 rcx 0000000000004300 rdx
0000000000000000
rsi 000000000005961d rdi 000000000005961c rsp 00000000fffaa9cc rbp
000000000000200c
r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11
0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15
0000000000000000
rip 000000000000b04b rflags 00033006
cs 4143 (00041430/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ds 4004 (00040040/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 4004 (00040040/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 3002 (00030020/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 (20c00000/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 40920/47
idt 0/ffff
cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
code: 0f 17 3e 28 08 02 28 3e 01 17 0f 17 46 28 08 02 28 0e 01 17 --> 0f 17
3e 28 08 02 28 5d 01 17 0f 28 08 02 28 5e 01 17 0f 17 3b 28 08 02 28 5f 01
17 0f 28
Aborted (core dumped)

And a core file is generated.

When i tried to see in the core file, the backtrace of function call is as
below:

#0  0x00002b46cd3fb765 in raise () from /lib/libc.so.6
#1  0x00002b46cd3fd1c0 in abort () from /lib/libc.so.6
#2  0x00000000004f2cd3 in kvm_run (kvm=0x2a47040, vcpu=0) at libkvm.c:938
#3  0x000000000048db96 in kvm_cpu_exec (env=0x53ce) at
/home/avadh/workspace/kvm-55/qemu/qemu-kvm.c:547
#4  0x000000000048e1ae in kvm_main_loop_cpu (env=0x2ae8680) at
/home/avadh/workspace/kvm-55/qemu/qemu-kvm.c:748
#5  0x000000000040dd27 in main_loop () at
/home/avadh/workspace/kvm-55/qemu/vl.c:7229
#6  0x000000000040fd03 in main (argc=1, argv=0x2) at
/home/avadh/workspace/kvm-55/qemu/vl.c:8966

In this, the interesting point is at #3, where the 'env' pointer's value is
different than its value in #4.

If I run the above command with '-no-kvm' option, it runs perfectly. So it
seems that there is some bug in kvm.

My machine specs are:
OS : Ubuntu 7.10 - 64 bit
Processor: Intel Core 2 Duo
Memory : 2G
Host Kernel : 2.6.22.14

Thanks,
Avadh

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

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

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

* Re: Bug in running kvm
       [not found] ` <c09e7eee0712120804h5276379do4dc7d47bfa90dd56-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-12-12 16:21   ` Anthony Liguori
       [not found]     ` <47600A9E.8040101-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
  2007-12-12 16:24   ` Dor Laor
  1 sibling, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2007-12-12 16:21 UTC (permalink / raw)
  To: avadh patel; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

avadh patel wrote:
> Hello,
>
> Yesterday I compiled and installed kvm-55 release and I am not able to 
> get it working.
> When I try to run the qemu with following command:
>
>   $ qemu-system-x86_64 -hda vdisk.img -cdrom ubuntu_7.10_32.iso -boot 
> d -m 512

This is a known bug in the version of gfxboot that Ubuntu uses.  
Unfortunately, the fix didn't make the cut for Gutsy.  It will be 
available starting with Hardy Tribe 2.

You can work around this bug by using gfxboot-disable[1] on the ISO.

http://hg.codemonkey.ws/gfxboot-disable

Regards,

Anthony Liguori

> I got  some exception as shown below:
>
> exception 13 (33)
> rax 0000000000000469 rbx 0000000000800001 rcx 0000000000004300 rdx 
> 0000000000000000
> rsi 000000000005961d rdi 000000000005961c rsp 00000000fffaa9cc rbp 
> 000000000000200c
> r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11 
> 0000000000000000
> r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 
> 0000000000000000
> rip 000000000000b04b rflags 00033006
> cs 4143 (00041430/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> ds 4004 (00040040/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> es 4004 (00040040/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 3002 (00030020/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 (20c00000/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 40920/47
> idt 0/ffff
> cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
> code: 0f 17 3e 28 08 02 28 3e 01 17 0f 17 46 28 08 02 28 0e 01 17 --> 
> 0f 17 3e 28 08 02 28 5d 01 17 0f 28 08 02 28 5e 01 17 0f 17 3b 28 08 
> 02 28 5f 01 17 0f 28
> Aborted (core dumped)
>
> And a core file is generated.
>
> When i tried to see in the core file, the backtrace of function call 
> is as below:
>
> #0  0x00002b46cd3fb765 in raise () from /lib/libc.so.6
> #1  0x00002b46cd3fd1c0 in abort () from /lib/libc.so.6
> #2  0x00000000004f2cd3 in kvm_run (kvm=0x2a47040, vcpu=0) at libkvm.c:938
> #3  0x000000000048db96 in kvm_cpu_exec (env=0x53ce) at 
> /home/avadh/workspace/kvm-55/qemu/qemu-kvm.c:547
> #4  0x000000000048e1ae in kvm_main_loop_cpu (env=0x2ae8680) at 
> /home/avadh/workspace/kvm-55/qemu/qemu- kvm.c:748
> #5  0x000000000040dd27 in main_loop () at 
> /home/avadh/workspace/kvm-55/qemu/vl.c:7229
> #6  0x000000000040fd03 in main (argc=1, argv=0x2) at 
> /home/avadh/workspace/kvm-55/qemu/vl.c:8966
>
> In this, the interesting point is at #3, where the 'env' pointer's 
> value is different than its value in #4.
>
> If I run the above command with '-no-kvm' option, it runs perfectly. 
> So it seems that there is some bug in kvm.
>
> My machine specs are:
> OS : Ubuntu 7.10 - 64 bit
> Processor: Intel Core 2 Duo
> Memory : 2G
> Host Kernel : 2.6.22.14 <http://2.6.22.14>
>
> Thanks,
> Avadh
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ------------------------------------------------------------------------
>
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>   


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

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

* Re: Bug in running kvm
       [not found] ` <c09e7eee0712120804h5276379do4dc7d47bfa90dd56-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2007-12-12 16:21   ` Anthony Liguori
@ 2007-12-12 16:24   ` Dor Laor
  1 sibling, 0 replies; 4+ messages in thread
From: Dor Laor @ 2007-12-12 16:24 UTC (permalink / raw)
  To: avadh patel; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

avadh patel wrote:
> Hello,
>
> Yesterday I compiled and installed kvm-55 release and I am not able to 
> get it working.
> When I try to run the qemu with following command:
>
>   $ qemu-system-x86_64 -hda vdisk.img -cdrom ubuntu_7.10_32.iso -boot 
> d -m 512
>
Please try with -no-kvm.
It is probably Intel's big real mode of the graphical boot splash.
If that the case please move to text boot loader and continue with kvm.
Regards,
Dor
> I got  some exception as shown below:
>
> exception 13 (33)
> rax 0000000000000469 rbx 0000000000800001 rcx 0000000000004300 rdx 
> 0000000000000000
> rsi 000000000005961d rdi 000000000005961c rsp 00000000fffaa9cc rbp 
> 000000000000200c
> r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11 
> 0000000000000000
> r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 
> 0000000000000000
> rip 000000000000b04b rflags 00033006
> cs 4143 (00041430/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> ds 4004 (00040040/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> es 4004 (00040040/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 3002 (00030020/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 (20c00000/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 40920/47
> idt 0/ffff
> cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
> code: 0f 17 3e 28 08 02 28 3e 01 17 0f 17 46 28 08 02 28 0e 01 17 --> 
> 0f 17 3e 28 08 02 28 5d 01 17 0f 28 08 02 28 5e 01 17 0f 17 3b 28 08 
> 02 28 5f 01 17 0f 28
> Aborted (core dumped)
>
> And a core file is generated.
>
> When i tried to see in the core file, the backtrace of function call 
> is as below:
>
> #0  0x00002b46cd3fb765 in raise () from /lib/libc.so.6
> #1  0x00002b46cd3fd1c0 in abort () from /lib/libc.so.6
> #2  0x00000000004f2cd3 in kvm_run (kvm=0x2a47040, vcpu=0) at libkvm.c:938
> #3  0x000000000048db96 in kvm_cpu_exec (env=0x53ce) at 
> /home/avadh/workspace/kvm-55/qemu/qemu-kvm.c:547
> #4  0x000000000048e1ae in kvm_main_loop_cpu (env=0x2ae8680) at 
> /home/avadh/workspace/kvm-55/qemu/qemu- kvm.c:748
> #5  0x000000000040dd27 in main_loop () at 
> /home/avadh/workspace/kvm-55/qemu/vl.c:7229
> #6  0x000000000040fd03 in main (argc=1, argv=0x2) at 
> /home/avadh/workspace/kvm-55/qemu/vl.c:8966
>
> In this, the interesting point is at #3, where the 'env' pointer's 
> value is different than its value in #4.
>
> If I run the above command with '-no-kvm' option, it runs perfectly. 
> So it seems that there is some bug in kvm.
>
> My machine specs are:
> OS : Ubuntu 7.10 - 64 bit
> Processor: Intel Core 2 Duo
> Memory : 2G
> Host Kernel : 2.6.22.14 <http://2.6.22.14>
>
> Thanks,
> Avadh


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

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

* Re: Bug in running kvm
       [not found]     ` <47600A9E.8040101-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
@ 2007-12-12 16:42       ` avadh patel
  0 siblings, 0 replies; 4+ messages in thread
From: avadh patel @ 2007-12-12 16:42 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


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

Thanks Anthony,

I used your gfxboot-disable, and it worked like charmed.

Thanks again.
- Avadh

On Dec 12, 2007 11:21 AM, Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org> wrote:

> avadh patel wrote:
> > Hello,
> >
> > Yesterday I compiled and installed kvm-55 release and I am not able to
> > get it working.
> > When I try to run the qemu with following command:
> >
> >   $ qemu-system-x86_64 -hda vdisk.img -cdrom ubuntu_7.10_32.iso -boot
> > d -m 512
>
> This is a known bug in the version of gfxboot that Ubuntu uses.
> Unfortunately, the fix didn't make the cut for Gutsy.  It will be
> available starting with Hardy Tribe 2.
>
> You can work around this bug by using gfxboot-disable[1] on the ISO.
>
> http://hg.codemonkey.ws/gfxboot-disable
>
> Regards,
>
> Anthony Liguori
>
> > I got  some exception as shown below:
> >
> > exception 13 (33)
> > rax 0000000000000469 rbx 0000000000800001 rcx 0000000000004300 rdx
> > 0000000000000000
> > rsi 000000000005961d rdi 000000000005961c rsp 00000000fffaa9cc rbp
> > 000000000000200c
> > r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11
> > 0000000000000000
> > r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15
> > 0000000000000000
> > rip 000000000000b04b rflags 00033006
> > cs 4143 (00041430/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> > ds 4004 (00040040/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
> > es 4004 (00040040/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 3002 (00030020/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 (20c00000/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 40920/47
> > idt 0/ffff
> > cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
> > code: 0f 17 3e 28 08 02 28 3e 01 17 0f 17 46 28 08 02 28 0e 01 17 -->
> > 0f 17 3e 28 08 02 28 5d 01 17 0f 28 08 02 28 5e 01 17 0f 17 3b 28 08
> > 02 28 5f 01 17 0f 28
> > Aborted (core dumped)
> >
> > And a core file is generated.
> >
> > When i tried to see in the core file, the backtrace of function call
> > is as below:
> >
> > #0  0x00002b46cd3fb765 in raise () from /lib/libc.so.6
> > #1  0x00002b46cd3fd1c0 in abort () from /lib/libc.so.6
> > #2  0x00000000004f2cd3 in kvm_run (kvm=0x2a47040, vcpu=0) at libkvm.c
> :938
> > #3  0x000000000048db96 in kvm_cpu_exec (env=0x53ce) at
> > /home/avadh/workspace/kvm-55/qemu/qemu-kvm.c:547
> > #4  0x000000000048e1ae in kvm_main_loop_cpu (env=0x2ae8680) at
> > /home/avadh/workspace/kvm-55/qemu/qemu- kvm.c:748
> > #5  0x000000000040dd27 in main_loop () at
> > /home/avadh/workspace/kvm-55/qemu/vl.c:7229
> > #6  0x000000000040fd03 in main (argc=1, argv=0x2) at
> > /home/avadh/workspace/kvm-55/qemu/vl.c:8966
> >
> > In this, the interesting point is at #3, where the 'env' pointer's
> > value is different than its value in #4.
> >
> > If I run the above command with '-no-kvm' option, it runs perfectly.
> > So it seems that there is some bug in kvm.
> >
> > My machine specs are:
> > OS : Ubuntu 7.10 - 64 bit
> > Processor: Intel Core 2 Duo
> > Memory : 2G
> > Host Kernel : 2.6.22.14 <http://2.6.22.14>
> >
> > Thanks,
> > Avadh
> > ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > SF.Net email is sponsored by:
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > kvm-devel mailing list
> > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/kvm-devel
> >
>
>

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

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

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

end of thread, other threads:[~2007-12-12 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 16:04 Bug in running kvm avadh patel
     [not found] ` <c09e7eee0712120804h5276379do4dc7d47bfa90dd56-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-12-12 16:21   ` Anthony Liguori
     [not found]     ` <47600A9E.8040101-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-12-12 16:42       ` avadh patel
2007-12-12 16:24   ` Dor Laor

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