All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre CABROL PERALES <alexandre.cabrol@artal.fr>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: HVM and WIndows NT
Date: Fri, 07 Aug 2009 11:30:41 +0200	[thread overview]
Message-ID: <4A7BF441.4050302@artal.fr> (raw)
In-Reply-To: <4A7B0D81.8090806@artal.fr>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Qemu vgabios-cirrus support Windows NT since 0.6.0

I guess that there is a bug between xen and qemu-dm.

Cause winnt detect videocard , able to define display size.

And when the computer restart, at display size switch, xen crash with
below errors.

It seems that qemu cirrus vga device try to write on xenbus on wrong
adress.

Alexandre CABROL PERALES a écrit :
> Maybe critical point on stdvga=0 is in xend.log
> 
> [2009-08-06 19:39:53 4748] WARNING (image:495) domain winnt01: device
> model failure: pid 5858: died due to signal 8; see
> /var/log/xen/qemu-dm-winnt01.log
> [2009-08-06 19:39:53 4748] WARNING (XendDomainInfo:1877) Domain has
> crashed: name=winnt01 id=4.
> 
> line 3328
> 
> and in qemu-dm-winnt01.log
> 
> I/O request not ready: 0, ptr: 0, port: e9, data: 43, count: 1, size: 1
> vga s->lfb_addr = f1000000 s->lfb_end = f1400000
> 
> line 17
> 
> 
> Keir Fraser a écrit :
>> Attached.
> 
>>  K.
> 
>> On 06/08/2009 17:23, "Alexandre CABROL PERALES" <alexandre.cabrol@artal.fr>
>> wrote:
> 
>> how can i disable it ?
> 
>> can you send me a diff for xen/arch/x86/hvm/stdvga.c
> 
>> please.
> 
>> Keir Fraser a écrit :
>>>>> Try disabling the acceleration stuff in xen/arch/x86/hvm/stdvga.c. Should
>>>>> suffice to 'return;' before the for-loop in stdvga_init().
>>>>>
>>>>>  -- Keir
>>>>>
>>>>> On 06/08/2009 16:50, "Alexandre CABROL PERALES" <alexandre.cabrol@artal.fr>
>>>>> wrote:
>>>>>
>>>>> I just installed xen 3.4
>>>>> and now with stdvga=0
>>>>> when i try to resize screen resolution the Windows NT crash.
>>>>>
>>>>> Alexandre CABROL PERALES a écrit :
>>>>>>>> my main concern is :
>>>>>>>> i have to use windows nt in 1280x1024,
>>>>>>>> how can i reach this goal with xen 3.3 or upper?
>>>>>>>>
>>>>>>>> Seems there is a bug in Cirrus Video Card about screen resize.
>>>>>>>>
>>>>>>>> However there is no bug on this qemu emulation with kvm.
>>>>>>>>
>>>>>>>> So is there any way to patch qemu-dm video card emulator with current
>>>>>>>> qemu version?
>>>>>>>>
>>>>>>>> or what is the latest version of qemu used to dev qemu-dm?
>>>>>>>> I red a doc from 2007 which said that qemu-dm is based on qemu 8.
>>>>>>>>
>>>>>>>> is it still true?
>>>>>>>>
>>>>>>>> if not what is the base version of qemu used in qemu-dm for xen 3.3 and
>>>>>>>> xen 3.4 ?
>>>>>>>>
>>>>>>>> regards,
>>>>>>>>
>>>>>>>> mats petersson a écrit :
>>>>>>>>> A while (> 2 years ago), I'm sure I ran up Windows NT on Xen 3.0 or
>>>>>>>>> 3.1. But that was on an AMD processor, and it's highly likely that the
>>>>>>>>> BIOS / NT interaction  is broken in the Intel only "simulation of
>>>>>>>>> real-mode via vritual 8086 mode". The AMD processors support true Real
>>>>>>>>> Mode in Virtual machine mode.
>>>>>>>>>
>>>>>>>>> Of course, this may all have changed a huge amount, so do not rely on
>>>>>>>>> my information.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Mats
>>>>>>>>>
>>>>>>>>> 2009/8/6 Alexandre CABROL PERALES <alexandre.cabrol@artal.fr>:
>>>>>>>>> Hi everybody,
>>>>>>>>> i'm currently trying to run Windows NT 4.0 on Xen.
>>>>>>>>>
>>>>>>>>> I can install it with Xen 3.3 and CPUID below:
>>>>>>>>> # Intel(R) Pentium(R) 4 CPU
>>>>>>>>>
>>>>>>>>> cpuid = [
>>>>>>>>> '0x00000000:eax=0x00000002,ebx=0x756e6547,ecx=0x6c65746e,edx=0x49656e69',
>>>>>>>>>
>>>>>>>>> '0x00000001:eax=0x00000f12,ebx=0x00010808,ecx=0x00000000,edx=0x3febfbff',
>>>>>>>>>
>>>>>>>>> '0x00000002:eax=0x665b5001,ebx=0x00000000,ecx=0x00000000,edx=0x007a7040',
>>>>>>>>>
>>>>>>>>> '0x80000000:eax=0x80000004,ebx=0x00000000,ecx=0x00000000,edx=0x00000000',
>>>>>>>>>
>>>>>>>>> '0x80000001:eax=0x00000000,ebx=0x00000000,ecx=0x00000000,edx=0x00000000',
>>>>>>>>>
>>>>>>>>> '0x80000002:eax=0x20202020,ebx=0x20202020,ecx=0x20202020,edx=0x6e492020',
>>>>>>>>>
>>>>>>>>> '0x80000003:eax=0x286c6574,ebx=0x50202952,ecx=0x69746e65,edx=0x52286d75',
>>>>>>>>>
>>>>>>>>> '0x80000004:eax=0x20342029,ebx=0x20555043,ecx=0x30352e31,edx=0x007a4847',
>>>>>>>>>          ]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> But i have an issue with Video Card emulation of Xen 3.3.1 :
>>>>>>>>> when i use Cirrus Logic emulation,
>>>>>>>>> during display test the system crash with yellow or green screen.
>>>>>>>>>
>>>>>>>>> It seems that Cirrus emulation didn't support the resizing.
>>>>>>>>>
>>>>>>>>> If i try stdvga mode the videocard is not recognised by Windows NT.
>>>>>>>>>
>>>>>>>>> I tried on KVM and it works fine with cirrus logic emulation.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Is there any way to update qemu-dm with current qemu version ?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> regards,
>>>>>>>> _______________________________________________
>>>>>>>> Xen-devel mailing list
>>>>>>>> Xen-devel@lists.xensource.com
>>>>>>>> http://lists.xensource.com/xen-devel
>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Xen-devel mailing list
>>>>>>>>> Xen-devel@lists.xensource.com
>>>>>>>>> http://lists.xensource.com/xen-devel
>>>>>>>>> .
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
> 
>>>>> .
> 
>> ------------------------------------------------------------------------
> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

