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] How do you give USB to a Windows domU?

To: James Pifer <jep@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] How do you give USB to a Windows domU?
From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Date: Wed, 4 Nov 2009 01:42:52 +0800
Cc: space.time.universe@xxxxxxxxx, Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>, Nick Couchman <Nick.Couchman@xxxxxxxxx>
Delivery-date: Tue, 03 Nov 2009 09:43:53 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Q0bGUqU3uIbDZQ7pL5SPG3ii4A4zmbFOIT7sPxS6hTk=; b=ZcBNljsu4p7FE9xvO8L71bHxOTUEPfoF/Ii/6+QuX8AnVJhdlmumemGMqld1Hv7DeY nmyhj9RLh+0qYLBUmb/G1KNxQ19+6v353fvnSGZjD+39Ht2rZZsoGXyda+a4S2GBtNRo X3hQT18cluBVMY2BkoVPuMMjh+gqmkhHsrws8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PHShdKpdLzHqkRGx7sqkJWrM/1kLXvZ8WUhPwsLSmPM8zxNrB8qd8zjjBCR+Fq509l TrfHmrhxO3pv4P3rsRn/Y6AVFMe9xM8rhIiDVpjJz00NQ7JuZtikPELob7C/XGyq641l OkTzWYjXSSSJkA/89WwdVJcnvrMhAosoapdSQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1257269423.2711.75.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4AEAEAC9020000990007323F@xxxxxxxxxxxxxxxxxxxxx> <1257261447.2711.53.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4AEFE9740200009900029596@xxxxxxxxxxxxxxxxxxxxx> <1257263029.2711.57.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4AEFEE0102000099000295DB@xxxxxxxxxxxxxxxxxxxxx> <1257263845.2711.61.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4AEFF10202000099000295F4@xxxxxxxxxxxxxxxxxxxxx> <1257266953.2711.67.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <f712b9cf0911030914g8a06f17gee89c925bcc1b72d@xxxxxxxxxxxxxx> <1257269423.2711.75.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
After you have started Vista virtual machine, can you post your "brctl show" output and contents of /var/log/xen/qemu-dm-Vista.log again.

You might want to try Fedora 11 64-bit with Xen 3.4-testing and latest pv-ops dom0 kernel 2.6.31.5 like me.

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
My Secondary Blog: http://enmingteo.wordpress.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Email: space.time.universe@xxxxxxxxx
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Road
Country: Singapore

On Wed, Nov 4, 2009 at 1:30 AM, James Pifer <jep@xxxxxxxxxxxxxxxx> wrote:
On Wed, 2009-11-04 at 01:14 +0800, Mr. Teo En Ming (Zhang Enming) wrote:
> According to brctl show, your ethernet bride is eth4 and not peth4.
>
> Try this:
>
> vif=[ 'mac=00:16:3e:1a:45:41,bridge=eth4' ]
>
> --


I'm wondering if I should try centos. I can get newer packages for xen
on centos I believe.

I tried what you suggested and still got the same thing. Still no go.

