[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-users] Network problem
Xm list shows no creation. Here is the entire log when xm create is issued [2010-01-19 09:22:25 2894] DEBUG (XendDomainInfo:2304) XendDomainInfo.constructDomain [2010-01-19 09:22:25 2894] DEBUG (balloon:166) Balloon: 113092 KiB free; need 4096; done. [2010-01-19 09:22:25 2894] DEBUG (XendDomain:453) Adding Domain: 1 [2010-01-19 09:22:25 2894] DEBUG (XendDomainInfo:2505) XendDomainInfo.initDomain: 1 256 [2010-01-19 09:22:25 2894] DEBUG (image:322) No VNC passwd configured for vfb access [2010-01-19 09:22:25 2894] DEBUG (image:813) args: boot, val: c [2010-01-19 09:22:25 2894] DEBUG (image:813) args: fda, val: None [2010-01-19 09:22:25 2894] DEBUG (image:813) args: fdb, val: None [2010-01-19 09:22:25 2894] DEBUG (image:813) args: soundhw, val: None [2010-01-19 09:22:25 2894] DEBUG (image:813) args: localtime, val: 0 [2010-01-19 09:22:25 2894] DEBUG (image:813) args: serial, val: ['pty'] [2010-01-19 09:22:25 2894] DEBUG (image:813) args: std-vga, val: 0 [2010-01-19 09:22:25 2894] DEBUG (image:813) args: isa, val: 0 [2010-01-19 09:22:25 2894] DEBUG (image:813) args: acpi, val: 1 [2010-01-19 09:22:25 2894] DEBUG (image:813) args: usb, val: 0 [2010-01-19 09:22:25 2894] DEBUG (image:813) args: usbdevice, val: None [2010-01-19 09:22:25 2894] INFO (image:749) Need to create platform device.[domid:1] [2010-01-19 09:22:25 2894] DEBUG (XendDomainInfo:2529) _initDomain:shadow_memory=0x0, memory_static_max=0x8000000, memory_static_min=0x0. [2010-01-19 09:22:25 2894] DEBUG (balloon:172) Balloon: 111808 KiB free; 0 to scrub; need 138240; retries: 20. [2010-01-19 09:22:25 2894] DEBUG (balloon:187) Balloon: setting dom0 target to 1630 MiB. [2010-01-19 09:22:25 2894] DEBUG (XendDomainInfo:1303) Setting memory target of domain Domain-0 (0) to 1630 MiB. [2010-01-19 09:22:25 2894] DEBUG (balloon:166) Balloon: 139068 KiB free; need 138240; done. [2010-01-19 09:22:25 2894] INFO (image:173) buildDomain os=hvm dom=1 vcpus=1 [2010-01-19 09:22:25 2894] DEBUG (image:866) domid = 1 [2010-01-19 09:22:25 2894] DEBUG (image:867) image = /usr/lib/xen/boot/hvmloader [2010-01-19 09:22:25 2894] DEBUG (image:868) store_evtchn = 2 [2010-01-19 09:22:25 2894] DEBUG (image:869) memsize = 128 [2010-01-19 09:22:25 2894] DEBUG (image:870) target = 128 [2010-01-19 09:22:25 2894] DEBUG (image:871) vcpus = 1 [2010-01-19 09:22:25 2894] DEBUG (image:872) acpi = 1 [2010-01-19 09:22:25 2894] DEBUG (image:873) apic = 1 [2010-01-19 09:22:25 2894] INFO (XendDomainInfo:2168) createDevice: vfb : {'vncunused': 1, 'other_config': {'vncunused': 1, 'vnc': '1'}, 'vnc': '1', 'uuid': '70e019ed-9fef-d993-64f5-034348fddb7b'} [2010-01-19 09:22:25 2894] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/1/0'} to /local/domain/1/device/vfb/0. [2010-01-19 09:22:25 2894] DEBUG (DevController:97) DevController: writing {'vncunused': '1', 'domain': 'testserver', 'frontend': '/local/domain/1/device/vfb/0', 'uuid': '70e019ed-9fef-d993-64f5-034348fddb7b', 'frontend-id': '1', 'state': '1', 'online': '1', 'vnc': '1'} to /local/domain/0/backend/vfb/1/0. [2010-01-19 09:22:25 2894] INFO (XendDomainInfo:2168) createDevice: vbd : {'uuid': 'ad665d18-f9c3-d70b-7e2a-fd913fc5e185', 'bootable': 1, 'driver': 'ioemu', 'dev': 'ioemu:hda', 'uname': 'phy:/dev/XEN/testserver', 'mode': 'w'} [2010-01-19 09:22:25 2894] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/768'} to /local/domain/1/device/vbd/768. [2010-01-19 09:22:25 2894] DEBUG (DevController:97) DevController: writing {'domain': 'testserver', 'frontend': '/local/domain/1/device/vbd/768', 'uuid': 'ad665d18-f9c3-d70b-7e2a-fd913fc5e185', 'bootable': '1', 'dev': 'hda', 'state': '1', 'params': '/dev/XEN/testserver', 'mode': 'w', 'online': '1', 'frontend-id': '1', 'type': 'phy'} to /local/domain/0/backend/vbd/1/768. [2010-01-19 09:22:25 2894] INFO (XendDomainInfo:2168) createDevice: vbd : {'uuid': 'c2cba0c1-47e4-934e-b905-957bce0d7c5e', 'bootable': 0, 'driver': 'ioemu', 'dev': 'ioemu:hdc:cdrom', 'uname': 'file:/home/support/Win2008SP2_32bit.ISO', 'mode': 'r'} [2010-01-19 09:22:25 2894] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/5632'} to /local/domain/1/device/vbd/5632. [2010-01-19 09:22:25 2894] DEBUG (DevController:97) DevController: writing {'domain': 'testserver', 'frontend': '/local/domain/1/device/vbd/5632', 'uuid': 'c2cba0c1-47e4-934e-b905-957bce0d7c5e', 'bootable': '0', 'dev': 'hdc', 'state': '1', 'params': '/home/support/Win2008SP2_32bit.ISO', 'mode': 'r', 'online': '1', 'frontend-id': '1', 'type': 'file'} to /local/domain/0/backend/vbd/1/5632. [2010-01-19 09:22:25 2894] INFO (XendDomainInfo:2168) createDevice: vif : {'bridge': 'eth0', 'mac': '00:16:3e:09:33:b7', 'type': 'ioemu', 'uuid': '874b6ddc-613b-197c-26c1-1c0cc143274e'} [2010-01-19 09:22:25 2894] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0. [2010-01-19 09:22:25 2894] DEBUG (DevController:97) DevController: writing {'bridge': 'eth0', 'domain': 'testserver', 'handle': '0', 'uuid': '874b6ddc-613b-197c-26c1-1c0cc143274e', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:09:33:b7', 'frontend-id': '1', 'state': '1', 'online': '1', 'frontend': '/local/domain/1/device/vif/0', 'type': 'ioemu'} to /local/domain/0/backend/vif/1/0. [2010-01-19 09:22:25 2894] INFO (image:394) spawning device models: /usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '1', '-domain-name', 'testserver', '-videoram', '4', '-vnc', '0.0.0.0:0', '-vncunused', '-vcpus', '1', '-boot', 'c', '-serial', 'pty', '-acpi', '-net', 'nic,vlan=1,macaddr=00:16:3e:09:33:b7,model=rtl8139', '-net', 'tap,vlan=1,ifname=tap1.0,bridge=eth0', '-M', 'xenfv'] [2010-01-19 09:22:25 2894] INFO (image:443) device model pid: 2980 [2010-01-19 09:22:25 2894] INFO (image:531) waiting for sentinel_fifo [2010-01-19 09:22:25 2894] DEBUG (XendDomainInfo:3060) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '2', 'uuid': 'e8bad567-b3d6-b45a-6b13-efa25ce55fff', 'on_reboot': 'restart', 'start_time': '1263892945.57', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': '(hvm (kernel ) (videoram 4) (hpet 0) (stdvga 0) (loader /usr/lib/xen/boot/hvmloader) (serial pty) (vncunused 1) (xen_platform_pci 1) (opengl 1) (boot c) (rtc_timeoffset 0) (pci ()) (pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi 1) (localtime 0) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type default) (pci_msitranslate 1) (apic 1) (sdl 0) (monitor 0) (device_model /usr/lib/xen/bin/qemu-dm) (pci_power_mgmt 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))', 'name': 'testserver'} [2010-01-19 09:22:25 2894] DEBUG (XendDomainInfo:1622) Storing domain details: {'console/port': '3', 'name': 'testserver', 'console/limit': '1048576', 'store/port': '2', 'vm': '/vm/e8bad567-b3d6-b45a-6b13-efa25ce55fff', 'domid': '1', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '131072', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '1044476', 'console/type': 'ioemu'} [2010-01-19 09:22:25 2894] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/1/0'} to /local/domain/1/device/console/0. [2010-01-19 09:22:25 2894] DEBUG (DevController:97) DevController: writing {'domain': 'testserver', 'frontend': '/local/domain/1/device/console/0', 'uuid': '9380cdf4-2b3d-c468-4d01-df014b42c4d6', 'frontend-id': '1', 'state': '1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/1/0. [2010-01-19 09:22:25 2894] DEBUG (XendDomainInfo:1709) XendDomainInfo.handleShutdownWatch [2010-01-19 09:22:25 2894] DEBUG (DevController:139) Waiting for devices vif. [2010-01-19 09:22:25 2894] DEBUG (DevController:144) Waiting for 0. [2010-01-19 09:22:25 2894] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:2732) XendDomainInfo.destroy: domid=1 [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:2207) Destroying device model [2010-01-19 09:24:05 2894] INFO (image:556) testserver device model terminated [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:2214) Releasing devices [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:2227) Removing vif/0 [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0 [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:2227) Removing vbd/768 [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = None, device = vbd/768 [2010-01-19 09:24:05 2894] ERROR (XendDomainInfo:2234) Device release failed: testserver; None; vbd/768 Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2228, in _releaseDevices self.destroyDevice(true_devclass, dev, False); File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1148, in destroyDevice rc = self.getDeviceController(deviceClass).destroyDevice(devid, force) File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2249, in getDeviceController raise XendError("Unknown device type: %s" % name) XendError: Unknown device type: None [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:2227) Removing vbd/5632 [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = None, device = vbd/5632 [2010-01-19 09:24:05 2894] ERROR (XendDomainInfo:2234) Device release failed: testserver; None; vbd/5632 Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2228, in _releaseDevices self.destroyDevice(true_devclass, dev, False); File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1148, in destroyDevice rc = self.getDeviceController(deviceClass).destroyDevice(devid, force) File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2249, in getDeviceController raise XendError("Unknown device type: %s" % name) XendError: Unknown device type: None [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:2227) Removing vfb/0 [2010-01-19 09:24:05 2894] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0 [2010-01-19 09:24:06 2894] DEBUG (XendDomainInfo:2227) Removing console/0 [2010-01-19 09:24:06 2894] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0 [2010-01-19 09:24:06 2894] DEBUG (XendDomainInfo:2212) No device model [2010-01-19 09:24:06 2894] DEBUG (XendDomainInfo:2214) Releasing devices With regard to the Dom0. Im already using Jermeys kernel from his git tree running pv_ops. The config is one of the example configs with just the changes made to match the domU name etc. Ian -----Original Message----- From: Fajar A. Nugraha [mailto:fajar@xxxxxxxxx] Sent: 19 January 2010 09:12 To: Ian Tobin Cc: xen-users@xxxxxxxxxxxxxxxxxxx Subject: Re: [Xen-users] Network problem On Tue, Jan 19, 2010 at 4:00 PM, Ian Tobin <itobin@xxxxxxxxxxxxx> wrote: > Sorry no, i mean on the actual physical server console, you can see the tap device being created, going into the forwarding state and then it just hangs, the console then reports that it is now in the disabled state. What does "xm list" show? is the domU created? If not, there should be something in /var/log/xen/xend.log, recording when the domU failed to startup, or shutdown, or crashed. Also, since you say that some files failed to be copied earlier, the easiet way that can I suggest is to try known-good config first. For example, I'm using RHEL5.4 with Xen rpm from gitco. Once that works, you can start changing some elements (like replacing dom0 kernel with pv_ops). -- Fajar _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |