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] USB Support for DomU - pciback.hide Problem

To: Janusz Ulanowski <janul666@xxxxxxxxx>
Subject: Re: [Xen-users] USB Support for DomU - pciback.hide Problem
From: Pierre Bernhardt <pierre@xxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Oct 2007 15:24:40 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 17 Oct 2007 06:25:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4cdb57b90710170537g66b33eb1ve933165e795b3012@xxxxxxxxxxxxxx>
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: <4712318B.9080309@xxxxxxxxxx> <4cdb57b90710170537g66b33eb1ve933165e795b3012@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Janusz Ulanowski schrieb:
> On 14/10/2007, Alexandros Manakos <alexandros@xxxxxxxxxx> wrote:
>> Hey everybody,
>>
>> i have a problem getting the usb interface running in my domU. I
>> successfully booted my dom0 and the log says "/pciback 0000:00:1d.7:
>> seizing device" (so did the parameters in grub.conf etc.)
>> / I also successfully started the virtual machine (domU) with "xm create
>> xmDebian pci=0000:00:1d.7" with no errors.
>> BUT when i connect to the domU machine and make a "lspci" it shows
>> nothing...no devices...
Janusz Ulanowski schrieb:
> On 14/10/2007, Alexandros Manakos <alexandros@xxxxxxxxxx> wrote:
>> Hey everybody,
>>
>> i have a problem getting the usb interface running in my domU. I
>> successfully booted my dom0 and the log says "/pciback 0000:00:1d.7:
>> seizing device" (so did the parameters in grub.conf etc.)
>> / I also successfully started the virtual machine (domU) with "xm create
>> xmDebian pci=0000:00:1d.7" with no errors.
Hi,

I'd run a config which use my whole usb card in domu on debian xen on etch
(3.0.3).

My NEC Usb and my ALi USB has claimed more than one pci devices. Here a
tree of mypcidevices with ali:

xen:/etc/xen# lspci -vt
-[0000:00]-+-00.0  Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Conr
           +-01.0-[0000:01]----05.0  nVidia Corporation NV43 [GeForce 6200]
           +-07.0  Advanced Micro Devices [AMD] AMD-768 [Opus] ISA
           +-07.1  Advanced Micro Devices [AMD] AMD-768 [Opus] IDE
           +-07.3  Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI
           +-08.0-[0000:02]--+-00.0  Sun Microsystems Computer Corp. EBUS
           |                 +-00.1  Sun Microsystems Computer Corp. Happy Meal
           |                 +-01.0  Sun Microsystems Computer Corp. EBUS
           |                 +-01.1  Sun Microsystems Computer Corp. Happy Meal
           |                 +-02.0  Sun Microsystems Computer Corp. EBUS
           |                 +-02.1  Sun Microsystems Computer Corp. Happy Meal
           |                 +-03.0  Sun Microsystems Computer Corp. EBUS
           |                 \-03.1  Sun Microsystems Computer Corp. Happy Meal
           +-09.0  Adaptec AHA-3960D / AIC-7899A U160/m
           +-09.1  Adaptec AHA-3960D / AIC-7899A U160/m
           \-10.0-[0000:03]--+-00.0  Advanced Micro Devices [AMD] AMD-768 [OpusB
                             +-04.0  Adaptec AHA-2940U/UW/D / AIC-7881U
                             +-05.0  Silicon Image, Inc. SiI 3114 [SATALink/SATr
                             +-07.0  ALi Corporation USB 1.1 Controller
                             +-07.1  ALi Corporation USB 1.1 Controller
                             +-07.2  ALi Corporation USB 1.1 Controller
                             +-07.3  ALi Corporation USB 2.0 Controller
                             \-08.0  3Com Corporation 3c905C-TX/TX-M [Tornado]


I'd trouble by pass only one of them to the domu so could you check
first, that you will export all your pci-devices of the usb-card?

Which xen-version is used in domu please?

Is it an hvm domu? Im not shure but I mean exporting pci-devices to an
hvm dom is not working, yet.

Could you give me a pcilist -tv to see your device tree, please?

Do you have checked, that the device is really claimed by the pciback?
Check with ls -l /sys/bus/pci/devices/0000\:00\:1d.7. Here is an example:
xen:/etc/xen# ls -l /sys/bus/pci/devices/0000\:02\:00.1/driver|less
lrwxrwxrwx 1 root root 0 2007-10-17 13:17 /sys/bus/pci/devices/0000:02:00.1/\
driver -> ../../../../bus/pci/drivers/pciback

And last question: Which guest kernel you are using?

MfG...
Pierre Bernhardt

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users