From: Keir Fraser Subject: Re: Problem passing a HP-DAT (USB) device to domU Date: Sat, 18 Aug 2007 10:59:45 +0100 Message-ID: References: <46B8F22A.1090403@wot.at> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46B8F22A.1090403@wot.at> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Matthias Wolf , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 'lspci -n' to find out what the numeric vendor-id and device-id is for the device at PCI slot location 00:1d.7. Then add that vendor-id:device-id pair to /etc/xen/xend-pci-permissive.sxp. When you create the domain that is assigned the PCI device, you should see a warning appear in dmesg or /var/log/messages about the fact that a domU is being allowed to write to any part of a device's PCI config space. You can ignore that, but it shows that the change to /etc/xen/xend-pci-permissive.sxp is working. -- Keir On 7/8/07 23:28, "Matthias Wolf" wrote: > Hi specialists, > > I'm trying to pass a HP Surestore USB-drive to a domU. I'm hiding the > pci-device in the dom0, capturing it in the domU, and rceive the > following lines in /var/log/syslog of the dom0 after a reboot: > > ======================================================================= > Aug 8 00:04:49 localhost kernel: pciback 0000:00:1d.7: Driver tried to > write to a read-only configuration space field at offset 0x54, > size 2. This may be harmless, but if you have problems with your device: > Aug 8 00:04:49 localhost kernel: 1) see permissive attribute in sysfs > Aug 8 00:04:49 localhost kernel: 2) report problems to the xen-devel > mailing list along with details of your device obtained from lspci. > ======================================================================= > > I'm not quite sure what I'm expected to do in the /sys-tree: root has > write-permissions all the way down the branches. > > I'm using the stable version of the xen-hypervisor 3.0.3-0-2 (debian). > > I kind of *need* this functionality and would be very grateful for any > kind of help or hint. > > Thanx in advance, > > Bests from Vienna/Austria > Matthew A. Wolf > > pS.: THANKS a whole lot for such a fine piece of software! > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel