[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] PCI Passthrough of SATA Controllers
On Fri, Apr 15, 2016 at 12:43:02AM -0700, Thomas Garcia wrote: > On Tue, Apr 12, 2016 at 5:33 AM, Roger Pau Monné <roger.pau@xxxxxxxxxx> > wrote: > > > On Mon, Apr 11, 2016 at 01:42:06PM -0700, Thomas Garcia wrote: > > > Hi, > > > > > > I'm trying to setup a driver domain, but I'm having problems with PCI > > > passthrough (just of the disk controller; network devices passthrough > > > fine). When I run "xl pci-assignable-add 00:1f.2" (00:1f.2 is my SATA > > > controller), I get a series of I/O errors, followed by the filesystem > > being > > > remounted as read-only. Then when I try to create the driver domain, I > > get > > > a "failed to read config file" error. What is the proper way to create a > > > disk driver domain? I'm using Debian Jessie for my Dom0 and DomUs, and > > I'm > > > using pvgrub as a bootloader. > > > > IMHO, it looks like the SATA controller that you are trying to passthrough > > is already used by Dom0? > > > > The Debian documentation is not very clear [0], so I can't tell you the > > exact runes that you need to use, but I would look into using the > > xen-pciback.hide kernel command line in order to hide the devices on boot > > rather than at run time. So you will have to add: > > > > xen-pciback.hide=(00:1f.2) > > > > To your kernel commnad line. Also note that [0] mentions that you might > > need > > to rebuild your initramfs depending on your kernel/Debian version. > > > > Roger. > > > > [0] https://wiki.debian.org/Xen#Other_configuration_tweaks > > > > > Yes, the controller was already in use by Dom0. Now I've setup Dom0 so it > doesn't use the controller (using initramfs as my only filesystem), but I'm > having troubles getting xenconsoled to work; whenever I start it I get the > error messages: > > FATAL: Failed to initialize dom0 state: Invalid argument > xenconsoled: xenstore watch on @introduceDomain fails. Is xenstore running? > And then in xl dmesg: > > (XEN) event_channel.c:271:d0 EVTCHNOP failure: domain 0, error -22 > > Any idea what is causing these errors, or what I can do to diagnose them? > I'm guessing it has to do with some file I forgot to put in initramfs, > seeing as xenconsoled runs fine when I use the controller. I've already > added /usr/lib/xen-4.4 and /usr/lib/xen-common to initramfs. The best way to figure out if you are missing any files is to pick the list of files installed by the Xen distro packages and make sure they are all packed inside the initramfs. Roger. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |