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

Re: [Xen-devel] VGA passthrough on unstable



On Fri, May 06, 2011 at 12:56:30AM +0800, Liwei wrote:
> On 5 May 2011 23:20, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> >
> > Being able to specify which vgabios file to load would be great..
> > Feel free to send patches!
> 
> I dumped the BIOS of my Palit Nvidia GTX480 card with the nvdump tool.
> Not sure if its legal to post it online though. Will send the patches
> when there's substantial progress.
> 

Yeah I didn't mean you to post the actual BIOS image file,
only the Xen patches that support loading the BIOS image from specified file.
(so that people don't have to hardcode the BIOS image to custom binaries).


> >
> >
> >> However, using the primary graphics card, again with or without the
> >> secondary passthrough patch, it actually managed to partially work
> >> booting up the Windows 7 install. It manages to reach the pulsating
> >> windows logo before BSOD-ing with 0x0000000A (IRQ_NOT_LESS_OR_EQUAL).
> >> Meanwhile, the logs show a lot of:
> >>
> >>    pt_pci_read_config: Error: Failed to read register with invalid
> >> access size alignment. [00:05.0][Offset:0eh][Length:4]
> >>    pt_pci_read_config: Error: Failed to read register with invalid
> >> access size alignment. [00:06.0][Offset:0eh][Length:4]
> >>
> >
> > Hmm..
> >
> > So did you apply the vBar == pBar patches ?
> > Did you modify them to fit your hardware?
> >
> > -- Pasi
> 
> http://markmail.org/message/7gb7djbmlaxruaai
> 
> The patch that I use is based on Weidong's pBAR==vBAR patch. From what
> I hear it automatically remaps any vBAR access? I'm not familiar with
> low level hardware architecture, so I'd need some prodding to
> understand what's going on in the patched code.
> 
> So where do I modify them to fit my hardware?

I think other people who tried those patches (and got them working)
had to modify the vbar/pbar ranges to match their hardware..

btw the error message above mentions alignment.. did you try the 
alignment option for xen-pciback? 

-- Pasi


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


 


Rackspace

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