Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

[Xen-users] USB-controller in domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] USB-controller in domU
From: Morten Bøgeskov <xen-users@xxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Sep 2007 14:01:58 +0200
Delivery-date: Thu, 27 Sep 2007 05:03:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) H3 (4.1.3)

Hello.

Can somebody tell me what I'm doing wrong?

I've got an old Tyan/AMD motherboard and I would like to get the USB-controller into the domU (xen 3.1 no pae)

In the BIOS I've disabled: USB BIOS Legacy Support

In the dom0 I've completely disabled USB
I've started the dom0 with: pciback.hide=(00:07.4)(00:0b.0)(01:05.0)(02:08.0)(02:09.0)
(from lspci -nn)
00:07.4 USB Controller [0c03]: Advanced Micro Devices [AMD] AMD-766 [ViperPlus] USB [1022:7414] (rev 07)
And pciback has is according to /sys/bus/pci/drivers/pciback/slots

So far so good.

According to xend.log It gets assigned to the domU:

[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) XendDomainInfo.constructDomain [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) Balloon: 262588 KiB free; need 2048; done.
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) Adding Domain: 3
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) XendDomainInfo.initDomain: 3 256 [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) _initDomain:shadow_memory=0x0, memory_static_max=0x10000000, memory_static_min=0x0. [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) Balloon: 262588 KiB free; need 262144; done. [2007-09-27 15:30:45 3407] INFO (__init__:1072) buildDomain os=linux dom=3 vcpus=1
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) domid          = 3
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) memsize        = 256
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) image = /usr/src/linux-2.6.18-xenU/vmlinux
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) store_evtchn   = 1
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) console_evtchn = 2
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) cmdline = root=/dev/hda1 ro ip=172.19.1.55::172.19.1.49:255.255.255.240:whitelist.dk:eth0:
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) ramdisk        =
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) vcpus          = 1
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) features       =
snip

[2007-09-27 15:30:45 3407] INFO (__init__:1072) createDevice: pci : {'devs': [{'slot': '0x07', 'bus': '0x00', 'domain': '0x0', 'func': '0x4'}, {'slot': '0x0b', 'bus': '0x00', 'domain': '0x0', 'func': '0x0'}, {'slot': '0x05', 'bus': '0x01', 'domain': '0x0', 'func': '0x0'}, {'slot': '0x08', 'bus': '0x02', 'domain': '0x0', 'func': '0x0'}, {'slot': '0x09', 'bus': '0x02', 'domain': '0x0', 'func': '0x0'}], 'uuid': '8ac0de76-b889-2969-01cd-eb0223d938d0'} [2007-09-27 15:30:45 3407] INFO (__init__:1072) NO quirks found for PCI device [1022:7414:0000:0000] [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) Permissive mode NOT enabled for PCI device [1022:7414:0000:0000] [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling iomem 0xdc000/0x1000 pfn 0xdc/0x1
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling irq 17
[2007-09-27 15:30:45 3407] INFO (__init__:1072) NO quirks found for PCI device [1073:0012:1073:0012] [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) Permissive mode NOT enabled for PCI device [1073:0012:1073:0012] [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling ioport 0x1000/0x40 [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling ioport 0x1094/0x4 [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling iomem 0xe0800000/0x8000 pfn 0xe0800/0x8
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling irq 17
[2007-09-27 15:30:45 3407] INFO (__init__:1072) NO quirks found for PCI device [10de:0322:0000:0000] [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) Permissive mode NOT enabled for PCI device [10de:0322:0000:0000] [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling iomem 0xe1000000/0x1000000 pfn 0xe1000/0x1000 [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling iomem 0xe8000000/0x8000000 pfn 0xe8000/0x8000
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling irq 18
[2007-09-27 15:30:45 3407] INFO (__init__:1072) NO quirks found for PCI device [4444:0016:0070:e807] [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) Permissive mode NOT enabled for PCI device [4444:0016:0070:e807] [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling iomem 0xf0000000/0x4000000 pfn 0xf0000/0x4000
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling irq 18
[2007-09-27 15:30:45 3407] INFO (__init__:1072) NO quirks found for PCI device [4444:0016:0070:e817] [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) Permissive mode NOT enabled for PCI device [4444:0016:0070:e817] [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling iomem 0xf4000000/0x4000000 pfn 0xf4000/0x4000
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) pci: enabling irq 17
[2007-09-27 15:30:45 3407] DEBUG (__init__:1072) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/pci/3/0'} to /local/domain/3/device/pci/0. [2007-09-27 15:30:45 3407] DEBUG (__init__:1072) DevController: writing {'domain': 'Client', 'frontend': '/local/domain/3/device/pci/0', 'uuid': '8ac0de76-b889-2969-01cd-eb0223d938d0', 'dev-3': '0000:02:08.00', 'dev-2': '0000:01:05.00', 'dev-1': '0000:00:0b.00', 'dev-0': '0000:00:07.04', 'dev-4': '0000:02:09.00', 'state': '1', 'online': '1', 'frontend-id': '3', 'num_devs': '5'} to /local/domain/0/backend/pci/3/0.
[snip]


However the lspci in domU does not tell about any USB-controller (needless to say I don't get any usb-devices ;-)

I've attached (atleast tried to) the relevant kernel-config files, dmesg and lspci output.

Can somebody give me a pointer to where I go wrong

Yours
 Morten Bøgeskov

Attachment: dom0-config
Description: Text document

Attachment: dom0-dmesg
Description: Text document

Attachment: dom0-lspci
Description: Text document

Attachment: domU-config
Description: Text document

Attachment: domU-dmesg
Description: Text document

Attachment: domU-lspci
Description: Text document

Attachment: domU-slots
Description: Text document

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] USB-controller in domU, Morten Bøgeskov <=