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-users

Re: [Xen-users] VGA Passthrough

On Sun, Dec 26, 2010 at 01:45:06PM +0100, Rome Pierce wrote:
> Hello,
> 
> i think it has something to do with this:
> 
> (XEN) [VT-D]iommu.c:821: iommu_fault_status: Fault Overflow
> (XEN) [VT-D]iommu.c:824: iommu_fault_status: Primary Pending Fault
> (XEN) [VT-D]iommu.c:799: DMAR:[DMA Write] Request device [00:02.0] fault addr 
> ffffff000, iommu reg = ffff82c3fff56000
> (XEN) DMAR:[fault reason 05h] PTE Write access is not set
> (XEN) print_vtd_entries: iommu = ffff830137cf8950 bdf = 0:2.0 gmfn = ffffff
> (XEN)     root_entry = ffff830137c3b000
> (XEN)     root_entry[0] = 7737001
> (XEN)     context = ffff830007737000
> (XEN)     context[10] = 1_80fe001
> (XEN)     l3 = ffff8300080fe000
> (XEN)     l3_index = 3f
> (XEN)     l3[3f] = 0
> (XEN)     l3[3f] not present
> 
> 
> VT-d is supported and enabled in bios. Kernel Parameter are vtd=1 and 
> intel_iommu=on
> 

vtd=1 is an old option, and it's ignored by new Xen versions.
You should have iommu=verbose parameter set for *Xen* hypervisor (xen.gz).

But yeah, the above looks like the problem..

Did you modify Xen sources manually? Many VGA cards require manual 
tuning and won't work out-of-the-box ..

-- Pasi


> Merry X-max
> Romep
> 
> 
> -------- Original-Nachricht --------
> > Datum: Tue, 21 Dec 2010 10:55:26 +0100
> > Von: "Rome Pierce" <romep@xxxxxx>
> > An: "Pasi Kärkkäinen" <pasik@xxxxxx>, tknchris@xxxxxxxxx
> > CC: xen-users@xxxxxxxxxxxxxxxxxxx
> > Betreff: Re: [Xen-users] VGA Passthrough
> 
> > Well, i don't comment on these answers .. I solved it on my own now.
> > 
> > 
> > My Windows 7 Pro virtual machine installs but when Windows installs all
> > the updates (Intel HD graphics driver) i can't start the machine again. I 
> > got
> > a clarkdale cpu with integrated gpu and the Intel gpu's should work?
> > 
> > 
> > 
> > 
> > -------- Original-Nachricht --------
> > > Datum: Mon, 20 Dec 2010 22:24:21 +0200
> > > Von: "Pasi Kärkkäinen" <pasik@xxxxxx>
> > > An: chris <tknchris@xxxxxxxxx>
> > > CC: Rome Pierce <romep@xxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
> > > Betreff: Re: [Xen-users] VGA Passthrough
> > 
> > > On Mon, Dec 20, 2010 at 02:10:44PM -0500, chris wrote:
> > > > http://wiki.xensource.com/xenwiki/XenVGAPassthrough
> > > > 
> > > 
> > > And this one, also linked on the wiki page above:
> > > http://wiki.xensource.com/xenwiki/XenPCIpassthrough
> > > 
> > > -- Pasi
> > > 
> > > > On Mon, Dec 20, 2010 at 1:20 PM, Rome Pierce <romep@xxxxxx> wrote:
> > > > > Hello,
> > > > >
> > > > > i just installed Debian Squeeze and the Xen 4.0.1 debian packages. I
> > > want to passthrough vga to a Windows 7 virtual machine. But i always get
> > an
> > > error (Error: pci: PCI Backend and pci-stub don't own device
> > 0000:00:02.0).
> > > What am i doing wrong? My config file looks like this:
> > > > >
> > > > > name = 'win7'
> > > > > kernel = '/usr/lib/xen/boot/hvmloader'
> > > > > builder = 'hvm'
> > > > > device_model = '/usr/lib64/xen/bin/qemu-dm'
> > > > > memory = 1024
> > > > > acpi=1
> > > > > apic=1
> > > > >
> > > > > vif = [ 'bridge=eth0' ]
> > > > >
> > > > > disk = [ 'file:/path/to/win7.img,hda,w',
> > > 'file:/path/to/win7.iso,hdc:cdrom,r' ]
> > > > >
> > > > > boot='dc'
> > > > > usbdevice='tablet'
> > > > >
> > > > > vnc=1
> > > > > vnclisten = '0.0.0.0'
> > > > > vncpasswd=''
> > > > > sdl=0
> > > > >
> > > > > stdvga=0
> > > > > serial='pty'
> > > > >
> > > > > gfx_passthru=0
> > > > > pci=[ '00:02.0' ]
> > > > > --
> > > > > GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt auch mit
> > > > > gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
> > > > >
> > > > > _______________________________________________
> > > > > Xen-users mailing list
> > > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > http://lists.xensource.com/xen-users
> > > > >
> > > > 
> > > > _______________________________________________
> > > > Xen-users mailing list
> > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > http://lists.xensource.com/xen-users
> > > 
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> > 
> > -- 
> > GRATIS! Movie-FLAT mit über 300 Videos. 
> > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> 
> -- 
> NEU: FreePhone - kostenlos mobil telefonieren und surfen!                     
> Jetzt informieren: http://www.gmx.net/de/go/freephone

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