From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gennady Marchenko Subject: Re: VGA Passthrough on Xen 4.1: succees (IGD) and failure (ATI) report Date: Wed, 25 May 2011 15:41:21 +0400 Message-ID: References: <201105241354.10400.wei.wang2@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0085583208==" Return-path: In-Reply-To: <201105241354.10400.wei.wang2@amd.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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0085583208== Content-Type: multipart/alternative; boundary=bcaec519622d033bad04a4182f1f --bcaec519622d033bad04a4182f1f Content-Type: text/plain; charset=UTF-8 This patch doesnt work for me cause patched current sources can't be compiled with following error :((( : TARGET_CFLAGS="-mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -Wno-unused-but-set-variable -fno-stack-protector -fno-exceptions" \ TARGET_LDFLAGS="-nostdlib -L/usr/src/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/lib" \ ./xen-setup-stubdom ) make DESTDIR= -C ioemu -f ./Makefile Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. === PCI passthrough capability has been enabled === Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. === PCI passthrough capability has been enabled === make[2]: Entering directory `/usr/src/xen-unstable.hg/stubdom/ioemu' Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. === PCI passthrough capability has been enabled === Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. === PCI passthrough capability has been enabled === === PCI passthrough capability has been enabled === make[3]: Entering directory `/usr/src/xen-unstable.hg/stubdom/ioemu/i386-stubdom' CC i386-stubdom/pt-graphics.o /usr/src/xen-unstable.hg/stubdom/ioemu/hw/pt-graphics.c:11:20: fatal error: sys/io.h: No such file or directory compilation terminated. make[3]: *** [pt-graphics.o] Error 1 make[3]: Leaving directory `/usr/src/xen-unstable.hg/stubdom/ioemu/i386-stubdom' make[2]: *** [subdir-i386-stubdom] Error 2 make[2]: Leaving directory `/usr/src/xen-unstable.hg/stubdom/ioemu' make[1]: *** [ioemu] Error 2 make[1]: Leaving directory `/usr/src/xen-unstable.hg/stubdom' make: *** [install-stubdom] Error 2 And I can't fix it. Gennady. On Tue, May 24, 2011 at 3:54 PM, Wei Wang2 wrote: > How does this patch work for you? You also need to install latest ATI > driver > in guest. > http://lists.xensource.com/archives/html/xen-devel/2010-12/msg00705.html > Thanks > Wei > > On Tuesday 17 May 2011 06:47:33 Gennady Marchenko wrote: > > Hi all! > > > > I'm very interested with XenVGAPassthrough and tries to do it on my > system > > with vt-d support: > > > > CPU: Intel core2duo E8400 > > MB: Asus p5q-vm do > > mem: 8GB > > > > So I'm succeed at Intel IGD: > > > > 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset > > Integrated Graphics Controller (rev 03) > > > > with > > > > Debian Sid's XEN 4.1/Linux 2.6.39-rc7+ (from > > git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git< > http://git.ker > >nel.org/pub/scm/linux/kernel/git/konrad/xen.git>) and WinXP SP2 with > Intel's > > drivers version 6.14.10.5157 > > > > but no success with two ATI cards: > > > > ATI X800GTO > > ATI 5450 > > (on same m.board) > > > > with empty screen. When I run HVM screen went from "empty" to another > > "empty ", HVM not booting. So I don't know - is there need to do > something > > with bios and how I can do it with binary xen. Could you help me with it > > please? > > > > Thanks all for this feature! > > Gennady. > > > > --bcaec519622d033bad04a4182f1f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This patch doesnt work for me cause patched current sources= can't be compiled with following error :((( :

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 TARGET_CFLAGS= =3D"-mno-red-zone -O1 -fno-omit-frame-pointer =C2=A0-m64 -mno-red-zone= -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-al= iasing -std=3Dgnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclarati= on-after-statement -Wno-unused-but-set-variable =C2=A0-fno-stack-protector = -fno-exceptions" \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 TARGET_LDFLAGS=3D"-nost= dlib -L/usr/src/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/li= b" \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ./xen-setup-s= tubdom )
make DESTDIR=3D -C ioemu -f ./Makefile
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help&#= 39; for more information.
=3D=3D=3D PCI passthrough capability ha= s been enabled =3D=3D=3D
Usage: grep [OPTION]... PATTERN [FILE]..= .
Try `grep --help' for more information.
=3D=3D=3D PCI passthr= ough capability has been enabled =3D=3D=3D
make[2]: Entering dire= ctory `/usr/src/xen-unstable.hg/stubdom/ioemu'
Usage: grep [O= PTION]... PATTERN [FILE]...
Try `grep --help' for more information.
=3D=3D=3D PCI pa= ssthrough capability has been enabled =3D=3D=3D
Usage: grep [OPTI= ON]... PATTERN [FILE]...
Try `grep --help' for more informati= on.
=3D=3D=3D PCI passthrough capability has been enabled =3D=3D=3D
<= div>=3D=3D=3D PCI passthrough capability has been enabled =3D=3D=3D
make[3]: Entering directory `/usr/src/xen-unstable.hg/stubdom/ioemu/i386= -stubdom'
=C2=A0 CC =C2=A0 =C2=A0i386-stubdom/pt-graphics.o
/usr/src/xen-un= stable.hg/stubdom/ioemu/hw/pt-graphics.c:11:20: fatal error: sys/io.h: No s= uch file or directory
compilation terminated.
make[3]: = *** [pt-graphics.o] Error 1
make[3]: Leaving directory `/usr/src/xen-unstable.hg/stubdom/ioemu/i38= 6-stubdom'
make[2]: *** [subdir-i386-stubdom] Error 2
make[2]: Leaving directory `/usr/src/xen-unstable.hg/stubdom/ioemu'<= /div>
make[1]: *** [ioemu] Error 2
make[1]: Leaving directory `/us= r/src/xen-unstable.hg/stubdom'
make: *** [install-stubdom] Er= ror 2

And I can't fix it.


Gennady.

On Tue, May 24, 2011 at 3:54 PM, Wei Wang2 <wei.wang2@amd.com> wrote:
How does this patch work for you? You also need to install latest ATI drive= r
in guest.
http://lists.xensource.com/archives/html/xen-de= vel/2010-12/msg00705.html
Thanks
Wei

On Tuesday 17 May 2011 06:47:33 Gennady Marchenko wrote:
> Hi all!
>
> I'm very interested with XenVGAPassthrough and tries to do it on m= y system
> with vt-d support:
>
> CPU: Intel core2duo E8400
> MB: Asus p5q-vm do
> mem: 8GB
>
> So I'm succeed at Intel IGD:
>
> 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset<= br> > Integrated Graphics Controller (rev 03)
>
> with
>
> Debian Sid's XEN 4.1/Linux 2.6.39-rc7+ (from
> git://git.kernel.org/pub/scm/linux/kernel/git/k= onrad/xen.git<http://gi= t.ker
>nel.org/pub/scm/linux/kerne= l/git/konrad/xen.git>) and WinXP SP2 with Intel's
> drivers version 6.14.10.5157
>
> but no success with two ATI cards:
>
> ATI X800GTO
> ATI 5450
> (on same m.board)
>
> with empty screen. When I run HVM screen went from "empty" t= o another
> "empty ", HVM not booting. So I don't know - is there ne= ed to do something
> with bios and how I can do it with binary xen. Could you help me with = it
> please?
>
> Thanks all for this feature!
> Gennady.




--bcaec519622d033bad04a4182f1f-- --===============0085583208== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0085583208==--