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] Argh, trying to start new domU keeps crashing

To: Brandon Lamb <brandonlamb@xxxxxxxxx>
Subject: Re: [Xen-users] Argh, trying to start new domU keeps crashing
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Sun, 14 Mar 2010 11:18:49 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 14 Mar 2010 01:20:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f25c44611003132023i2a17529at4156857cbaf16e75@xxxxxxxxxxxxxx>
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: <f25c44611003132023i2a17529at4156857cbaf16e75@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Sat, Mar 13, 2010 at 08:23:20PM -0800, Brandon Lamb wrote:
> I'll paste the xend.log at the bottom.
> 
> I am using a xen/next kernel (2.6.32) from git and xen-unstable.hg
> 

You might want to try xen/stable, which is at 2.6.32.9 and thus has many
fixes over 2.6.32.

> I have all the tools installed, machine boots and xm list and stuff
> works, but after i went to create my new server called syslog i got
> memory errors about not having enough and really nothing else useful.
> This is a 4 gig machine, in the grub i set dom0_mem=524288 and in
> xend-config i have dom0_min setting to 512 (is that right?) and
> balloon option to yes
> 

You should check the domU console output! So configure the domU only
with a text/serial console (no vfb graphical vnc console), and then try:

xm create -f /etc/xen/<guest> -c

That should show you where the domU kernel crashes and why.

-- Pasi


