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

[Xen-users] Xen 3.0.4 + HVM Windows 2003R2 + USB

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 3.0.4 + HVM Windows 2003R2 + USB
From: "Peter Fastré" <peter.fastre@xxxxxxxxx>
Date: Mon, 28 Apr 2008 15:25:32 +0200
Delivery-date: Mon, 28 Apr 2008 06:26:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=bMePoAaqcUuHZlxQIE8zHf8huZ9oaL3JqaHc5V4FP2g=; b=BcK5T3RkNzh4Fr1STIUFfWxleDwxylGrysvu+Dud+s2H+d5ktx9dOvuZJDP4UNNvZyTjfW6wQBfJzj5sKCsLk9tHY5ag8Lo/8oAHCKuZq/6JvgXJTDbylQzco09Qa5wJXoR2Dw1UlRGA1hhPf8nI9mOlILjD9fxRG8oaOHkLHCg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=iPxo4/9vRqRGotma/0Baz+aNbQ0FZLsACjZc0BPlL0qU/BOuNFrGhmmj1a3yTdfdqMfTprEcS6Gsvb2NXLIUah8B4ibZcuznNuK34kUXKwzFhXy3nb7toUSDgyNvMOUHy+gtHwi+1QwUQw8sgeTumVkgxlJea5om22URtpp2YE0=
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
Hello folks,

I know, I'm still using an old Xen version. But I suppose it should work what I'm trying to do.
I'm trying to create a Windows domU on a Xen host with mainly linux domU's. That's ok, it's working. What's not working is the USB in the Windows domU.
I've done the following:
root@zen01:/xen# lspci
00:00.0 Host bridge: Intel Corporation 5000X Chipset Memory Controller Hub (rev 31)
00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 2 (rev 31)
00:03.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 3 (rev 31)
00:04.0 PCI bridge: Intel Corporation 5000X Chipset PCI Express x16 Port 4-7 (rev 31)
00:08.0 System peripheral: Intel Corporation 5000 Series Chipset DMA Engine (rev 31)
00:10.0 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting Registers (rev 31)
00:10.1 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting Registers (rev 31)
00:10.2 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting Registers (rev 31)
00:11.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev 31)
00:13.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev 31)
00:15.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev 31)
00:16.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev 31)
00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09)
00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09)
00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09)
00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #4 (rev 09)
00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9)
00:1e.2 Multimedia audio controller: Intel Corporation 631xESB/632xESB AC '97 Audio Controller (rev 09)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09)
00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev 09)
00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus Controller (rev 09)
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600 GT] (rev a2)
02:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01)
02:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01)
03:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01)
03:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E3 (rev 01)
04:00.0 PCI bridge: Intel Corporation 6702PXH PCI Express-to-PCI Bridge A (rev 09)
06:00.0 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN Controller Copper (rev 01)
06:00.1 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN Controller Copper (rev 01)
08:00.0 RAID bus controller: 3ware Inc Unknown device 1004 (rev 01)


I understood from the documentation that I should include the USB-PCI-devices in the Xen config file:
root@zen01:/xen# cat /etc/xen/windows01.conf
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = '1024'
device_model='/usr/lib/xen/bin/qemu-dm'

# Disks
disk = [ 'phy:/dev/vg/windows01_root,ioemu:hda,w','file:/xen/w2003disc1.iso,ioemu:hdc:cdrom,r' ]

# Hostname
name = 'windows01'

# Networking
vif = ['type=ioemu, bridge=xenbr0','type=ioemu,bridge=xenbr1']

# Behaviour
boot='d'
vnc=1
vncviewer=1
vnclisten='10.200.1.10'
sdl=0
pci = ['00:1d.0','00:1d.1','00:1d.2','00:1d.3','00:1d.7']

I also changed this in /boot/grub/menu.lst, to avoid the PCI-drives to be accessible in dom0:
title Xen 3.0.4 / XenLinux 2.6
root      (hd0,0)
kernel    /boot/xen-3.gz  dom0_mem=256000
module    /boot/vmlinuz-2.6-xen0 root=/dev/sda1 ro max_loop=255 pciback.hide=(00:1d.0)(00:1d.1)(00:1d.2)(00:1d.3)(00:1d.7)

Am I doing something wrong? Or is it impossible what I'm trying to do?

thanks in advance,

Peter


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>