From mboxrd@z Thu Jan 1 00:00:00 1970 From: Weidong Han Subject: Re: [Xen-users] Re: Requesting Assistance from Intel Engineers on Intel Integrated Graphics (IGD) VGA Passthrough for Xen 4.0.1-RELEASE and pv-ops dom0 kernel 2.6.32.x Date: Tue, 14 Sep 2010 21:05:07 +0800 Message-ID: <4C8F7303.1050806@intel.com> References: <4C8B1A46.7010609@gmail.com> <20100911102129.GZ2804@reaktio.net><4C8B698C.8000308@gmail.com> <4C8B9D95.7070701@gmail.com> <4C8D84AC.5@gmail.com> <4C8EFF53.1050200@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4C8EFF53.1050200@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "space.time.universe@gmail.com" Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , "zhang_enming@lavabit.com" , "teoenming@hotmail.com" , Konrad Rzeszutek Wilk , "Ian.Pratt@eu.citrix.com" , James Harper , "xen-users@lists.xensource.com" , =?UTF-8?B?UGFzaSBLw6Ryaw==?= List-Id: xen-devel@lists.xenproject.org Hi En Ming, Per the screenshot images, IGD passthru looks fine. In my experience, if=20 you can load the driver for IGD, it should work. I remember you passthru IGD successfully before. Are you using the same=20 platform and image? I took a look at your config files post in Aug. I noticed a line "memory=20 =3D 3072" in hvm config file. It's weird to specify this memory size. Pls= =20 change it to reasonable memory size, such as 1024, 2048, etc. Regards, Weidong Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 of Singapore w= rote: > Dear James Harper, > > I had Xen GPL PV drivers uninstalled but the system was still very unst= able. > > -- > Yours sincerely, > > Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 Dip(Mechatro= nics) BEng(Hons)(Mechanical Engineering) > Citizenship: Singapore Citizen/Singaporean > Facebook account: Teo En Ming (Zhang Enming) > Facebook link: http://www.facebook.com/profile.php?id=3D100000750083982 > Facebook photos: http://www.facebook.com/profile.php?id=3D1000007500839= 82#!/profile.php?id=3D100000750083982&v=3Dphotos > Facebook videos: http://www.facebook.com/profile.php?id=3D1000007500839= 82&v=3Dapp_2392950137 > Mobile Phone (Starhub pre-paid): +65-8369-2618 > Windows Live Messenger: teoenming-at-hotmail.com > Location: Bedok Reservoir Road, Singapore > ZIP: 470103 > My Open Letter (Plea for Medical Help/Assistance) to World Leaders (Upd= ated 28 August 2010):- > http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.htm= l > http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html > http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c0= 7335.xml > Photo of Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 of = Singapore: http://www.glowfoto.com/viewimage.php?y=3D2010&m=3D09&img=3D13= -232647L&t=3Djpg&rand=3D5406&srv=3Dimg4 > > > > > On 09/14/2010 07:25 AM, James Harper wrote: > =20 >> Can you try it on a machine that has never had gplpv installed? That '= Xen pci device #0' device looks like GPLPV is trying to handle the PCI pa= ssthrough, which it shouldn't. >> >> James >> >> >> =20 >>> -----Original Message----- >>> From: xen-users-bounces@lists.xensource.com [mailto:xen-users- >>> bounces@lists.xensource.com] On Behalf Of "Mr. Teo En Ming (Zhang Enm= ing) ??? >>> of Singapore" >>> Sent: Monday, 13 September 2010 11:56 >>> To: Pasi K=C3=A4rkk=C3=A4inen; xen-devel@lists.xensource.com; xen- >>> users@lists.xensource.com; Han, Weidong; Jeremy Fitzhardinge; Konrad = Rzeszutek >>> Wilk; Ian.Pratt@eu.citrix.com >>> Cc: space.time.universe@gmail.com; zhang_enming@lavabit.com; >>> teoenming@hotmail.com >>> Subject: [Xen-users] Re: [Xen-devel] Requesting Assistance from Intel >>> Engineers on Intel Integrated Graphics (IGD) VGA Passthrough for Xen = 4.0.1- >>> RELEASE and pv-ops dom0 kernel 2.6.32.x >>> >>> ( EDIT: In case my email attachments are too big, I have uploaded my >>> screenshots to image sharing sites. >>> >>> Here are the links: >>> >>> (1) http://img684.imageshack.us/img684/9672/inteligdvgapassthroughw.j= pg >>> >>> (2) http://i55.tinypic.com/23jhe0o.jpg >>> >>> (3) http://imgur.com/92D5s.jpg ) >>> >>> Dear All, >>> >>> I have barely managed to install Intel Graphics Media Accelerator (GM= A) >>> Drivers because the system is unstable and Windows XP Home Edition HV= M domU >>> keeps crashing with a BSOD after a short while. I have attached three >>> screenshots of the Device Manager in this email. You may refer to the= se >>> screenshots (JPEG images). These screenshots indicate that Intel inte= grated >>> graphics (IGD) VGA passthrough with Xen 4.0.1-RELEASE and pv-ops dom0= kernel >>> 2.6.32.21 is successful (albeit the system is very unstable). >>> >>> I have also uninstalled an older version of Xen GPL PV drivers for Wi= ndows XP >>> and installed gplpv_XP_0.11.0.213_debug.msi. >>> >>> At the moment, the system is very unstable and Windows XP HVM domU ke= eps >>> crashing with a BSOD after a short while. It also takes at least thre= e minutes >>> for Windows XP HVM domU to start booting after the "xm create" comman= d is >>> executed. Sometimes, Windows XP HVM domU may not even start after the= "xm >>> create" command is executed, so I will just have to keep rebooting. >>> >>> I have tried memtest86 scan with 2 passes and the test results indica= te that >>> there are no hardware memory errors. I have also performed a bad sect= or scan >>> in Windows XP HVM domU and the results are negative. >>> >>> >>> -- >>> Yours sincerely, >>> >>> Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 Dip(Mechat= ronics) BEng(Hons)(Mechanical >>> Engineering) >>> Citizenship: Singapore Citizen/Singaporean >>> Facebook account: Teo En Ming (Zhang Enming) >>> Facebook link: http://www.facebook.com/profile.php?id=3D1000007500839= 82 >>> Facebook photos: >>> http://www.facebook.com/profile.php?id=3D100000750083982#!/profile.ph= p?id=3D100000 >>> 750083982&v=3Dphotos >>> >> 000750083982&v=3Dphotos> >>> Facebook videos: >>> http://www.facebook.com/profile.php?id=3D100000750083982&v=3Dapp_2392= 950137 >>> Mobile Phone (Starhub pre-paid): +65-8369-2618 >>> Windows Live Messenger: teoenming-at-hotmail.com >>> Location: Bedok Reservoir Road, Singapore >>> ZIP: 470103 >>> My Open Letter (Plea for Medical Help/Assistance) to World Leaders:- >>> http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.h= tml >>> http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html >>> http://archives.gentoo.org/gentoo- >>> user/msg_f6a341d9623fda17880159b137c07335.xml >>> Photo of Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 o= f Singapore: >>> http://img825.imageshack.us/img825/5052/mrteoenmingzhangenmingo.jpg >>> >>> >>> On 09/11/2010 11:17 PM, "Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81= =A9=E9=B8=A3 of Singapore" >>> wrote: >>> >>> Dear Pasi, Intel engineers, and Xen developers, >>> >>> I have just made and uploaded a video to Youtube. The length of = the >>> video is only 1 minute and 37 seconds. The video demonstrates the suc= cessful >>> bootup of Windows XP Home Edition HVM domU/virtual machine, indicatin= g an >>> initial successful Intel integrated graphics (IGD) VGA passthrough, a= nd >>> followed by a BSOD shortly thereafter. The error in the BSOD is >>> "IRQL_NOT_LESS_OR_EQUAL >>> >> F%2Fwww.tweaksforgeeks.com%2FIRQL_NOT_LESS_OR_EQUAL.html&ei=3DVpuLTNG= GAoaUvAPH6v >>> QX&usg=3DAFQjCNHmPolcH-Y1ayBow_q-3Ysd_QIkvw> ". Full details of the = error are in >>> the short video clip. >>> >>> Please watch my Youtube video at the following link: >>> >>> http://www.youtube.com/watch?v=3DxdD25DREx0g >>> >>> At the time of this writing, there are 24 uploaded videos in my = Youtube >>> account. >>> >>> http://www.youtube.com/user/enmingteo >>> >>> Please let me know what you think after watching the short video= clip. >>> >>> Thank you very much. >>> >>> >>> -- >>> Yours sincerely, >>> >>> Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 Dip(M= echatronics) >>> BEng(Hons)(Mechanical Engineering) >>> Citizenship: Singapore Citizen/Singaporean >>> Facebook account: Teo En Ming (Zhang Enming) >>> Facebook link: http://www.facebook.com/profile.php?id=3D10000075= 0083982 >>> Facebook photos: >>> http://www.facebook.com/profile.php?id=3D100000750083982#!/profile.ph= p?id=3D100000 >>> 750083982&v=3Dphotos >>> >> 000750083982&v=3Dphotos> >>> Facebook videos: >>> http://www.facebook.com/profile.php?id=3D100000750083982&v=3Dapp_2392= 950137 >>> Mobile Phone (Starhub pre-paid): +65-8369-2618 >>> Windows Live Messenger: teoenming-at-hotmail.com >>> Location: Bedok Reservoir Road, Singapore >>> ZIP: 470103 >>> My Open Letter (Plea for Medical Help/Assistance) to World Leade= rs:- >>> http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007= 811.html >>> http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html >>> http://archives.gentoo.org/gentoo- >>> user/msg_f6a341d9623fda17880159b137c07335.xml >>> Photo of Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8= =A3 of Singapore: >>> http://img825.imageshack.us/img825/5052/mrteoenmingzhangenmingo.jpg >>> >>> >>> >>> >>> On 09/11/2010 07:35 PM, "Mr. Teo En Ming (Zhang Enming) =E5=BC=A0= =E6=81=A9=E9=B8=A3 of >>> Singapore" wrote: >>> >>> On 09/11/2010 06:21 PM, Pasi K=C3=A4rkk=C3=A4inen wrote: >>> >>> >>> On Sat, Sep 11, 2010 at 01:57:26PM +0800, "Mr. T= eo En Ming >>> (Zhang Enming) ????????? of Singapore" wrote: >>> >>> >>> Dear Intel Engineers, >>> >>> I am unable to get Intel integrated grap= hics (IGD) >>> VGA passthrough to >>> work with Xen 4.0.1-rc6-pre, Xen 4.0.1-R= ELEASE, pv- >>> ops dom0 kernel >>> 2.6.32.19 and 2.6.32.21. The moment the = command "xm >>> create>> HVM guest>" is executed, the screen imme= diately goes >>> blank with the >>> label "NO SIGNAL". It may take anywhere = from 3-10 >>> minutes before Windows >>> XP Home HVM domU starts booting. The HVM= guest will >>> subsequently crash >>> with a BSOD. >>> >>> I have posted configuration files, scrip= ts, logs and >>> kernel debug >>> messages in threads in the xen-devel mai= ling list in >>> August 2010 and >>> September 2010. >>> >>> http://lists.xensource.com/archives/html= /xen- >>> devel/2010-08/index.html >>> >>> http://lists.xensource.com/archives/html= /xen- >>> devel/2010-09/index.html >>> >>> Please assist. >>> >>> >>> >>> A couple of questions: >>> >>> - I assume the IGD is the primary graphics? >>> >>> >>> Yes, the IGD is the primary display adapter. >>> >>> >>> - Do you have other graphics adapters in the sam= e machine? >>> >>> >>> Yes, I have NVIDIA GeForce 8400 GS PCI Express x16 graph= ics card >>> in the same machine. >>> >>> >>> - Can you please paste "lspci -vvv" from dom0. >>> >>> >>> 00:02.0 VGA compatible controller: Intel Corporation 4 S= eries >>> Chipset Integrated Graphics Controller (rev 03) (prog-if 00 [VGA cont= roller]) >>> Subsystem: Intel Corporation Device 1003 >>> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VG= ASnoop- >>> ParErr- Stepping- SERR- FastB2B- DisINTx+ >>> Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3Df= ast >>> >>> =20 >>>> TAbort-SERR->>> >>>> =20 >>> Latency: 0 >>> Interrupt: pin A routed to IRQ 26 >>> Region 0: Memory at d3400000 (64-bit, non-prefetchab= le) >>> [size=3D4M] >>> Region 2: Memory at b0000000 (64-bit, prefetchable) >>> [size=3D256M] >>> Region 4: I/O ports at e220 [size=3D8] >>> Expansion ROM at [disabled] >>> Capabilities: >>> Kernel driver in use: i915 >>> Kernel modules: i915 >>> >>> 01:00.0 VGA compatible controller: nVidia Corporation Ge= Force >>> 8400 GS (rev a1) (prog-if 00 [VGA controller]) >>> Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VG= ASnoop- >>> ParErr- Stepping- SERR- FastB2B- DisINTx- >>> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Df= ast >>> >>> =20 >>>> TAbort-SERR->>> >>>> =20 >>> Interrupt: pin A routed to IRQ 11 >>> Region 0: Memory at d2000000 (32-bit, non-prefetchab= le) >>> [disabled] [size=3D16M] >>> Region 1: Memory at c0000000 (64-bit, prefetchable) >>> [disabled] [size=3D256M] >>> Region 3: Memory at d0000000 (64-bit, non-prefetchab= le) >>> [disabled] [size=3D32M] >>> Region 5: I/O ports at d000 [disabled] [size=3D128] >>> Expansion ROM at d3000000 [disabled] [size=3D128K] >>> Capabilities: >>> Kernel modules: nvidia >>> >>> >>> >>> >>> - Also paste your grub.conf for the entry you're= using for >>> Xen. >>> >>> >>> title Fedora (2.6.32.21-xen-enming.teo) >>> root (hd0,0) >>> kernel /xen.gz dom0_mem=3D1024M >>> module /vmlinuz-2.6.32.21-xen-enming.teo ro >>> root=3D/dev/mapper/vg_fedora11_host-lv_root rhgb quiet selinux=3D0 no= modeset >>> module /initrd-2.6.32.21-xen-enming.teo.img >>> >>> >>> -- Pasi >>> >>> >>> >>> >>> >>> Thank you very much. >>> >>> >>> >>> >>> >>> >>> >>> >>> =20 > > > =20