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

Re: [Xen-users] PCI passthrough to Windows XP



> -----Original Message-----
> From: Ian Campbell [mailto:Ian.Campbell@xxxxxxxxxx]
> Sent: Friday, November 09, 2012 9:10 AM
> To: Daniel E. Shub
> Cc: xen-users@xxxxxxxxxxxxx
> Subject: Re: [Xen-users] PCI passthrough to Windows XP
> 
> > when I boot from the standard kernel I can see my processor supports
> > vmx, although when I boot the Xen kernel, vmx doesn't show up.
> 
> I think this is normal -- since Xen uses the vmx/svm capability it is
> not available to dom0 and therefore is masked.

Thank you for that clarification

> > I also see that another entry has changed its address from
> 
> Changed compared to what?
> 

I put that on the next lines ...

> > 06:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II
> > Controller (rev b2)
> > to
> > 07:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II
> > Controller (rev b2)

> Which dom0 kernel version are you running? Are you certain the the
> pciback module is enabled and builtin (not a module)? This syntax
> (exactly which depends on the kernel version) only works for when
> pciback is statically compiled. If it is modular then you need the
> bind/unbind dance which you described below.

I believe I am running 2.6.32 and Xen 4.0. It is the standard kernel provided 
when you install Xen from Debian Squeeze. I am not sure if the pciback is 
statically compiled. How do I find this out?

> > Looking at the Xen wiki guide
> > http://wiki.xen.org/wiki/Xen_PCI_Passthrough I have tried things like
> >
> > echo 0000:05:00.0 > /sys/bus/pci/devices/0000:05:00.0/driver/unbind
> > echo 0000:05:00.0 > /sys/bus/pci/drivers/pciback/new_slot
> > echo 0000:05:00.0 > /sys/bus/pci/drivers/pciback/bind
> >
> 
> For the purposes of trouble shooting it would be useful to include the
> actual literal commands you ran rather than something "like" them.
> Did you repeat the above bind/unbind commands for 06:04.0?

I wasn't sure I was on the right path with the above so I tried a bunch of 
different things at different times (always preceded by a full power down and 
reboot). I tried it with just 05:00.0, just 06:04.0, and both. I tried it with 
pciback and pcistub.

> 
> > Any ideas how to get pci passthrough working?
> 
> You don't say which version of Xen you are running but if it is 4.2
> then you may have more luck using the xl toolstack, and in particular
> the "xl pci-assignable-add" commands.

Debian Squeeze only has 4.0 installed which is what the wiki beginner walk 
through is based on. I also tried upgrading to Debian Sid/unstable which has 
3.x kernel and Xen 4.1. I looked at Arch Linux which tends to have bleeding 
edge software and a great wiki and they are only in the process of getting 4.2 
working. Is there a distro that supports 4.2 and has a walk through?

> 
> It maybe  that the presence of the bridge device is confusing things.
> What is your pci topology like (lspci -t I think). TBH I'm not sure how
> pci passthrough interacts with PCI bridges but my intuition is that in
> general you do not want to pass thr bridge through, unless perhaps you
> are passing *every* device which is behind it to the same guest.
> 

#lspci -t
-[0000:00]-+-00.0
           +-01.0-[01]--
           +-03.0-[02]--+-00.0
           |            \-00.1
           +-07.0-[03]--
           +-10.0
           +-10.1
           +-14.0
           +-14.1
           +-14.2
           +-14.3
           +-19.0
           +-1a.0
           +-1a.1
           +-1a.2
           +-1a.7
           +-1c.0-[04]--
           +-1c.1-[05-06]----00.0-[06]----04.0
           +-1c.4-[07]----00.0
           +-1d.0
           +-1d.1
           +-1d.2
           +-1d.7
           +-1e.0-[08]--
           +-1f.0
           +-1f.2
           \-1f.3

Which means nothing to me ...

Thanks for the help.

Dan
This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, copy 
or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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