WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE

To: Richie <listmail@xxxxxxxxxxxx>
Subject: Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE
From: István HERCZEG <advoper@xxxxxxxxx>
Date: Sat, 30 Oct 2010 17:39:14 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 30 Oct 2010 08:40:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=yaGdy1Y/4Hod30iJVOs9g01/cfrt/VCob8qgW0/PqAA=; b=nclQnbRa7dkR6TnUBGPVzylX9lYnP49MV0UaqgUp/Mw+fi82S1bW6lJV+p2QBwckHF TS7/+YvSMv1nKVLHPtiSboOLwC1e9r8+Nn56w2bo3yd9dQ7lyt0FmmJvWaPOodTvrYnA OZKGtkRHAH9kmHgUeOg9MsbUNKvTv5NYfBg/Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UaPzHyxfr5usSXgBG2+cXXeeUq+MC4atmmlDM7I++c4lOVqeCxwTr132Mk1+q0eUoT oSgHXwqiiuG3UhIcQnf9r2sF3oeDiDNVmm41iaOQmg9X/j8eiEwOg8GIRRlR84t5pUev EJybuekpiA3Nrhe7sYoXgTwJV9l/tw1Fruuzo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CCC289F.1070803@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikajmnnb+aSp35ABKFiqCkk1QRZRBixGc+nA_pR@xxxxxxxxxxxxxx> <4CCC289F.1070803@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

thank you for quick answer. You was right I missed the format. But I still have a problem. Continue the PCI unbind procedure the wiki says[1]:

echo -n "0000:00:1a.0" /sys/bus/pci/drivers/pciback/new_slot

and ..
echo -n "0000:00:1a.0" /sys/bus/pci/drivers/pciback/bind_cat

In my openSUSE 11.2 there are no /sys/bus/pci/drivers/pciback directory. OK. I have /sys/bus/pci/drivers/pci-stub maybe this would be nice[2]:

continuing the procedure:

echo -n "0000:00:1a.0" /sys/bus/pci/drivers/pci-stub/new_slot
-bash: new_slot: No such file or directory
echo -n "0000:00:1a.0" /sys/bus/pci/drivers/pci-stub/bindcat
-bash: bindcat: No such file or directory

I get these messages ...

Regards,
Istvan


[1] http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_as_module
[2] http://markmail.org/message/jjjvj3my3rk7edrb


2010. október 30. 16:15 Richie írta, <listmail@xxxxxxxxxxxx>:
On 10/30/2010 09:37 AM, István HERCZEG wrote:
lspci -k
..
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 8383
Kernel driver in use: ehci_hcd
..
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 8383
Kernel driver in use: ehci_hcd
...

then echo -n "domain:bus:slot:.role" > /sys/bus/pci....

at this point:
echo -n "0000:1a.0" > /sys/bus/pci/drivers/ehci_hcd/unbind

i get an error message:
-bash: echo: write error: No such device

I'm not expert on this but I think the format you want is 0000:XX:XX.X, so try "0000:00:1a.0" and see how that goes.

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