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

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


  • To: Richie <listmail@xxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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