[2009-11-03 11:23:22 5603] DEBUG (XendDomain:1006) Creating new managed domain: Vista
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:2304) XendDomainInfo.constructDomain
[2009-11-03 11:23:26 5603] DEBUG (balloon:166) Balloon: 32122132 KiB free; need 4096; done.
[2009-11-03 11:23:26 5603] DEBUG (XendDomain:453) Adding Domain: 12
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:2505) XendDomainInfo.initDomain: 12 256
[2009-11-03 11:23:26 5603] DEBUG (image:322) No VNC passwd configured for vfb access
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: boot, val: c
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: fda, val: None
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: fdb, val: None
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: soundhw, val: None
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: localtime, val: 1
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: serial, val: ['pty']
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: std-vga, val: 0
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: isa, val: 0
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: acpi, val: 1
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: usb, val: 1
[2009-11-03 11:23:26 5603] DEBUG (image:813) args: usbdevice, val: host:0951:1607
[2009-11-03 11:23:26 5603] INFO (image:749) Need to create platform device.[domid:12]
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:2529) _initDomain:shadow_memory=0x0, memory_static_max=0x40000000, memory_static_min=0x0.
[2009-11-03 11:23:26 5603] DEBUG (balloon:166) Balloon: 32120700 KiB free; need 1067008; done.
[2009-11-03 11:23:26 5603] INFO (image:173) buildDomain os=hvm dom=12 vcpus=2
[2009-11-03 11:23:26 5603] DEBUG (image:866) domid          = 12
[2009-11-03 11:23:26 5603] DEBUG (image:867) image          = /usr/lib/xen/boot/hvmloader
[2009-11-03 11:23:26 5603] DEBUG (image:868) store_evtchn   = 3
[2009-11-03 11:23:26 5603] DEBUG (image:869) memsize        = 1024
[2009-11-03 11:23:26 5603] DEBUG (image:870) target         = 1024
[2009-11-03 11:23:26 5603] DEBUG (image:871) vcpus          = 2
[2009-11-03 11:23:26 5603] DEBUG (image:872) acpi           = 1
[2009-11-03 11:23:26 5603] DEBUG (image:873) apic           = 1
[2009-11-03 11:23:26 5603] INFO (XendDomainInfo:2168) createDevice: vfb : {'vncunused': 1, 'other_config': {'vncunused': 1, 'vnc': '1'}, 'vnc': '1', 'uuid': 'ecf80d39-153a-f383-f43b-85c6cb4fe3d0'}
[2009-11-03 11:23:26 5603] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/12/0'} to /local/domain/12/device/vfb/0.
[2009-11-03 11:23:26 5603] DEBUG (DevController:97) DevController: writing {'vncunused': '1', 'domain': 'Vista', 'frontend': '/local/domain/12/device/vfb/0', 'uuid': 'ecf80d39-153a-f383-f43b-85c6cb4fe3d0', 'frontend-id': '12', 'state': '1', 'online': '1', 'vnc': '1'} to /local/domain/0/backend/vfb/12/0.
[2009-11-03 11:23:26 5603] INFO (XendDomainInfo:2168) createDevice: vbd : {'uuid': 'bb26be09-2e6d-602a-9d6c-98f7aa8d1b5f', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda', 'uname': 'file:/xendata2/images/Vista/disk0', 'mode': 'w'}
[2009-11-03 11:23:26 5603] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/12/768'} to /local/domain/12/device/vbd/768.
[2009-11-03 11:23:26 5603] DEBUG (DevController:97) DevController: writing {'domain': 'Vista', 'frontend': '/local/domain/12/device/vbd/768', 'uuid': 'bb26be09-2e6d-602a-9d6c-98f7aa8d1b5f', 'bootable': '1', 'dev': 'hda', 'state': '1', 'params': '/xendata2/images/Vista/disk0', 'mode': 'w', 'online': '1', 'frontend-id': '12', 'type': 'file'} to /local/domain/0/backend/vbd/12/768.
[2009-11-03 11:23:26 5603] INFO (XendDomainInfo:2168) createDevice: vif : {'bridge': 'eth4', 'mac': '00:16:3e:1a:45:41', 'uuid': '10b23fcd-acbe-c507-3593-640c6131f533'}
[2009-11-03 11:23:26 5603] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:1a:45:41', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/12/0'} to /local/domain/12/device/vif/0.
[2009-11-03 11:23:26 5603] DEBUG (DevController:97) DevController: writing {'bridge': 'eth4', 'domain': 'Vista', 'handle': '0', 'uuid': '10b23fcd-acbe-c507-3593-640c6131f533', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:1a:45:41', 'frontend-id': '12', 'state': '1', 'online': '1', 'frontend': '/local/domain/12/device/vif/0'} to /local/domain/0/backend/vif/12/0.
[2009-11-03 11:23:26 5603] INFO (image:394) spawning device models: /usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '12', '-domain-name', 'Vista', '-videoram', '4', '-vnc', '127.0.0.1:0', '-vncunused', '-vcpus', '2', '-boot', 'c', '-localtime', '-serial', 'pty', '-acpi', '-usb', '-usbdevice', 'host:0951:1607', '-net', 'nic,vlan=1,macaddr=00:16:3e:1a:45:41,model=rtl8139', '-net', 'tap,vlan=1,ifname=tap12.0,bridge=eth4', '-M', 'xenfv']
[2009-11-03 11:23:26 5603] INFO (image:443) device model pid: 23382
[2009-11-03 11:23:26 5603] INFO (image:531) waiting for sentinel_fifo
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:3060) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '10', 'uuid': 'abf38e32-96d7-dcdd-ac1c-76a0c62adc1b', 'on_reboot': 'restart', 'start_time': '1257269006.36', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'destroy', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'bootloader': '', 'image': '(hvm (kernel ) (videoram 4) (hpet 0) (stdvga 0) (loader /usr/lib/xen/boot/hvmloader) (serial pty) (vncunused 1) (xen_platform_pci 1) (boot c) (rtc_timeoffset 0) (pci ()) (pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi 1) (localtime 1) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type default) (pci_msitranslate 1) (apic 1) (monitor 0) (usbdevice host:0951:1607) (device_model /usr/lib/xen/bin/qemu-dm) (pci_power_mgmt 0) (usb 1) (xauthority /root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))', 'name': 'Vista'}
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:1622) Storing domain details: {'console/port': '4', 'name': 'Vista', 'console/limit': '1048576', 'store/port': '3', 'vm': '/vm/abf38e32-96d7-dcdd-ac1c-76a0c62adc1b', 'domid': '12', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '1048576', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '1044476', 'cpu/1/availability': 'online', 'console/type': 'ioemu'}
[2009-11-03 11:23:26 5603] DEBUG (DevController:139) Waiting for devices vif.
[2009-11-03 11:23:26 5603] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/12/0'} to /local/domain/12/device/console/0.
[2009-11-03 11:23:26 5603] DEBUG (DevController:144) Waiting for 0.
[2009-11-03 11:23:26 5603] DEBUG (DevController:97) DevController: writing {'domain': 'Vista', 'frontend': '/local/domain/12/device/console/0', 'uuid': '12f0151f-6f80-887e-ff47-f98302e69222', 'frontend-id': '12', 'state': '1', 'location': '4', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/12/0.
[2009-11-03 11:23:26 5603] DEBUG (XendDomainInfo:1709) XendDomainInfo.handleShutdownWatch
[2009-11-03 11:23:26 5603] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/12/0/hotplug-status.
[2009-11-03 11:25:06 5603] WARNING (XendDomain:1048) Failed to setup devices for <domain id=12 name=Vista memory=1073741824 state=paused>: Device 0 (vif) could not be connected. Hotplug scripts not working.
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2732) XendDomainInfo.destroy: domid=12
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2207) Destroying device model
[2009-11-03 11:25:06 5603] INFO (image:556) Vista device model terminated
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2214) Releasing devices
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2227) Removing vif/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2227) Removing vbd/768
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2227) Removing vfb/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2227) Removing console/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2212) No device model
[2009-11-03 11:25:06 5603] DEBUG (XendDomainInfo:2214) Releasing devices







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