> here is the output now
> ---------------
> 
> [2010-03-13 20:19:51 1727] WARNING (XendConfig:872) Unconverted key: 
> Description
> [2010-03-13 20:19:51 1727] DEBUG (XendDomainInfo:101)
> XendDomainInfo.create(['vm', ['name', 'syslog'], ['memory', 512],
> ['shadow_memory', 8], ['on_poweroff', 'destroy'], ['on_reboot',
> 'restart'], ['on_crash', 'restart'], ['on_xend_start', 'ignore'],
> ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image',
> ['hvm', ['kernel', '/usr/lib/xen-default/boot/hvmloader'], ['root',
> '/dev/xvda ro'], ['videoram', 4], ['acpi', 0], ['apic', 0], ['boot',
> 'dc'], ['cpuid', []], ['cpuid_check', []], ['device_model',
> '/usr/lib/xen/bin/qemu-dm'], ['display', ':1.0'], ['fda', ''], ['fdb',
> ''], ['guest_os_type', 'default'], ['hap', 1], ['hpet', 0], ['isa',
> 0], ['keymap', ''], ['localtime', 0], ['nographic', 0], ['oos', 1],
> ['pae', 1], ['pci', []], ['pci_msitranslate', 1], ['pci_power_mgmt',
> 0], ['rtc_timeoffset', 0], ['soundhw', ''], ['stdvga', 0],
> ['timer_mode', 1], ['usb', 0], ['usbdevice', ''], ['vcpus', 1],
> ['vncunused', 1], ['viridian', 0], ['vpt_align', 1], ['xauthority',
> '/root/.Xauthority'], ['xen_platform_pci', 1], ['memory_sharing', 0],
> ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device',
> ['vbd', ['uname', 'phy:/dev/volumes/memcache1'], ['dev', 'xvda'],
> ['mode', 'w']]], ['device', ['vbd', ['uname',
> 'file:/xen/media/debian-netinst.iso'], ['dev', 'xvdc:cdrom'], ['mode',
> 'r']]], ['device', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]],
> ['device', ['vkbd']], ['device', ['vfb', ['vncunused', '1'],
> ['vnclisten', '0.0.0.0'], ['vnc', '1'], ['display', ':1.0'],
> ['xauthority', '/root/.Xauthority']]]])
> [2010-03-13 20:19:51 1727] DEBUG (XendDomainInfo:2508)
> XendDomainInfo.constructDomain
> [2010-03-13 20:19:51 1727] DEBUG (balloon:220) Balloon: 554828 KiB
> free; need 16384; done.
> [2010-03-13 20:19:51 1727] DEBUG (XendDomain:464) Adding Domain: 4
> [2010-03-13 20:19:51 1727] DEBUG (XendDomainInfo:2818)
> XendDomainInfo.initDomain: 4 256
> [2010-03-13 20:19:51 1727] DEBUG (image:339) No VNC passwd configured
> for vfb access
> [2010-03-13 20:19:51 1727] DEBUG (image:850) cmdline        = root=/dev/xvda 
> ro
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: boot, val: dc
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: fda, val: None
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: fdb, val: None
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: soundhw, val: None
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: localtime, val: 0
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: serial, val: None
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: std-vga, val: 0
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: isa, val: 0
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: acpi, val: 0
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: usb, val: 0
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: usbdevice, val: None
> [2010-03-13 20:19:51 1727] DEBUG (image:889) args: gfx_passthru, val: None
> [2010-03-13 20:19:51 1727] INFO (image:822) Need to create platform
> device.[domid:4]
> [2010-03-13 20:19:51 1727] DEBUG (XendDomainInfo:2845)
> _initDomain:shadow_memory=0x8, memory_static_max=0x20000000,
> memory_static_min=0x0.
> [2010-03-13 20:19:51 1727] INFO (image:182) buildDomain os=hvm dom=4 vcpus=1
> [2010-03-13 20:19:51 1727] DEBUG (image:947) domid          = 4
> [2010-03-13 20:19:51 1727] DEBUG (image:948) image          =
> /usr/lib/xen-default/boot/hvmloader
> [2010-03-13 20:19:51 1727] DEBUG (image:949) store_evtchn   = 2
> [2010-03-13 20:19:51 1727] DEBUG (image:950) memsize        = 512
> [2010-03-13 20:19:51 1727] DEBUG (image:951) target         = 512
> [2010-03-13 20:19:51 1727] DEBUG (image:952) vcpus          = 1
> [2010-03-13 20:19:51 1727] DEBUG (image:953) vcpu_avail     = 1
> [2010-03-13 20:19:51 1727] DEBUG (image:954) acpi           = 0
> [2010-03-13 20:19:51 1727] DEBUG (image:955) apic           = 0
> [2010-03-13 20:19:51 1727] INFO (XendDomainInfo:2367) createDevice:
> vkbd : {'uuid': 'c32f9673-fa4c-54ba-3f96-13631edd8be5'}
> [2010-03-13 20:19:51 1727] DEBUG (DevController:95) DevController:
> writing {'state': '1', 'backend-id': '0', 'backend':
> '/local/domain/0/backend/vkbd/4/0'} to /local/domain/4/device/vkbd/0.
> [2010-03-13 20:19:51 1727] DEBUG (DevController:97) DevController:
> writing {'frontend-id': '4', 'domain': 'syslog', 'frontend':
> '/local/domain/4/device/vkbd/0', 'state': '1', 'online': '1'} to
> /local/domain/0/backend/vkbd/4/0.
> [2010-03-13 20:19:51 1727] INFO (XendDomainInfo:2367) createDevice:
> vfb : {'vncunused': '1', 'other_config': {'vncunused': '1',
> 'vnclisten': '0.0.0.0', 'vnc': '1', 'display': ':1.0', 'xauthority':
> '/root/.Xauthority'}, 'vnc': '1', 'uuid':
> 'b28ad2ad-e51c-8a69-b056-d260e522e49a', 'vnclisten': '0.0.0.0',
> 'display': ':1.0', 'xauthority': '/root/.Xauthority'}
> [2010-03-13 20:19:51 1727] DEBUG (DevController:95) DevController:
> writing {'state': '1', 'backend-id': '0', 'backend':
> '/local/domain/0/backend/vfb/4/0'} to /local/domain/4/device/vfb/0.
> [2010-03-13 20:19:51 1727] DEBUG (DevController:97) DevController:
> writing {'vncunused': '1', 'domain': 'syslog', 'frontend':
> '/local/domain/4/device/vfb/0', 'uuid':
> 'b28ad2ad-e51c-8a69-b056-d260e522e49a', 'frontend-id': '4',
> 'vnclisten': '0.0.0.0', 'state': '1', 'online': '1', 'vnc': '1',
> 'display': ':1.0', 'xauthority': '/root/.Xauthority'} to
> /local/domain/0/backend/vfb/4/0.
> [2010-03-13 20:19:51 1727] INFO (XendDomainInfo:2367) createDevice:
> vbd : {'uuid': 'aa256bad-27d1-9b17-7b97-61e0dacd47c4', 'bootable': 1,
> 'driver': 'paravirtualised', 'dev': 'xvda', 'uname':
> 'phy:/dev/volumes/memcache1', 'mode': 'w'}
> [2010-03-13 20:19:51 1727] DEBUG (DevController:95) DevController:
> writing {'backend-id': '0', 'virtual-device': '51712', 'device-type':
> 'disk', 'state': '1', 'backend':
> '/local/domain/0/backend/vbd/4/51712'} to
> /local/domain/4/device/vbd/51712.
> [2010-03-13 20:19:51 1727] DEBUG (DevController:97) DevController:
> writing {'domain': 'syslog', 'frontend':
> '/local/domain/4/device/vbd/51712', 'uuid':
> 'aa256bad-27d1-9b17-7b97-61e0dacd47c4', 'bootable': '1', 'dev':
> 'xvda', 'state': '1', 'params': '/dev/volumes/memcache1', 'mode': 'w',
> 'online': '1', 'frontend-id': '4', 'type': 'phy'} to
> /local/domain/0/backend/vbd/4/51712.
> [2010-03-13 20:19:52 1727] INFO (XendDomainInfo:2367) createDevice:
> vbd : {'uuid': 'bb2309ed-f287-d6fa-556b-19c79bb59eee', 'bootable': 0,
> 'driver': 'paravirtualised', 'dev': 'xvdc:cdrom', 'uname':
> 'file:/xen/media/debian-netinst.iso', 'mode': 'r'}
> [2010-03-13 20:19:52 1727] DEBUG (DevController:95) DevController:
> writing {'backend-id': '0', 'virtual-device': '51744', 'device-type':
> 'cdrom', 'state': '1', 'backend':
> '/local/domain/0/backend/vbd/4/51744'} to
> /local/domain/4/device/vbd/51744.
> [2010-03-13 20:19:52 1727] DEBUG (DevController:97) DevController:
> writing {'domain': 'syslog', 'frontend':
> '/local/domain/4/device/vbd/51744', 'uuid':
> 'bb2309ed-f287-d6fa-556b-19c79bb59eee', 'bootable': '0', 'dev':
> 'xvdc', 'state': '1', 'params': '/xen/media/debian-netinst.iso',
> 'mode': 'r', 'online': '1', 'frontend-id': '4', 'type': 'file'} to
> /local/domain/0/backend/vbd/4/51744.
> [2010-03-13 20:19:52 1727] INFO (XendDomainInfo:2367) createDevice:
> vif : {'bridge': 'xenbr0', 'mac': '00:16:3e:43:21:0b', 'type':
> 'ioemu', 'uuid': 'e417e47b-5f4a-044a-4b06-c6a949c362d0'}
> [2010-03-13 20:19:52 1727] DEBUG (DevController:95) DevController:
> writing {'state': '1', 'backend-id': '0', 'backend':
> '/local/domain/0/backend/vif/4/0'} to /local/domain/4/device/vif/0.
> [2010-03-13 20:19:52 1727] DEBUG (DevController:97) DevController:
> writing {'bridge': 'xenbr0', 'domain': 'syslog', 'handle': '0',
> 'uuid': 'e417e47b-5f4a-044a-4b06-c6a949c362d0', 'script':
> '/etc/xen/scripts/vif-bridge bridge=xenbr0', 'mac':
> '00:16:3e:43:21:0b', 'frontend-id': '4', 'state': '1', 'online': '1',
> 'frontend': '/local/domain/4/device/vif/0', 'type': 'ioemu'} to
> /local/domain/0/backend/vif/4/0.
> [2010-03-13 20:19:52 1727] INFO (image:418) spawning device models:
> /usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '4',
> '-domain-name', 'syslog', '-videoram', '4', '-vnc', '0.0.0.0:0',
> '-vncunused', '-vcpus', '1', '-vcpu_avail', '1', '-append',
> 'root=/dev/xvda ro ', '-boot', 'dc', '-net',
> 'nic,vlan=1,macaddr=00:16:3e:43:21:0b,model=rtl8139', '-net',
> 'tap,vlan=1,ifname=tap4.0,bridge=xenbr0', '-M', 'xenfv']
> [2010-03-13 20:19:52 1727] INFO (image:467) device model pid: 4218
> [2010-03-13 20:19:53 1727] INFO (image:590) waiting for sentinel_fifo
> [2010-03-13 20:19:53 1727] DEBUG (XendDomainInfo:3400) Storing VM
> details: {'on_xend_stop': 'ignore', 'shadow_memory': '8', 'uuid':
> '42862e1d-8d7d-3dc6-ca74-2f67397b895d', 'on_reboot': 'restart',
> 'start_time': '1268540393.01', '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 ) (args 'root=/dev/xvda ro ')
> (superpages 0) (tsc_mode 0) (videoram 4) (hpet 0) (boot dc) (loader
> /usr/lib/xen-default/boot/hvmloader) (vpt_align 1) (xen_platform_pci
> 1) (vncunused 1) (rtc_timeoffset 0) (pci ()) (pae 1) (stdvga 0) (hap
> 1) (viridian 0) (acpi 0) (localtime 0) (timer_mode 1) (nographic 0)
> (guest_os_type default) (pci_msitranslate 1) (oos 1) (apic 0)
> (nomigrate 0) (device_model /usr/lib/xen/bin/qemu-dm) (pci_power_mgmt
> 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (display :1.0)
> (notes (SUSPEND_CANCEL 1)))", 'name': 'syslog'}
> [2010-03-13 20:19:53 1727] WARNING (image:552) domain syslog: device
> model failure: pid 4218: exited with nonzero status 1; see
> /var/log/xen/qemu-dm-syslog.log
> [2010-03-13 20:19:53 1727] DEBUG (XendDomainInfo:1804) Storing domain
> details: {'console/port': '3', 'description': '', 'console/limit':
> '1048576', 'store/port': '2', 'vm':
> '/vm/42862e1d-8d7d-3dc6-ca74-2f67397b895d', 'domid': '4',
> 'image/suspend-cancel': '1', 'cpu/0/availability': 'online',
> 'memory/target': '524288',
> 'control/platform-feature-multiprocessor-suspend': '1',
> 'store/ring-ref': '1044476', 'console/type': 'ioemu', 'name':
> 'syslog'}
> [2010-03-13 20:19:53 1727] WARNING (XendDomainInfo:2071) Domain has
> crashed: name=syslog id=4.
> [2010-03-13 20:19:53 1727] ERROR (XendDomainInfo:2205) VM syslog
> restarting too fast (Elapsed time: 0.929364 seconds). Refusing to
> restart to avoid loops.
> [2010-03-13 20:19:53 1727] DEBUG (XendDomainInfo:3053)
> XendDomainInfo.destroy: domid=4
> [2010-03-13 20:19:54 1727] DEBUG (DevController:95) DevController:
> writing {'state': '1', 'backend-id': '0', 'backend':
> '/local/domain/0/backend/console/4/0'} to
> /local/domain/4/device/console/0.
> [2010-03-13 20:19:54 1727] DEBUG (DevController:97) DevController:
> writing {'domain': 'syslog', 'frontend':
> '/local/domain/4/device/console/0', 'uuid':
> '067c7ee6-6cd8-affe-f73d-31d355aecd86', 'frontend-id': '4', 'state':
> '1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to
> /local/domain/0/backend/console/4/0.
> [2010-03-13 20:19:55 1727] WARNING (XendDomainInfo:2071) Domain has
> crashed: name=syslog id=4.
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:2411) Destroying device model
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:2418) Releasing devices
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:2424) Removing vif/0
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:1286)
> XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:2424) Removing vbd/51712
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:1286)
> XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:2424) Removing vbd/51744
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:1286)
> XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51744
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:2424) Removing vkbd/0
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:1286)
> XendDomainInfo.destroyDevice: deviceClass = vkbd, device = vkbd/0
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:2424) Removing vfb/0
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:1286)
> XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:2424) Removing console/0
> [2010-03-13 20:19:55 1727] DEBUG (XendDomainInfo:1286)
> XendDomainInfo.destroyDevice: deviceClass = console, device =
> console/0
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>