Hi all, This has, i''m sure, been told a lot of time but i haven''t found any things to solve my problems. Here is it: I wan''t to export a usb port on DomU (CentOS 5) from my Dom0 (Debian Etch). I have only succeded with the pci export but with the next command: "xm create machine pci=00:1d.0" With having many differents syntaxes in the machine configuration file would not work for me. Does anybody know how to do it in the conf file? Or perhaps with a usb export (it would be what i want finally)? Xen version : 3.0.3-1 from Debian stable packages Thanks. Regards. Julien. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Up! Hello again, I''m still having problems to automatically give a pci device to a DomU. I put the "pciback.hide=(00:1d.0)(04:00.0)" argument to grub. While passing the device id to the "xm" command works it do not in the configuration file with the line : pci = [''00:1d.1'',''04:00.0''] Here is the result of the command : xen:~# xm create vm.fp Using config file "/etc/xen/vm.fp". Error: pci: PCI Backend does not own device 0000:00:1d.1 See the pciback.hide kernel command-line parameter or bind your slot/device to the PCI backend using sysfs I tried with "echo -n ..." but i got an error message too : xen:~# echo -n 0000:00:1d.1 > /sys/bus/pci/drivers/pciback/new_slot xen:~# echo -n 0000:00:1d.1 > /sys/bus/pci/drivers/pciback/bind -bash: echo: write error: Aucun peripherique de ce type Which means "no type of this device". Any help would be great. Thanks. Julien. Julien Reveillet a écrit :> Hi all, > > This has, i''m sure, been told a lot of time but i haven''t found any > things to solve my problems. > Here is it: > > I wan''t to export a usb port on DomU (CentOS 5) from my Dom0 (Debian > Etch). > > I have only succeded with the pci export but with the next command: > "xm create machine pci=00:1d.0" > > With having many differents syntaxes in the machine configuration file > would not work for me. > > Does anybody know how to do it in the conf file? > > Or perhaps with a usb export (it would be what i want finally)? > > Xen version : 3.0.3-1 from Debian stable packages > > Thanks. > > Regards. > Julien. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Julien Reveillet schrieb:> Up! > > Hello again, > > I''m still having problems to automatically give a pci device to a DomU. > > I put the "pciback.hide=(00:1d.0)(04:00.0)" argument to grub. > > While passing the device id to the "xm" command works it do not in the > configuration file with the line : pci = [''00:1d.1'',''04:00.0''] > > Here is the result of the command : > > xen:~# xm create vm.fp > Using config file "/etc/xen/vm.fp". > Error: pci: PCI Backend does not own device 0000:00:1d.1 > See the pciback.hide kernel command-line parameter or > bind your slot/device to the PCI backend using sysfs > > I tried with "echo -n ..." but i got an error message too : > > xen:~# echo -n 0000:00:1d.1 > /sys/bus/pci/drivers/pciback/new_slot > xen:~# echo -n 0000:00:1d.1 > /sys/bus/pci/drivers/pciback/bind > -bash: echo: write error: Aucun peripherique de ce type > > Which means "no type of this device". > > Any help would be great. > Thanks. > > Julien. > > Julien Reveillet a écrit : >> Hi all, >> >> This has, i''m sure, been told a lot of time but i haven''t found any >> things to solve my problems. >> Here is it: >> >> I wan''t to export a usb port on DomU (CentOS 5) from my Dom0 (Debian >> Etch). >> >> I have only succeded with the pci export but with the next command: >> "xm create machine pci=00:1d.0" >> >> With having many differents syntaxes in the machine configuration >> file would not work for me. >> >> Does anybody know how to do it in the conf file? >> >> Or perhaps with a usb export (it would be what i want finally)? >> >> Xen version : 3.0.3-1 from Debian stable packages >> >> Thanks. >> >> Regards. >> Julien. >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >Hello is usb export perhabs a problem with missing usbfs in Dom0 (Etch) ? with Debian Etch for Dom0, Xen 3.1 and Windows HVM xen needs /proc/bus/usb/devices etc. so I have to mount -t usbfs none /proc/bus/usb. It seems that to use usbfs is no standard with etch anymore. Georg _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Georg Fleckenstein schrieb:> Julien Reveillet schrieb: >> Up! >> >> Hello again, >> >> I''m still having problems to automatically give a pci device to a DomU. >> >> I put the "pciback.hide=(00:1d.0)(04:00.0)" argument to grub. >> >> While passing the device id to the "xm" command works it do not in the >> configuration file with the line : pci = [''00:1d.1'',''04:00.0''] >> >> Here is the result of the command : >> >> xen:~# xm create vm.fp >> Using config file "/etc/xen/vm.fp". >> Error: pci: PCI Backend does not own device 0000:00:1d.1 >> See the pciback.hide kernel command-line parameter or >> bind your slot/device to the PCI backend using sysfs > > Hello > is usb export perhabs a problem with missing usbfs in Dom0 (Etch) ? > with Debian Etch for Dom0, Xen 3.1 and Windows HVM xen needs > /proc/bus/usb/devices etc. > so I have to mount -t usbfs none /proc/bus/usb. > It seems that to use usbfs is no standard with etch anymore.This is unlikely. To my knowledge, you''d better not bind the exported device in the domO. Even the respective kernel module should be told to not bind that device, or blacklisted at all. I assume the device is not completely exported. dom0 is told via grub line to pciback.hide the 00:1d.0 but not 00:1d.1. This is exactly what the xm create says. I think it''s not possible to route partial devices (e.g. one of four usb hubs served by the same chip) Greetings Stephan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,> I''m still having problems to automatically give a pci device to a DomU. > > I put the "pciback.hide=(00:1d.0)(04:00.0)" argument to grub. > > While passing the device id to the "xm" command works it do not in the > configuration file with the line : pci = [''00:1d.1'',''04:00.0''] > > Here is the result of the command : > > xen:~# xm create vm.fp > Using config file "/etc/xen/vm.fp". > Error: pci: PCI Backend does not own device 0000:00:1d.1 > See the pciback.hide kernel command-line parameter or > bind your slot/device to the PCI backend using sysfsCan you post the output of "dmesg" in dom0? There should be messages in there about the PCI backend grabbing that device... Try taking the dmesg after you''ve tried to manually bind the device to see if that generated any messages.> I tried with "echo -n ..." but i got an error message too : > > xen:~# echo -n 0000:00:1d.1 > /sys/bus/pci/drivers/pciback/new_slot > xen:~# echo -n 0000:00:1d.1 > /sys/bus/pci/drivers/pciback/bind > -bash: echo: write error: Aucun peripherique de ce type > > Which means "no type of this device".A thought... is it possible your pciback is compiled as a module? If it is, it probably can''t "steal" the devices you''ve requested it to hide. In this case, you''ll need to manually "unbind" the devices from their current drivers... Do an ls -l "/sys/bus/pci/devices/0000:00:1d.1" There''s probably a symlink in there called "driver", right? If you do an echo -n "0000:00:1d.1" > "/sys/bus/pci/devices/0000:00:1d.1/driver/unbind" Does that succeed? Are you able to manually add the device to pciback now?> Any help would be great.Hope that helps, Cheers, Mark> Thanks. > > Julien. > > Julien Reveillet a écrit : > > Hi all, > > > > This has, i''m sure, been told a lot of time but i haven''t found any > > things to solve my problems. > > Here is it: > > > > I wan''t to export a usb port on DomU (CentOS 5) from my Dom0 (Debian > > Etch). > > > > I have only succeded with the pci export but with the next command: > > "xm create machine pci=00:1d.0" > > > > With having many differents syntaxes in the machine configuration file > > would not work for me. > > > > Does anybody know how to do it in the conf file? > > > > Or perhaps with a usb export (it would be what i want finally)? > > > > Xen version : 3.0.3-1 from Debian stable packages > > > > Thanks. > > > > Regards. > > Julien. > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users