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: Julien Reveillet <j.reveillet@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 Dec 2007 10:32:41 +0100
Delivery-date: Tue, 04 Dec 2007 01:33:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <474ECF05.4010004@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
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

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