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 secondary 9600GT to win7 successful but

To: david myers <dw.myers@xxxxxxxx>
Subject: Re: [Xen-users] VGA passthrough secondary 9600GT to win7 successful but code 12
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Tue, 23 Nov 2010 21:18:46 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Nov 2010 11:21:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <SNT143-w3E44E46557007A7E8F0EFEE3C0@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <SNT143-w3E44E46557007A7E8F0EFEE3C0@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Sun, Nov 21, 2010 at 11:45:59AM -0500, david myers wrote:
>    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.
> 
>    Configuration:
>    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.
> 

Hmm.. I guess that means the correct bars weren't mapped.
I think this is more of a question for xen-devel ..

-- Pasi


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

<Prev in Thread] Current Thread [Next in Thread>