public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Qemu crashes when running kvm-20/21 as module in kernel 2.6.21
@ 2007-04-29  3:53 Joachim Sehlstedt
       [not found] ` <463416D0.1060409-9vS0mM7aF7t7IPQBc1WrhQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Joachim Sehlstedt @ 2007-04-29  3:53 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uti2KpX7p8Fi

Hi,

First I tried kvm build into the kernel, 2.6.21, togeather with kvm-17, 
no problem at all, except that qemu shuts down when I do a reboot in the 
guest os. Is there any fix for that btw, guest os is Linux Slackware 
11.0 with kernel 2.6.21?

After that I tried upgrading to kvm-21, removing kvm from the kernel. 
Now qemu crashes on startup, but works if I use the -no-kvm switch, also 
tried kvm-20 with same problem. I get no error when I load the modules 
so I assume they load just fine.

lsmod:
Module                  Size  Used by
kvm_intel              19596  0
kvm                    60592  1 kvm_intel

CPU: Intel Core 2 CPU
OS: Linux Slackware 10.2
Kernel: 2.6.21
GCC: 3.4.6
QEMU: /usr/local/kvm/bin/qemu -m 256 -hda hda.img -vnc 10.0.0.1:1
ERROR
exception 13 (0)
rax 000000000000f001 rbx 000000000000d6f3 rcx 0000000000000001 rdx 
0000000000000000
rsi 00000000ffff004c rdi 000000000004f7f4 rsp 000000000000ffb8 rbp 
000000000000ffcc
r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11 
0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 
0000000000000000
rip 0000000000000a45 rflags 00033002
ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 07c0 (00007c00/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 (10850000/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 fa4e4/30
idt 0/3ff
cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
Aborted

Here is the backtrace from gdb
#0  0xb7d0e027 in raise () from /lib/tls/libc.so.6
#1  0xb7d0f747 in abort () from /lib/tls/libc.so.6
#2  0x081154e1 in kvm_run (kvm=0x9b2d008, vcpu=0) at kvmctl.c:746
#3  0x080cbfb2 in kvm_cpu_exec (env=0x0) at 
/root/kvm/kvm-21/qemu/qemu-kvm.c:467
#4  0x080cd39a in cpu_x86_exec (env1=0x6) at 
/root/kvm/kvm-21/qemu/cpu-exec.c:411
#5  0x08052ba8 in main_loop () at /root/kvm/kvm-21/qemu/vl.c:6272

Am I doing something wrong?

greetings
JS

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

* Re: Qemu crashes when running kvm-20/21 as module in kernel 2.6.21
       [not found] ` <463416D0.1060409-9vS0mM7aF7t7IPQBc1WrhQ@public.gmane.org>
@ 2007-04-29  8:08   ` Avi Kivity
       [not found]     ` <4634527F.7000806-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Avi Kivity @ 2007-04-29  8:08 UTC (permalink / raw)
  To: uk-9vS0mM7aF7t7IPQBc1WrhQ; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Joachim Sehlstedt wrote:
> Hi,
>
> First I tried kvm build into the kernel, 2.6.21, togeather with kvm-17, 
> no problem at all, except that qemu shuts down when I do a reboot in the 
> guest os. Is there any fix for that btw, guest os is Linux Slackware 
> 11.0 with kernel 2.6.21?
>   

That's a known problem.  A fix will be available eventually, but it will 
take some time.

> After that I tried upgrading to kvm-21, removing kvm from the kernel. 
> Now qemu crashes on startup, but works if I use the -no-kvm switch, also 
> tried kvm-20 with same problem. I get no error when I load the modules 
> so I assume they load just fine.
>
>   

[...]

> Am I doing something wrong?
>   

If the image is not too huge, and if it contains no private information, 
can you post it somewhere for me to download?  I'll have a look.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

* Re: Qemu crashes when running kvm-20/21 as module in kernel 2.6.21
       [not found]     ` <4634527F.7000806-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-04-29 10:28       ` Joachim Sehlstedt
  0 siblings, 0 replies; 3+ messages in thread
From: Joachim Sehlstedt @ 2007-04-29 10:28 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uti2KpX7p8Fi

I was a bit quick and deleted it. Forgot to mention that the disk image 
at some point magically got converted to raw format, from cow. Maybe it 
got corrupted when I convert it to qcow2 or by qemu itself.

This makes sence since if you try to boot qemu with a empty disk image 
you get the same crash.

greetings
JS

Avi Kivity wrote:
>
> [...]
>
> If the image is not too huge, and if it contains no private 
> information, can you post it somewhere for me to download?  I'll have 
> a look.
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

end of thread, other threads:[~2007-04-29 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-29  3:53 Qemu crashes when running kvm-20/21 as module in kernel 2.6.21 Joachim Sehlstedt
     [not found] ` <463416D0.1060409-9vS0mM7aF7t7IPQBc1WrhQ@public.gmane.org>
2007-04-29  8:08   ` Avi Kivity
     [not found]     ` <4634527F.7000806-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-29 10:28       ` Joachim Sehlstedt

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