On Wed, May 14, 2008 at 10:29 AM, Guillaume Thouvenin
<[EMAIL PROTECTED]> wrote:
> On Tue, 6 May 2008 20:05:39 +0300
> "Mohammed Gamal" <[EMAIL PROTECTED]> wrote:
>
>
>> > > > WinXP fails with the patch applied too. Ubuntu 7.10 live CD and
>> > > > FreeDOS don't boot but complain about instruction mov 0x11,sreg not
>> > > > being emulated.
>
> Mohammed, can you try the patch at the end of this mail? Here it's
> working with FreeDOS now (I added the emulation of 0x90 that is an xchg
> instruction). I can also boot winXP Professional X64 edition. I still
> have a weird issue with Ubuntu 7.10 that crashes sometimes with the
> error:
>
> kvm_run: failed entry, reason 5
> kvm_run returned -8
>
> It's a little bit strange because this error appears very often with
> the wmii window manager but never with XFCE. And with wmii, it only
> occurs when I move the mouse above the Qemu/KVM window. If I wait 30s
> until the automatic boot it works...
>
> So to give a summary, on my box:
>
>  OpensSuse 10.3 -> OK
>  WinXP Pro X64  -> OK
>  FreeDOS        -> OK
>  Ubuntu 7.10    -> NOK
>
> Regards,
> Guillaume
>


On Wed, May 14, 2008 at 10:29 AM, Guillaume Thouvenin
<[EMAIL PROTECTED]> wrote:
> On Tue, 6 May 2008 20:05:39 +0300
> "Mohammed Gamal" <[EMAIL PROTECTED]> wrote:
>
>
>> > > > WinXP fails with the patch applied too. Ubuntu 7.10 live CD and
>> > > > FreeDOS don't boot but complain about instruction mov 0x11,sreg not
>> > > > being emulated.
>
> Mohammed, can you try the patch at the end of this mail? Here it's
> working with FreeDOS now (I added the emulation of 0x90 that is an xchg
> instruction). I can also boot winXP Professional X64 edition. I still
> have a weird issue with Ubuntu 7.10 that crashes sometimes with the
> error:
>
> kvm_run: failed entry, reason 5
> kvm_run returned -8
>
> It's a little bit strange because this error appears very often with
> the wmii window manager but never with XFCE. And with wmii, it only
> occurs when I move the mouse above the Qemu/KVM window. If I wait 30s
> until the automatic boot it works...
>
> So to give a summary, on my box:
>
>  OpensSuse 10.3 -> OK
>  WinXP Pro X64  -> OK
>  FreeDOS        -> OK
>  Ubuntu 7.10    -> NOK
>
> Regards,
> Guillaume
>

Hi Guillaume,
I still haven't applied the patch you sent now. However I'm using the
patch you last sent me (it's attached in case anyone wants to have a
look). I'm having the same problem with Ubuntu 7.10 Live CD under
GNOME.
Regarding WinXP, I'm using 32-bit WinXP Pro and it crashes with this error:

unhandled vm exit: 0x21 vcpu_id 0
rax 0000000000000011 rbx 00000000000014fc rcx 000000000000ffff rdx
00000000534d0000
rsi 00000000ffff1d68 rdi 000000000008164f rsp 00000000000014fa rbp
0000000000001522
r8  0000000000000000 r9  0000000000000000 r10 0000000000000000 r11
0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15
0000000000000000
rip 0000000000000269 rflags 00010006
cs 2000 (00020000/0000ffff p 1 dpl 0 db 0 s 1 type b l 0 g 0 avl 0)
ds 22f3 (00022f30/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 1 type 3 l 0 g 0 avl 0)
ss 22f3 (00022f30/0000ffff p 1 dpl 0 db 0 s 1 type 3 l 0 g 0 avl 0)
fs 0030 (00000300/0000ffff p 1 dpl 0 db 0 s 1 type 3 l 0 g 0 avl 0)
gs 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 1 type 3 l 0 g 0 avl 0)
tr 0000 (00000000/0000ffff 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 17000/3ff
idt 17400/7ff
cr0 11 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
Aborted

and dmesg outputs this:
emulation failed (vmentry failure) rip 269 68 6d 02 cb

The output is the same on every run.

I'll give this patch (and Marcello's) a try and report on what happens.

Attachment: real_mode_support_20080605.patch
Description: application/mbox

-------------------------------------------------------------------------
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

Reply via email to