[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] How do you give USB to a Windows domU?
On Tue, 2009-11-03 at 07:58 -0700, Nick Couchman wrote: > No, Xen keeps records of your Virtual Machines via xenstore and once > you've done either "xm new" or "xm create" you can start it subsequently > using "xm start". > > James, look at "xm log" and "xm dmesg" to see what's causing this - > usually a network or storage device not connecting correctly. > > -Nick Here's what I get in xm log when I try to start the domU. [2009-11-03 09:13:30 5603] DEBUG (XendDomainInfo:2304) XendDomainInfo.constructDomain [2009-11-03 09:13:30 5603] DEBUG (balloon:166) Balloon: 32122132 KiB free; need 4096; done. [2009-11-03 09:13:30 5603] DEBUG (XendDomain:453) Adding Domain: 6 [2009-11-03 09:13:30 5603] DEBUG (XendDomainInfo:2505) XendDomainInfo.initDomain: 6 256 [2009-11-03 09:13:30 5603] DEBUG (image:322) No VNC passwd configured for vfb access [2009-11-03 09:13:30 5603] DEBUG (image:813) args: boot, val: c [2009-11-03 09:13:30 5603] DEBUG (image:813) args: fda, val: None [2009-11-03 09:13:30 5603] DEBUG (image:813) args: fdb, val: None [2009-11-03 09:13:30 5603] DEBUG (image:813) args: soundhw, val: None [2009-11-03 09:13:30 5603] DEBUG (image:813) args: localtime, val: 1 [2009-11-03 09:13:30 5603] DEBUG (image:813) args: serial, val: ['pty'] [2009-11-03 09:13:30 5603] DEBUG (image:813) args: std-vga, val: 0 [2009-11-03 09:13:30 5603] DEBUG (image:813) args: isa, val: 0 [2009-11-03 09:13:30 5603] DEBUG (image:813) args: acpi, val: 1 [2009-11-03 09:13:30 5603] DEBUG (image:813) args: usb, val: 1 [2009-11-03 09:13:30 5603] DEBUG (image:813) args: usbdevice, val: host:0951:1607 [2009-11-03 09:13:30 5603] INFO (image:749) Need to create platform device.[domid:6] [2009-11-03 09:13:30 5603] DEBUG (XendDomainInfo:2529) _initDomain:shadow_memory=0xa, memory_static_max=0x40000000, memory_static_min=0x0. [2009-11-03 09:13:30 5603] DEBUG (balloon:166) Balloon: 32120700 KiB free; need 1067008; done. [2009-11-03 09:13:30 5603] INFO (image:173) buildDomain os=hvm dom=6 vcpus=2 [2009-11-03 09:13:30 5603] DEBUG (image:866) domid = 6 [2009-11-03 09:13:30 5603] DEBUG (image:867) image = /usr/lib/xen/boot/hvmloader [2009-11-03 09:13:30 5603] DEBUG (image:868) store_evtchn = 3 [2009-11-03 09:13:30 5603] DEBUG (image:869) memsize = 1024 [2009-11-03 09:13:30 5603] DEBUG (image:870) target = 1024 [2009-11-03 09:13:30 5603] DEBUG (image:871) vcpus = 2 [2009-11-03 09:13:30 5603] DEBUG (image:872) acpi = 1 [2009-11-03 09:13:30 5603] DEBUG (image:873) apic = 1 [2009-11-03 09:13:30 5603] INFO (XendDomainInfo:2168) createDevice: vfb : {'vncunused': 1, 'devid': 0, 'vnc': '1', 'uuid': '5605afb8-d54d-54dc-b983-8140b5436558', 'other_config': {'vncunused': 1, 'vnc': '1'}} [2009-11-03 09:13:30 5603] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/6/0'} to /local/domain/6/device/vfb/0. [2009-11-03 09:13:30 5603] DEBUG (DevController:97) DevController: writing {'vncunused': '1', 'domain': 'Vista', 'frontend': '/local/domain/6/device/vfb/0', 'uuid': '5605afb8-d54d-54dc-b983-8140b5436558', 'frontend-id': '6', 'state': '1', 'online': '1', 'vnc': '1'} to /local/domain/0/backend/vfb/6/0. [2009-11-03 09:13:30 5603] INFO (XendDomainInfo:2168) createDevice: vbd : {'uuid': 'e5b28c95-296b-b34d-ca26-d64fb31d46c3', 'bootable': 1, 'devid': 768, 'driver': 'paravirtualised', 'dev': 'hda', 'uname': 'file:/xendata2/images/Vista/disk0', 'mode': 'w'} [2009-11-03 09:13:30 5603] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/6/768'} to /local/domain/6/device/vbd/768. [2009-11-03 09:13:30 5603] DEBUG (DevController:97) DevController: writing {'domain': 'Vista', 'frontend': '/local/domain/6/device/vbd/768', 'uuid': 'e5b28c95-296b-b34d-ca26-d64fb31d46c3', 'bootable': '1', 'dev': 'hda', 'state': '1', 'params': '/xendata2/images/Vista/disk0', 'mode': 'w', 'online': '1', 'frontend-id': '6', 'type': 'file'} to /local/domain/0/backend/vbd/6/768. [2009-11-03 09:13:31 5603] INFO (XendDomainInfo:2168) createDevice: vif : {'mac': '00:16:3e:1a:45:41', 'devid': 0, 'type': 'ioemu', 'model': 'rtl8139', 'uuid': 'ace7ea85-4d3a-da5b-2a6c-2294f86de6b4'} [2009-11-03 09:13:31 5603] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/6/0'} to /local/domain/6/device/vif/0. [2009-11-03 09:13:31 5603] DEBUG (DevController:97) DevController: writing {'domain': 'Vista', 'frontend': '/local/domain/6/device/vif/0', 'uuid': 'ace7ea85-4d3a-da5b-2a6c-2294f86de6b4', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:1a:45:41', 'frontend-id': '6', 'state': '1', 'online': '1', 'handle': '0', 'model': 'rtl8139', 'type': 'ioemu'} to /local/domain/0/backend/vif/6/0. [2009-11-03 09:13:31 5603] INFO (image:394) spawning device models: /usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '6', '-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=tap6.0,bridge=xenbr0', '-M', 'xenfv'] [2009-11-03 09:13:31 5603] INFO (image:443) device model pid: 17985 [2009-11-03 09:13:31 5603] INFO (image:531) waiting for sentinel_fifo [2009-11-03 09:13:31 5603] WARNING (image:493) domain Vista: device model failure: pid 17985: exited with nonzero status 126; see /var/log/xen/qemu-dm-Vista.log [2009-11-03 09:13:31 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': '1257261211.05', '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 09:13:31 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': '6', '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 09:13:31 5603] WARNING (XendDomainInfo:1886) Domain has crashed: name=Vista id=6. [2009-11-03 09:13:31 5603] DEBUG (XendDomainInfo:2732) XendDomainInfo.destroy: domid=6 [2009-11-03 09:13:31 5603] DEBUG (DevController:139) Waiting for devices vif. [2009-11-03 09:13:31 5603] DEBUG (XendDomainInfo:2207) Destroying device model [2009-11-03 09:13:31 5603] DEBUG (DevController:144) Waiting for 0. [2009-11-03 09:13:31 5603] DEBUG (XendDomainInfo:2214) Releasing devices [2009-11-03 09:13:31 5603] DEBUG (XendDomainInfo:2227) Removing vif/0 [2009-11-03 09:13:31 5603] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status. [2009-11-03 09:13:31 5603] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0 [2009-11-03 09:13:31 5603] DEBUG (XendDomainInfo:2227) Removing vbd/768 [2009-11-03 09:13:31 5603] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768 [2009-11-03 09:13:31 5603] DEBUG (XendDomainInfo:2227) Removing vfb/0 [2009-11-03 09:13:31 5603] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0 [2009-11-03 09:15:11 5603] WARNING (XendDomain:1048) Failed to setup devices for <domain id=None name=Vista memory=1073741824 state=halted>: Device 0 not connected Here's what I have in xm dmesg: # xm dmesg __ __ _____ _ _ ____ _____ \ \/ /___ _ __ |___ /| || | |___ \ _ __ ___|___ / _ __ _ __ ___ \ // _ \ '_ \ |_ \| || |_ __) |__| '__/ __| |_ \ __| '_ \| '__/ _ \ / \ __/ | | | ___) |__ _| / __/|__| | | (__ ___) |__| |_) | | | __/ /_/\_\___|_| |_| |____(_) |_|(_)_____| |_| \___|____/ | .__/|_| \___| |_| (XEN) Xen version 3.4.2-rc3-pre (root@xxxxxxx) (gcc version 4.1.2 20070115 (SUSE Linux)) Mon Nov 2 13:20:52 CST 2009 (XEN) Latest ChangeSet: Thu Oct 29 15:02:30 2009 +0000 19815:d626b239fed1 (XEN) Command line: dom0_mem=1024M (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 2 seconds (XEN) Disc information: (XEN) Found 2 MBR signatures (XEN) Found 2 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009ec00 (usable) (XEN) 000000000009ec00 - 00000000000a0000 (reserved) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000df62f000 (usable) (XEN) 00000000df62f000 - 00000000df63c000 (ACPI data) (XEN) 00000000df63c000 - 00000000df63d000 (usable) (XEN) 00000000df63d000 - 00000000e4000000 (reserved) (XEN) 00000000fec00000 - 00000000fee10000 (reserved) (XEN) 00000000ff800000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 000000081ffff000 (usable) (XEN) System RAM: 32757MB (33543988kB) (XEN) ACPI: RSDP 000F4F00, 0024 (r2 HP ) (XEN) ACPI: XSDT DF62FDC0, 00B4 (r1 HP ProLiant 2 ï 162E) (XEN) ACPI: FACP DF62FEC0, 00F4 (r3 HP ProLiant 2 ï 162E) (XEN) ACPI: DSDT DF62FFC0, 1F95 (r1 HP DSDT 1 INTL 20030228) (XEN) ACPI: FACS DF62F100, 0040 (XEN) ACPI: SPCR DF62F140, 0050 (r1 HP SPCRRBSU 1 ï 162E) (XEN) ACPI: MCFG DF62F1C0, 003C (r1 HP ProLiant 1 0) (XEN) ACPI: HPET DF62F200, 0038 (r1 HP ProLiant 2 ï 162E) (XEN) ACPI: FFFF DF62F240, 0064 (r2 HP ProLiant 2 ï 162E) (XEN) ACPI: SPMI DF62F2C0, 0040 (r5 HP ProLiant 1 ï 162E) (XEN) ACPI: ERST DF62F300, 01D0 (r1 HP ProLiant 1 ï 162E) (XEN) ACPI: APIC DF62F500, 00DE (r1 HP ProLiant 2 0) (XEN) ACPI: SRAT DF62F600, 0370 (r1 HP Proliant 1 ï 162E) (XEN) ACPI: FFFF DF62F980, 0176 (r1 HP ProLiant 1 ï 162E) (XEN) ACPI: BERT DF62FB00, 0030 (r1 HP ProLiant 1 ï 162E) (XEN) ACPI: HEST DF62FB40, 00BC (r1 HP ProLiant 1 ï 162E) (XEN) ACPI: DMAR DF62FC00, 012C (r1 HP ProLiant 1 ï 162E) (XEN) ACPI: SSDT DF631F80, 0125 (r3 HP CRSPCI0 2 HP 1) (XEN) ACPI: SSDT DF6320C0, 01CF (r3 HP riser1a 2 INTL 20061109) (XEN) ACPI: SSDT DF6322C0, 021B (r1 HP pcc 1 INTL 20090625) (XEN) ACPI: SSDT DF632500, 0377 (r1 HP pmab 1 INTL 20090625) (XEN) ACPI: SSDT DF632880, 3094 (r1 INTEL PPM RCM 1 INTL 20061109) (XEN) Domain heap initialised (XEN) Processor #0 7:10 APIC version 21 (XEN) Processor #16 7:10 APIC version 21 (XEN) Processor #4 7:10 APIC version 21 (XEN) Processor #20 7:10 APIC version 21 (XEN) Processor #2 7:10 APIC version 21 (XEN) Processor #18 7:10 APIC version 21 (XEN) Processor #6 7:10 APIC version 21 (XEN) Processor #22 7:10 APIC version 21 (XEN) Processor #1 7:10 APIC version 21 (XEN) Processor #17 7:10 APIC version 21 (XEN) Processor #5 7:10 APIC version 21 (XEN) Processor #21 7:10 APIC version 21 (XEN) Processor #3 7:10 APIC version 21 (XEN) Processor #19 7:10 APIC version 21 (XEN) Processor #7 7:10 APIC version 21 (XEN) Processor #23 7:10 APIC version 21 (XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23 (XEN) IOAPIC[1]: apic_id 0, version 32, address 0xfec80000, GSI 24-47 (XEN) Enabling APIC mode: Phys. Using 2 I/O APICs (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2533.494 MHz processor. (XEN) VMX: Supported advanced features: (XEN) - APIC MMIO access virtualisation (XEN) - APIC TPR shadow (XEN) - Extended Page Tables (EPT) (XEN) - Virtual-Processor Identifiers (VPID) (XEN) - Virtual NMI (XEN) - MSR direct-access bitmap (XEN) VMX: EPT is available. (XEN) VMX: VPID is available. (XEN) HVM: VMX enabled (XEN) HVM: Hardware Assisted Paging detected. (XEN) CPU0: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 1/16 eip 8c000 (XEN) CPU1: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 2/4 eip 8c000 (XEN) CPU2: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 3/20 eip 8c000 (XEN) CPU3: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 4/2 eip 8c000 (XEN) CPU4: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 5/18 eip 8c000 (XEN) CPU5: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 6/6 eip 8c000 (XEN) CPU6: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 7/22 eip 8c000 (XEN) CPU7: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 8/1 eip 8c000 (XEN) CPU8: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 9/17 eip 8c000 (XEN) CPU9: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 10/5 eip 8c000 (XEN) CPU10: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 11/21 eip 8c000 (XEN) CPU11: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 12/3 eip 8c000 (XEN) CPU12: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 13/19 eip 8c000 (XEN) CPU13: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 14/7 eip 8c000 (XEN) CPU14: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Booting processor 15/23 eip 8c000 (XEN) CPU15: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz stepping 05 (XEN) Total of 16 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) checking TSC synchronization across 16 CPUs: passed. (XEN) Platform timer is 14.318MHz HPET (XEN) Brought up 16 CPUs (XEN) I/O virtualisation disabled (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 64-bit, lsb, compat32 (XEN) Dom0 kernel: 64-bit, lsb, paddr 0x100000 -> 0x4a3bdc (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 0000000808000000->0000000809000000 (258048 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff80100000->ffffffff804a3bdc (XEN) Init. ramdisk: ffffffff804a4000->ffffffff80cb4000 (XEN) Phys-Mach map: ffffffff80cb4000->ffffffff80eb4000 (XEN) Start info: ffffffff80eb4000->ffffffff80eb44b4 (XEN) Page tables: ffffffff80eb5000->ffffffff80ec0000 (XEN) Boot stack: ffffffff80ec0000->ffffffff80ec1000 (XEN) TOTAL: ffffffff80000000->ffffffff81000000 (XEN) ENTRY ADDRESS: ffffffff80100000 (XEN) Dom0 has maximum 16 VCPUs (XEN) Scrubbing Free RAM: ..........................................................................................................................................................................................................................................................................................................................done. (XEN) Xen trace buffers: disabled (XEN) Std. Loglevel: Errors and warnings (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 128kB init memory. (XEN) mm.c:806:d0 Error getting mfn 100 (pfn 2420) from L1 entry 0000000000100225 for l1e_owner=0, pg_owner=32753 (XEN) mm.c:806:d0 Error getting mfn 100 (pfn 2420) from L1 entry 0000000000100225 for l1e_owner=0, pg_owner=32753 (XEN) mm.c:806:d0 Error getting mfn 100 (pfn 2420) from L1 entry 0000000000100225 for l1e_owner=0, pg_owner=32753 (XEN) mm.c:806:d0 Error getting mfn 100 (pfn 2420) from L1 entry 0000000000100225 for l1e_owner=0, pg_owner=32753 (XEN) mm.c:806:d0 Error getting mfn 100 (pfn 2420) from L1 entry 0000000000100225 for l1e_owner=0, pg_owner=32753 (XEN) mm.c:806:d0 Error getting mfn 100 (pfn 2420) from L1 entry 0000000000100225 for l1e_owner=0, pg_owner=32753 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |