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] Pci export configuration

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Pci export configuration
From: Georg Fleckenstein <georg.fleckenstein@xxxxxx>
Date: Tue, 04 Dec 2007 20:35:47 +0100
Delivery-date: Tue, 04 Dec 2007 11:36:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47551EB9.3020304@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <474ECF05.4010004@xxxxxxxxxxxxxxxxxxxxxx> <47551EB9.3020304@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>