.


- --
Alexandre CABROL PERALES
- --
Ingenieur Securite des Systemes d'Information
Mob. :    06.98.82.03.06
Mail :    alexandre.cabrol@artal.fr
Key fingerprint = 1E6B B8DF 5001 A6A8 E057  9D31 7B3B EAB1 4AE4 8953
- --
ARTAL Technologies

Rue Pierre-Gilles de Gennes
Ens."La Rue", Bat. 9, BP 38138
31681 Labege cedex

Tel. :    05.61.00.39.30
Fax :     05.61.00.20.43


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkp79EEACgkQezvqsUrkiVMcUwCfQiRmYvk7EYdRKwpo7dW3La8F
i2gAnjPqrvkGR1MmrWGB5BtgsY9WAsh5
=/dy5
-----END PGP SIGNATURE-----

  reply	other threads:[~2009-08-07  9:30 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-06  9:57 HVM and WIndows NT Alexandre CABROL PERALES
2009-08-06 10:34 ` mats petersson
2009-08-06 15:14   ` Alexandre CABROL PERALES
2009-08-06 15:46     ` Keir Fraser
2009-08-06 15:50     ` Alexandre CABROL PERALES
2009-08-06 16:15       ` Keir Fraser
2009-08-06 16:23         ` Alexandre CABROL PERALES
2009-08-06 16:47           ` Keir Fraser
2009-08-06 17:06             ` Alexandre CABROL PERALES
2009-08-07  9:30               ` Alexandre CABROL PERALES [this message]
2009-08-07 10:38               ` Stefano Stabellini
2009-08-06 16:56       ` Alexandre CABROL PERALES
2009-08-07 11:27         ` Stefano Stabellini
2009-08-07 12:26           ` Alexandre CABROL PERALES
2009-08-07  9:56   ` Cui, Dexuan
2009-08-07  9:48 ` Cui, Dexuan
2009-08-07 10:12   ` Alexandre CABROL PERALES
2009-08-07 10:15   ` Alexandre CABROL PERALES
2009-08-07 16:18     ` Alexandre CABROL PERALES
2009-08-07 16:26       ` Stefano Stabellini
2009-08-07 17:27         ` Alexandre CABROL PERALES
2009-08-07 18:25           ` Alexandre CABROL PERALES
2009-08-07 21:36             ` Alexandre CABROL PERALES
2009-08-10  8:17               ` Alexandre CABROL PERALES
2009-08-10  9:05                 ` Stefano Stabellini
2009-08-10 18:59                   ` Alexandre CABROL PERALES
2009-08-10 19:51                     ` Alexandre CABROL PERALES
2009-08-10 21:03                       ` Keir Fraser
2009-08-11  6:20                         ` Alexandre CABROL PERALES

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A7BF441.4050302@artal.fr \
    --to=alexandre.cabrol@artal.fr \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.