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

[Xen-users] How to export an Intel USB-Controller to DomU / Driver tried to write to a read-only configuration space


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Franz Von Hahn <franz.vonhahn@xxxxxxxx>
  • Date: Sat, 30 Aug 2008 11:54:49 +0000 (GMT)
  • Delivery-date: Sat, 30 Aug 2008 04:55:28 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=FNT+cV5h6Znf6WVSnd9ab8Bu1tCLoGM/Q1PR5xngMRDS6VhiohmHXK42dCqgIjUdSp7INOi8WCbvdmPxbJziyMsBNdXKh9Ft9c0aX8N6tzk6X7mFvemnzNm3Xnahl+9h5sVKwr0Q1ZXM9La9ttBxecP0UXw+1yOI8Q/d9cs0f7Y=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hey List!

I'm using Fedora 8 (since Fedora 9 doesn't support Dom0-mode), and i'm really 
stuck. I want to export an Intel ICH7-USB-Controller to a DomU to attach some 
devices. 

When I want to export the device i go this way:
rmmod uhci_hcd
rmmod ohci_hcd
rmmod ehci_hcd
modprobe pciback
echo -n 0000:00:1d.0 > /sys/bus/pci/drivers/pciback/new_slot
echo -n 0000:00:1d.0 > /sys/bus/pci/drivers/pciback/bind
echo -n 0000:00:1d.7 > /sys/bus/pci/drivers/pciback/new_slot
echo -n 0000:00:1d.7 > /sys/bus/pci/drivers/pciback/bind

as lspci says the following:

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
Controller #1 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI 
Controller (rev 01)

Then I fire up the dom0 with

pci = ['00:1d.0','00:1d.7'] in the config file

Then I check dmesg, which says:

pciback 0000:00:1d.0: Driver tried to write to a read-only configuration space 
field at offset 0xc0, size 2. This may be harmless, but if you have problems 
with your device:
1) see permissive attribute in sysfs
2) report problems to the xen-devel mailing list along with details of your 
device obtained from lspci.


I've tried to do before fireing up the domU
echo -n 0000:00:1d.0 > /sys/bus/pci/drivers/pciback/permissive
echo -n 0000:00:1d.7 > /sys/bus/pci/drivers/pciback/permissive
Then i fired up the domU and then the whole system got stuck, no chance to see 
any messages



So what can I do to get USB working in the domU? Isn't it possible, to reserve 
a config space for the driver anywhere?

IDs are: 
0000:00:1d.0 => Vendor: 0x8086, Device: 0x27c8
0000:00:1d.7 => Vendor: 0x8086, Device: 0x27cc

 
Many Thanks!!!


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com


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


 


Rackspace

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