From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?Ik1yLiBUZW8gRW4gTWluZyAoWmhhbmcgRW5taW5nKSDlvKDmganpuKMgbw==?= =?UTF-8?B?ZiBTaW5nYXBvcmUi?= 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: Wed, 15 Sep 2010 12:07:51 +0800 Message-ID: <4C904697.7050003@gmail.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> <4C8F7303.1050806@intel.com> Reply-To: space.time.universe@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: <4C8F7303.1050806@intel.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: Weidong Han Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , zhang_enming@lavabit.com, "teoenming@hotmail.com" , Konrad Rzeszutek Wilk , "space.time.universe@gmail.com" , "Ian.Pratt@eu.citrix.com" , James Harper , "xen-users@lists.xensource.com" , =?UTF-8?B?UGFzaSBLw6Ryaw==?= List-Id: xen-devel@lists.xenproject.org Dear Weidong, Thank you for your response. I have had great success in VGA passthrough with Xen 3.5-unstable but=20 not so much for Xen 4.0.1. The system is very unstable and Windows XP=20 Home Edition HVM domU crashes with a BSOD after a short while. I don't think the memory parameter in Windows XP HVM domU configuration=20 file impacts system stability but I will give it a try. Thank you very much. --=20 Yours sincerely, Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 Dip(Mechatroni= cs) 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=3D100000750083982= #!/profile.php?id=3D100000750083982&v=3Dphotos Facebook videos: http://www.facebook.com/profile.php?id=3D100000750083982= &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 (Updat= ed 28 August 2010):- http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c073= 35.xml Photo of Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 of Si= ngapore: http://img4.uploadhouse.com/fileuploads/6286/628666480196ede130d= a6f3081912f97194d8b4.jpg On 09/14/2010 09:05 PM, Weidong Han wrote: > Hi En Ming, > > Per the screenshot images, IGD passthru looks fine. In my experience,=20 > if you can load the driver for IGD, it should work. > > I remember you passthru IGD successfully before. Are you using the=20 > same platform and image? > > I took a look at your config files post in Aug. I noticed a line=20 > "memory =3D 3072" in hvm config file. It's weird to specify this memory= =20 > size. Pls 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= wrote: >> Dear James Harper, >> >> I had Xen GPL PV drivers uninstalled but the system was still very=20 >> unstable. >> >> --=20 >> Yours sincerely, >> >> Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 Dip(Mechatr= onics)=20 >> BEng(Hons)(Mechanical Engineering) >> Citizenship: Singapore Citizen/Singaporean >> Facebook account: Teo En Ming (Zhang Enming) >> Facebook link: http://www.facebook.com/profile.php?id=3D10000075008398= 2 >> Facebook photos:=20 >> http://www.facebook.com/profile.php?id=3D100000750083982#!/profile.php= ?id=3D100000750083982&v=3Dphotos=20 >> >> Facebook videos:=20 >> http://www.facebook.com/profile.php?id=3D100000750083982&v=3Dapp_23929= 50137 >> 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=20 >> (Updated 28 August 2010):- >> http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.ht= ml >> http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html >> http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c= 07335.xml=20 >> >> Photo of Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 of= Singapore:=20 >> http://www.glowfoto.com/viewimage.php?y=3D2010&m=3D09&img=3D13-232647L= &t=3Djpg&rand=3D5406&srv=3Dimg4=20 >> >> >> >> >> >> On 09/14/2010 07:25 AM, James Harper wrote: >>> Can you try it on a machine that has never had gplpv installed? That=20 >>> 'Xen pci device #0' device looks like GPLPV is trying to handle the=20 >>> PCI passthrough, which it shouldn't. >>> >>> James >>> >>> >>>> -----Original Message----- >>>> From: xen-users-bounces@lists.xensource.com [mailto:xen-users- >>>> bounces@lists.xensource.com] On Behalf Of "Mr. Teo En Ming (Zhang=20 >>>> Enming) ??? >>>> 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;=20 >>>> 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 Inte= l >>>> Engineers on Intel Integrated Graphics (IGD) VGA Passthrough for=20 >>>> 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)=20 >>>> http://img684.imageshack.us/img684/9672/inteligdvgapassthroughw.jpg >>>> >>>> (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=20 >>>> (GMA) >>>> Drivers because the system is unstable and Windows XP Home Edition=20 >>>> HVM domU >>>> keeps crashing with a BSOD after a short while. I have attached thre= e >>>> screenshots of the Device Manager in this email. You may refer to=20 >>>> these >>>> screenshots (JPEG images). These screenshots indicate that Intel=20 >>>> integrated >>>> graphics (IGD) VGA passthrough with Xen 4.0.1-RELEASE and pv-ops=20 >>>> 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=20 >>>> Windows XP >>>> and installed gplpv_XP_0.11.0.213_debug.msi. >>>> >>>> At the moment, the system is very unstable and Windows XP HVM domU=20 >>>> keeps >>>> crashing with a BSOD after a short while. It also takes at least=20 >>>> three minutes >>>> for Windows XP HVM domU to start booting after the "xm create"=20 >>>> command is >>>> executed. Sometimes, Windows XP HVM domU may not even start after=20 >>>> 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=20 >>>> indicate that >>>> there are no hardware memory errors. I have also performed a bad=20 >>>> sector scan >>>> in Windows XP HVM domU and the results are negative. >>>> >>>> >>>> --=20 >>>> Yours sincerely, >>>> >>>> Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 Dip(Mecha= tronics)=20 >>>> BEng(Hons)(Mechanical >>>> Engineering) >>>> Citizenship: Singapore Citizen/Singaporean >>>> Facebook account: Teo En Ming (Zhang Enming) >>>> Facebook link: http://www.facebook.com/profile.php?id=3D100000750083= 982 >>>> Facebook photos: >>>> http://www.facebook.com/profile.php?id=3D100000750083982#!/profile.p= hp?id=3D100000=20 >>>> >>>> 750083982&v=3Dphotos >>>> >>> >>>> 000750083982&v=3Dphotos> >>>> Facebook videos: >>>> http://www.facebook.com/profile.php?id=3D100000750083982&v=3Dapp_239= 2950137=20 >>>> >>>> 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.= html=20 >>>> >>>> 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 11:17 PM, "Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6= =81=A9=E9=B8=A3 of=20 >>>> Singapore" >>>> wrote: >>>> >>>> Dear Pasi, Intel engineers, and Xen developers, >>>> >>>> I have just made and uploaded a video to Youtube. The length=20 >>>> of the >>>> video is only 1 minute and 37 seconds. The video demonstrates the=20 >>>> successful >>>> bootup of Windows XP Home Edition HVM domU/virtual machine,=20 >>>> indicating an >>>> initial successful Intel integrated graphics (IGD) VGA passthrough,=20 >>>> and >>>> 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=3DVpuLTN= GGAoaUvAPH6v=20 >>>> >>>> QX&usg=3DAFQjCNHmPolcH-Y1ayBow_q-3Ysd_QIkvw> ". Full details of the= =20 >>>> 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=20 >>>> my Youtube >>>> account. >>>> >>>> http://www.youtube.com/user/enmingteo >>>> >>>> Please let me know what you think after watching the short=20 >>>> video clip. >>>> >>>> Thank you very much. >>>> >>>> >>>> -- >>>> Yours sincerely, >>>> >>>> Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=A3 Dip(= Mechatronics) >>>> BEng(Hons)(Mechanical Engineering) >>>> Citizenship: Singapore Citizen/Singaporean >>>> Facebook account: Teo En Ming (Zhang Enming) >>>> Facebook link:=20 >>>> http://www.facebook.com/profile.php?id=3D100000750083982 >>>> Facebook photos: >>>> http://www.facebook.com/profile.php?id=3D100000750083982#!/profile.p= hp?id=3D100000=20 >>>> >>>> 750083982&v=3Dphotos >>>> >>> >>>> 000750083982&v=3Dphotos> >>>> Facebook videos: >>>> http://www.facebook.com/profile.php?id=3D100000750083982&v=3Dapp_239= 2950137=20 >>>> >>>> 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=20 >>>> Leaders:- >>>> =20 >>>> http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.= html=20 >>>> >>>> http://mythtv.org/pipermail/mythtv-users/2010-August/295952.htm= l >>>> 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.=20 >>>> Teo En Ming >>>> (Zhang Enming) ????????? of Singapore" wrote: >>>> >>>> >>>> Dear Intel Engineers, >>>> >>>> I am unable to get Intel integrated=20 >>>> graphics (IGD) >>>> VGA passthrough to >>>> work with Xen 4.0.1-rc6-pre, Xen=20 >>>> 4.0.1-RELEASE, pv- >>>> ops dom0 kernel >>>> 2.6.32.19 and 2.6.32.21. The moment=20 >>>> the command "xm >>>> create>>> HVM guest>" is executed, the screen=20 >>>> immediately goes >>>> blank with the >>>> label "NO SIGNAL". It may take=20 >>>> anywhere from 3-10 >>>> minutes before Windows >>>> XP Home HVM domU starts booting. The=20 >>>> HVM guest will >>>> subsequently crash >>>> with a BSOD. >>>> >>>> I have posted configuration files,=20 >>>> scripts, logs and >>>> kernel debug >>>> messages in threads in the xen-devel=20 >>>> mailing list in >>>> August 2010 and >>>> September 2010. >>>> >>>> =20 >>>> http://lists.xensource.com/archives/html/xen- >>>> devel/2010-08/index.html >>>> >>>> =20 >>>> 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=20 >>>> same machine? >>>> >>>> >>>> Yes, I have NVIDIA GeForce 8400 GS PCI Express x16=20 >>>> graphics card >>>> in the same machine. >>>> >>>> >>>> - Can you please paste "lspci -vvv" from dom0. >>>> >>>> >>>> 00:02.0 VGA compatible controller: Intel Corporation 4=20 >>>> Series >>>> Chipset Integrated Graphics Controller (rev 03) (prog-if 00 [VGA=20 >>>> controller]) >>>> Subsystem: Intel Corporation Device 1003 >>>> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV-=20 >>>> VGASnoop- >>>> ParErr- Stepping- SERR- FastB2B- DisINTx+ >>>> Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3D= fast >>>> >>>>> TAbort-SERR->>>> >>>> Latency: 0 >>>> Interrupt: pin A routed to IRQ 26 >>>> Region 0: Memory at d3400000 (64-bit,=20 >>>> non-prefetchable) >>>> [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=20 >>>> GeForce >>>> 8400 GS (rev a1) (prog-if 00 [VGA controller]) >>>> Control: I/O- Mem- BusMaster- SpecCycle- MemWINV-=20 >>>> VGASnoop- >>>> ParErr- Stepping- SERR- FastB2B- DisINTx- >>>> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3D= fast >>>> >>>>> TAbort-SERR->>>> >>>> Interrupt: pin A routed to IRQ 11 >>>> Region 0: Memory at d2000000 (32-bit,=20 >>>> non-prefetchable) >>>> [disabled] [size=3D16M] >>>> Region 1: Memory at c0000000 (64-bit, prefetchable) >>>> [disabled] [size=3D256M] >>>> Region 3: Memory at d0000000 (64-bit,=20 >>>> non-prefetchable) >>>> [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=20 >>>> 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=20 >>>> nomodeset >>>> module /initrd-2.6.32.21-xen-enming.teo.img >>>> >>>> >>>> -- Pasi >>>> >>>> >>>> >>>> >>>> >>>> Thank you very much. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >> >> > >