From: Alexandre CABROL PERALES Subject: Re: HVM and WIndows NT Date: Thu, 06 Aug 2009 19:06:09 +0200 Message-ID: <4A7B0D81.8090806@artal.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Maybe critical point on stdvga=3D0 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=3Dwinnt01 id=3D4. 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 =3D f1000000 s->lfb_end =3D f1400000 line 17 Keir Fraser a =E9crit : > Attached. >=20 > K. >=20 > On 06/08/2009 17:23, "Alexandre CABROL PERALES" > wrote: >=20 > how can i disable it ? >=20 > can you send me a diff for xen/arch/x86/hvm/stdvga.c >=20 > please. >=20 > Keir Fraser a =E9crit : >>>> Try disabling the acceleration stuff in xen/arch/x86/hvm/stdvga.c. S= hould >>>> suffice to 'return;' before the for-loop in stdvga_init(). >>>> >>>> -- Keir >>>> >>>> On 06/08/2009 16:50, "Alexandre CABROL PERALES" >>>> wrote: >>>> >>>> I just installed xen 3.4 >>>> and now with stdvga=3D0 >>>> when i try to resize screen resolution the Windows NT crash. >>>> >>>> Alexandre CABROL PERALES a =E9crit : >>>>>>> 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 cur= rent >>>>>>> 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 =E9crit : >>>>>>>> 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 th= at the >>>>>>>> BIOS / NT interaction is broken in the Intel only "simulation o= f >>>>>>>> real-mode via vritual 8086 mode". The AMD processors support tru= e Real >>>>>>>> Mode in Virtual machine mode. >>>>>>>> >>>>>>>> Of course, this may all have changed a huge amount, so do not re= ly on >>>>>>>> my information. >>>>>>>> >>>>>>>> -- >>>>>>>> Mats >>>>>>>> >>>>>>>> 2009/8/6 Alexandre CABROL PERALES : >>>>>>>> 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 =3D [ >>>>>>>> '0x00000000:eax=3D0x00000002,ebx=3D0x756e6547,ecx=3D0x6c65746e,e= dx=3D0x49656e69', >>>>>>>> >>>>>>>> '0x00000001:eax=3D0x00000f12,ebx=3D0x00010808,ecx=3D0x00000000,e= dx=3D0x3febfbff', >>>>>>>> >>>>>>>> '0x00000002:eax=3D0x665b5001,ebx=3D0x00000000,ecx=3D0x00000000,e= dx=3D0x007a7040', >>>>>>>> >>>>>>>> '0x80000000:eax=3D0x80000004,ebx=3D0x00000000,ecx=3D0x00000000,e= dx=3D0x00000000', >>>>>>>> >>>>>>>> '0x80000001:eax=3D0x00000000,ebx=3D0x00000000,ecx=3D0x00000000,e= dx=3D0x00000000', >>>>>>>> >>>>>>>> '0x80000002:eax=3D0x20202020,ebx=3D0x20202020,ecx=3D0x20202020,e= dx=3D0x6e492020', >>>>>>>> >>>>>>>> '0x80000003:eax=3D0x286c6574,ebx=3D0x50202952,ecx=3D0x69746e65,e= dx=3D0x52286d75', >>>>>>>> >>>>>>>> '0x80000004:eax=3D0x20342029,ebx=3D0x20555043,ecx=3D0x30352e31,e= dx=3D0x007a4847', >>>>>>>> ] >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> 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 >=20 >>>> . >=20 > -----------------------------------------------------------------------= - > _______________________________________________ > 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 =3D 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 iEYEARECAAYFAkp7DYEACgkQezvqsUrkiVN5XACfZ/hJ7HtbW4yGbKAyrifyJIFf 9SsAnjoKG0msfoz10lMyq5F9C+kXvqvC =3D8Xok -----END PGP SIGNATURE-----