[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] fail of xm create
Hello, I have a small fail with my first Xen install. Il have before reading docs and FAQs and send quenstion on xen-fr list without success. So i try to translate my mail in english to post in xen-users mailing list, excuse me for my bad english. I have hoped to find an easy way in using Xen packages from Mandriva 2007.0 (for x86_64) where i found xen binaries and compiled xen kernels. With a doc about Xen in mandriva 2006.0 from xenfr.org web and some other stuff take on web, i succes starting 2.6.17-5mdvxen0 kernel on my computer. I also start xend and xendomains. I construct a virtual host disk in a file, inclding ext3 fs, copy/update of files of my runing OS (based on docs items). I start a config for my virtual host from xmexample1, using "file:/...", and no network for begin. You can see this config in first line of logs at the end of this mail. After many tries of virtual hostname create, i always get the same 2 lines : # xm create x1 Using config file "/etc/xen/x1". Started domain ExampleDomain # And I get back the prompt. On web i see surch trace where my two lines are usualy folowed by many lines of boot. I have try somes changes : '-c', with network, and with folowing ramdisk config. I get always only the same two lines. xm create /dev/null ramdisk=/boot/initrd.img \ kernel=/boot/vmlinuz-2.6.17-5mdvxenU \ name=ramdisk nics=0 vcpus=1 \ memory=64 root=/dev/ram0 In xend.log i just see my virtual host noticed 'crashed' but without begining to boot. I attache surch log (i use xen debug package) at the end of this mail. Si if somebody who have more knowledges than me about XEN (very easy because i am a small beginer) can see my logs and show me a way to succes run a virtual host, i will be very happy. I can send all data you were agree to see, and make all tries. I cas also resume answers for next users. thank's you for all, Roland Touchais ---------------------------------- xend.log ------------------------------- [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:186) XendDomainInfo.create(['vm', ['name', 'ExampleDomain'], ['memory', 64], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']]], ['device', ['vbd', ['uname', 'file:/data/XEN/vm001.img'], ['dev', 'sda1'], ['mode', 'w']]]]) [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:292) parseConfig: config is ['vm', ['name', 'ExampleDomain'], ['memory', 64], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']]], ['device', ['vbd', ['uname', 'file:/data/XEN/vm001.img'], ['dev', 'sda1'], ['mode', 'w']]]] [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:391) parseConfig: result is {'uuid': None, 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 'ExampleDomain', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 64, 'device': [('vbd', ['vbd', ['uname', 'file:/data/XEN/vm001.img'], ['dev', 'sda1'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:1217) XendDomainInfo.construct: None [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:1249) XendDomainInfo.initDomain: 47 1.0 [2006-11-28 13:25:17 xend 9918] DEBUG (balloon:127) Balloon: 5691844 KiB free; need 65536; done. [2006-11-28 13:25:17 xend 9918] INFO (image:134) buildDomain os=linux dom=47 vcpus=1 [2006-11-28 13:25:17 xend 9918] DEBUG (image:177) dom = 47 [2006-11-28 13:25:17 xend 9918] DEBUG (image:178) image = /boot/vmlinuz-2.6.17-5mdvxenU [2006-11-28 13:25:17 xend 9918] DEBUG (image:179) store_evtchn = 1 [2006-11-28 13:25:17 xend 9918] DEBUG (image:180) console_evtchn = 2 [2006-11-28 13:25:17 xend 9918] DEBUG (image:181) cmdline = root=/dev/sda1 ro 4 [2006-11-28 13:25:17 xend 9918] DEBUG (image:182) ramdisk = [2006-11-28 13:25:17 xend 9918] DEBUG (image:183) vcpus = 1 [2006-11-28 13:25:17 xend 9918] DEBUG (image:184) features = [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:110) DevController: writing {'virtual-device': '2049', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/47/2049'} to /local/domain/47/device/vbd/2049. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:112) DevController: writing {'domain': 'ExampleDomain', 'frontend': '/local/domain/47/device/vbd/2049', 'dev': 'sda1', 'state': '1', 'params': '/data/XEN/vm001.img', 'mode': 'w', 'frontend-id': '47', 'type': 'file'} to /local/domain/0/backend/vbd/47/2049. [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:702) Storing VM details: {'uuid': '9e192d8c-809f-2200-72c0-7a323fce1440', 'on_reboot': 'restart', 'start_time': '1164716717.22', 'on_poweroff': 'destroy', 'name': 'ExampleDomain', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '64', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.17-5mdvxenU) (root '/dev/sda1 ro') (args 4))", 'maxmem': '64'} [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:737) Storing domain details: {'console/ring-ref': '1580321', 'console/port': '2', 'name': 'ExampleDomain', 'console/limit': '1048576', 'vm': '/vm/9e192d8c-809f-2200-72c0-7a323fce1440', 'domid': '47', 'cpu/0/availability': 'online', 'memory/target': '65536', 'store/ring-ref': '1580322', 'store/port': '1'} [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:920) XendDomainInfo.handleShutdownWatch [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:143) Waiting for devices vif. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:143) Waiting for devices usb. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:143) Waiting for devices vbd. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:149) Waiting for 2049. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:449) hotplugStatusCallback /local/domain/0/backend/vbd/47/2049/hotplug-status. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:449) hotplugStatusCallback /local/domain/0/backend/vbd/47/2049/hotplug-status. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:463) hotplugStatusCallback 1. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:143) Waiting for devices irq. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:143) Waiting for devices pci. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:143) Waiting for devices ioports. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:143) Waiting for devices vtpm. [2006-11-28 13:25:17 xend 9918] INFO (XendDomain:365) Domain ExampleDomain (47) unpaused. [2006-11-28 13:25:17 xend.XendDomainInfo 9918] WARNING (XendDomainInfo:862) Domain has crashed: name=ExampleDomain id=47. [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:1404) XendDomainInfo.destroyDomain(47) [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:186) XendDomainInfo.create(['domain', ['domid', 47], ['uuid', '9e192d8c-809f-2200-72c0-7a323fce1440'], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 64], ['maxmem', 64], ['features', ''], ['name', 'ExampleDomain'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']]], ['device', ['vbd', ['backend', 0], ['dev', 'sda1'], ['uname', 'file:/data/XEN/vm001.img'], ['mode', 'w']]], ['state', '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', 0.102485558], ['online_vcpus', 1], ['up_time', '0.299695968628'], ['start_time', '1164716717.22'], ['store_mfn', 1580322], ['console_mfn', 1580321]]) [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:292) parseConfig: config is ['domain', ['domid', 47], ['uuid', '9e192d8c-809f-2200-72c0-7a323fce1440'], ['vcpus', 1], ['vcpu_avail', 1], ['cpu_weight', 1.0], ['memory', 64], ['maxmem', 64], ['features', ''], ['name', 'ExampleDomain'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']]], ['device', ['vbd', ['backend', 0], ['dev', 'sda1'], ['uname', 'file:/data/XEN/vm001.img'], ['mode', 'w']]], ['state', '----c-'], ['shutdown_reason', 'crash'], ['cpu_time', 0.102485558], ['online_vcpus', 1], ['up_time', '0.299695968628'], ['start_time', '1164716717.22'], ['store_mfn', 1580322], ['console_mfn', 1580321]] [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:391) parseConfig: result is {'uuid': '9e192d8c-809f-2200-72c0-7a323fce1440', 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.17-5mdvxenU'], ['root', '/dev/sda1 ro'], ['args', '4']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'ExampleDomain', 'backend': [], 'vcpus': 1, 'cpu_weight': 1.0, 'features': '', 'vcpu_avail': 1, 'memory': 64, 'device': [('vbd', ['vbd', ['backend', 0], ['dev', 'sda1'], ['uname', 'file:/data/XEN/vm001.img'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': 64} [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:1217) XendDomainInfo.construct: None [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:1249) XendDomainInfo.initDomain: 48 1.0 [2006-11-28 13:25:17 xend 9918] DEBUG (balloon:127) Balloon: 5691844 KiB free; need 65536; done. [2006-11-28 13:25:17 xend 9918] INFO (image:134) buildDomain os=linux dom=48 vcpus=1 [2006-11-28 13:25:17 xend 9918] DEBUG (image:177) dom = 48 [2006-11-28 13:25:17 xend 9918] DEBUG (image:178) image = /boot/vmlinuz-2.6.17-5mdvxenU [2006-11-28 13:25:17 xend 9918] DEBUG (image:179) store_evtchn = 1 [2006-11-28 13:25:17 xend 9918] DEBUG (image:180) console_evtchn = 2 [2006-11-28 13:25:17 xend 9918] DEBUG (image:181) cmdline = root=/dev/sda1 ro 4 [2006-11-28 13:25:17 xend 9918] DEBUG (image:182) ramdisk = [2006-11-28 13:25:17 xend 9918] DEBUG (image:183) vcpus = 1 [2006-11-28 13:25:17 xend 9918] DEBUG (image:184) features = [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:110) DevController: writing {'virtual-device': '2049', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/48/2049'} to /local/domain/48/device/vbd/2049. [2006-11-28 13:25:17 xend 9918] DEBUG (DevController:112) DevController: writing {'domain': 'ExampleDomain', 'frontend': '/local/domain/48/device/vbd/2049', 'dev': 'sda1', 'state': '1', 'params': '/data/XEN/vm001.img', 'mode': 'w', 'frontend-id': '48', 'type': 'file'} to /local/domain/0/backend/vbd/48/2049. [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:702) Storing VM details: {'uuid': '9e192d8c-809f-2200-72c0-7a323fce1440', 'on_reboot': 'restart', 'start_time': '1164716717.77', 'on_poweroff': 'destroy', 'name': 'ExampleDomain', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '64', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.17-5mdvxenU) (root '/dev/sda1 ro') (args 4))", 'maxmem': '64'} [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:737) Storing domain details: {'console/ring-ref': '1626401', 'console/port': '2', 'name': 'ExampleDomain', 'console/limit': '1048576', 'vm': '/vm/9e192d8c-809f-2200-72c0-7a323fce1440', 'domid': '48', 'cpu/0/availability': 'online', 'memory/target': '65536', 'store/ring-ref': '1626402', 'store/port': '1'} [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:920) XendDomainInfo.handleShutdownWatch [2006-11-28 13:25:17 xend.XendDomainInfo 9918] WARNING (XendDomainInfo:862) Domain has crashed: name=ExampleDomain id=48. [2006-11-28 13:25:17 xend.XendDomainInfo 9918] ERROR (XendDomainInfo:1576) VM ExampleDomain restarting too fast (0.394213 seconds since the last restart). Refusing to restart to avoid loops. [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:1396) XendDomainInfo.destroy: domid=48 [2006-11-28 13:25:17 xend.XendDomainInfo 9918] DEBUG (XendDomainInfo:1404) XendDomainInfo.destroyDomain(48) _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |