| 
         
xen-users
Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE
 
I found the reason way I can't find the ../pciback directory. The pciback module makes available ../pciback. After I did modprobe pciback  then I can access /sys/bus/pci/drivers/pciback and wirte the new_slot and bind (instead of bindcat) 
 doing:  dmesg | grep -i seiz [ 1613.652339] pciback 0000:00:1a.0: seizing device [ 1700.984342] pciback 0000:00:1d.0: seizing device
  seems ok.
  but xm create windowsxp-2 pci=00:1a.0 pci=00:1d.0 
Using config file "./windowsxp-2". Error: failed to assign device: maybe the platform doesn't support VT-d, or VT-d isn't enabled properly?
  :( failure again...
 
 
 
 
2010. október 30. 17:56 Richie írta,  <listmail@xxxxxxxxxxxx>: 
On 10/30/2010 11:39 AM, István HERCZEG wrote: 
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 
 
 
 
 
This is from some notes I have, but 
first find your device in lspci -n output 
 
Say I had a device as follows: 
00:01.0 0604: 8086:29a1 (rev 02) 
 
I'd try: 
echo "8086 29a1" > /sys/bus/pci/drivers/pci-stub/new_id 
echo "0000:00:01.0" > /sys/bus/pci/devices/0000:00:01.0/driver/unbind 
echo "0000:00:01.0" > /sys/bus/pci/drivers/pci-stub/bind 
 
 
  
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-users] can not unbind pci device, xen kernel, openSUSE, István HERCZEG
- Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE, Richie
- Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE, István HERCZEG
- Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE, Richie
 - Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE, Richie
 
- Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE,
István HERCZEG <=
 - Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE, István HERCZEG
 
  
  
 
 
 
 |  
  
| Previous by Date:  | 
Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE, Richie | 
 
| Next by Date:  | 
Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE, István HERCZEG | 
 
| Previous by Thread:  | 
Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE, Richie | 
 
| Next by Thread:  | 
Re: [Xen-users] can not unbind pci device, xen kernel, openSUSE, István HERCZEG | 
 
| Indexes:  | 
[Date]
[Thread]
[Top]
[All Lists] | 
 
 
 
 | 
    |