[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] VGA passthrough secondary 9600GT to win7 successful but code 12

  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: david myers <dw.myers@xxxxxxxx>
  • Date: Sun, 21 Nov 2010 11:45:59 -0500
  • Delivery-date: Sun, 21 Nov 2010 10:02:48 -0800
  • Importance: Normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

This is my first time posting,  sorry if i don't use the proper etiquette.

I've successfully passed through my secondary GPU to a windows 7 hvm.

Secondary GPU is 9600 GT
dom0 is jeremy's pvops
xen source xen-4.0.2-rc1-pre
Patches from applied http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00441.html
MSI.9600.GT.bin as /tools/firmware/vgabios/vgabios-pt.bin

I get into windows 7 on the passed GPU's monitor no problem,  but windows device manager reports
(Code 12)  the device can not find enough available resources

How / where would I allocate more resources to this device ?

I thought it may have something to do with the vBAR pBAR patch,  I had tried mapping my devices memory according to lspci -v output,  but I'm not entirely sure I did it right,  because it wouldnt work afterwards,  and i reverted to the patch AS-IS after that to get it working again.

for my 9600 GT lspci -v
    Memory at fa000000 (32-bit, non-prefetchable) [disabled] [size=16M]
    Memory at c0000000 (64-bit, prefetchable) [disabled] [size=512M]
    Memory at f8000000 (64-bit, non-prefetchable) [disabled] [size=32M]

+                    /* reserve MMIO BARs of gfx for 1:1 mapping */
+                    DWordMemory(
+                        ResourceProducer, PosDecode, MinFixed, MaxFixed,
+                        Cacheable, ReadWrite,
+                        0x00000000,
+                        0xC0000000,      <- I only replaced this value in the 3 DWordMemory sections
+                        0xEFFFFFFF,
+                        0x00000000,
+                        0x10000000)

I'm guessing some of the other values are relating to the range,  I'm not sure.

Not entirely sure this is my issue either,  as it does seem to be passing through without changing the patches values at all,  but I appreciate any pointers anybody could provide me with to solve the Code 12.

DaveWM ##xen / freenode

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.