WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] HVM and WIndows NT

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] HVM and WIndows NT
From: Alexandre CABROL PERALES <alexandre.cabrol@xxxxxxxx>
Date: Fri, 07 Aug 2009 11:30:41 +0200
Delivery-date: Fri, 07 Aug 2009 02:31:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A7B0D81.8090806@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Artal Technologies
References: <C6A0C7D1.11868%keir.fraser@xxxxxxxxxxxxx> <4A7B0D81.8090806@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (X11/20090515)
-----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@xxxxxxxx>
>> 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@xxxxxxxx>
>>>>> 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@xxxxxxxx>:
>>>>>>>>> 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@xxxxxxxxxxxxxxxxxxx
>>>>>>>> http://lists.xensource.com/xen-devel
>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Xen-devel mailing list
>>>>>>>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>>>>>>> http://lists.xensource.com/xen-devel
>>>>>>>>> .
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
> 
>>>>> .
> 
>> ------------------------------------------------------------------------
> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
> 

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

.


- --
Alexandre CABROL PERALES
- --
Ingenieur Securite des Systemes d'Information
Mob. :    06.98.82.03.06
Mail :    alexandre.cabrol@xxxxxxxx
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-----

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

<Prev in Thread] Current Thread [Next in Thread>