I had installed xen 3.4.2 & pvops 2.6.31.6 dom0 kernel
and, I was trying to boot domU kernel as same as dom0
distribution is ubuntu 9.10(karmic)-server, i386
I confirmed kernel configuration several time.
$> xm create ubuntu1.config -c
Using config file "./ubuntu1.config". Started domain ubuntu1 (id=4)
<----------------------------------------->
( this is space)
that was all. no other message was appeared.
$> xm list Name ID Mem VCPUs State Time(s) Domain-0 0 508 1 r----- 36.5 ubuntu1 4 512 1 r----- 83.5
$>ifconfig -a
eth0
..............
vif4.0
...............
$> xm block-list 4
2049 0 0 1 -1 -1 /local/domain/0/backend/vbd/4/2049 2050 0 0 1 -1 -1 /local/domain/0/backend/vbd/4/2050
==> I think that domU booting is good, but I cannot get the any console message
<configuration file-ubuntu1.config>
kernel = "/boot/vmlinuz-2.6.31.6-xenU"
ramdisk = "/boot/initrd.img-2.6.31.6-xenU"
memory = 512
name = "ubuntu1"
vif = [ 'bridge=xenbr0' ] ip = "192.168.0.101" netmask= "255.255.255.0" gateway = "192.168.0.1"
disk = [ 'file:/root/xen/domainU/ubuntu1/ubuntu1.img,sda1,w','file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img,sda2,w' ]
root = "/dev/sda1 ro"
extra = "console=hvc0"
I also tried to hvc0 console by googling
</etc/init/hvc0.conf>
start on stopped rc RUNLEVEL=[2345] stop on runlevel [!2345]
respawn exec /sbin/getty -8 38400 hvc0
what is problem?? first, I am wondering whether domU's booting is good or bad
and if good, why not console message??
<xend.log>
[2009-12-21 23:14:33 905] DEBUG (XendDomainInfo:92) XendDomainInfo.create(['vm', ['name', 'ubuntu1'], ['memory', 512], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.31.6-xenU'], ['ramdisk', '/boot/initrd.img-2.6.31.6-xenU'], ['ip', '192.168.0.101:127.0.255.255:192.168.0.1:255.255.255.0:ubuntu1:eth0:off'], ['root', '/dev/sda1 ro'], ['videoram', 4], ['args', 'console=hvc0']]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'file:/root/xen/domainU/ubuntu1/ubuntu1.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0']]]])[2009-12-21 23:14:33 905] DEBUG (XendDomainInfo:2304) XendDomainInfo.constructDomain
[2009-12-21 23:14:33 905] DEBUG (balloon:166) Balloon: 1518304 KiB free; need 4096; done.[2009-12-21 23:14:33 905] DEBUG (XendDomain:453) Adding Domain: 4 [2009-12-21 23:14:33 905] DEBUG (XendDomainInfo:2505) XendDomainInfo.initDomain: 4 256
[2009-12-21 23:14:33 905] DEBUG (XendDomainInfo:2529) _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, memory_static_min=0x0. [2009-12-21 23:14:33 905] DEBUG (balloon:166) Balloon: 1518304 KiB free; need 526336; done.[2009-12-21 23:14:33 905] INFO (image:173) buildDomain os=linux dom=4 vcpus=1[2009-12-21 23:14:33 905] DEBUG (image:663) domid = 4 [2009-12-21 23:14:33 905] DEBUG (image:664) memsize = 512 [2009-12-21 23:14:33 905] DEBUG (image:665) image = /boot/vmlinuz-2.6.31.6-xenU[2009-12-21 23:14:33 905] DEBUG (image:666) store_evtchn = 1 [2009-12-21 23:14:33 905] DEBUG (image:667) console_evtchn = 2
[2009-12-21 23:14:33 905] DEBUG (image:668) cmdline = root=/dev/sda1 ro ip=192.168.0.101:127.0.255.255:192.168.0.1:255.255.255.0:ubuntu1:eth0:off console=hvc0[2009-12-21 23:14:33 905] DEBUG (image:669) ramdisk = /boot/initrd.img-2.6.31.6-xenU
[2009-12-21 23:14:33 905] DEBUG (image:670) vcpus = 1 [2009-12-21 23:14:33 905] DEBUG (image:671) features = [2009-12-21 23:14:33 905] DEBUG (image:672) flags = 0 [2009-12-21 23:14:36 905] INFO (XendDomainInfo:2168) createDevice: vbd : {'uuid': '4132c3cc-33fb-35ef-a369-58e27865d8ce', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'sda1', 'uname': 'file:/root/xen/domainU/ubuntu1/ubuntu1.img', 'mode': 'w'}
[2009-12-21 23:14:36 905] DEBUG (DevController:95) DevController: writing {'virtual-device': '2049', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/2049'} to /local/domain/4/device/vbd/2049.
[2009-12-21 23:14:36 905] DEBUG (DevController:97) DevController: writing {'domain': 'ubuntu1', 'frontend': '/local/domain/4/device/vbd/2049', 'uuid': '4132c3cc-33fb-35ef-a369-58e27865d8ce', 'bootable': '1', 'dev': 'sda1', 'state': '1', 'params': '/root/xen/domainU/ubuntu1/ubuntu1.img', 'mode': 'w', 'online': '1', 'frontend-id': '4', 'type': 'file'} to /local/domain/0/backend/vbd/4/2049.
[2009-12-21 23:14:36 905] INFO (XendDomainInfo:2168) createDevice: vbd : {'uuid': '57151504-2045-33e1-e506-03ab4ac07d99', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'sda2', 'uname': 'file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img', 'mode': 'w'}[2009-12-21 23:14:36 905] DEBUG (DevController:95) DevController: writing {'virtual-device': '2050', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/2050'} to /local/domain/4/device/vbd/2050.[2009-12-21 23:14:36 905] DEBUG (DevController:97) DevController: writing {'domain': 'ubuntu1', 'frontend': '/local/domain/4/device/vbd/2050', 'uuid': '57151504-2045-33e1-e506-03ab4ac07d99', 'bootable': '0', 'dev': 'sda2', 'state': '1', 'params': '/root/xen/domainU/ubuntu1/ubuntu1_swap.img', 'mode': 'w', 'online': '1', 'frontend-id': '4', 'type': 'file'} to /local/domain/0/backend/vbd/4/2050.[2009-12-21 23:14:36 905] INFO (XendDomainInfo:2168) createDevice: vif : {'bridge': 'xenbr0', 'mac': '00:16:3e:6a:c6:f7', 'uuid': '3f3c2378-c7ed-bfbd-8f76-3c99c4dc87c5'}[2009-12-21 23:14:36 905] DEBUG (DevController:95) DevController: writing {'mac': '00:16:3e:6a:c6:f7', 'handle': '0', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/4/0'} to /local/domain/4/device/vif/0.[2009-12-21 23:14:36 905] DEBUG (DevController:97) DevController: writing {'bridge': 'xenbr0', 'domain': 'ubuntu1', 'handle': '0', 'uuid': '3f3c2378-c7ed-bfbd-8f76-3c99c4dc87c5', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:6a:c6:f7', 'frontend-id': '4', 'state': '1', 'online': '1', 'frontend': '/local/domain/4/device/vif/0'} to /local/domain/0/backend/vif/4/0.
[2009-12-21 23:14:36 905] DEBUG (XendDomainInfo:3060) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '9fe69105-492f-fbc2-fe46-da4800e5c1c0', 'on_reboot': 'restart', 'start_time': '1261404876.18', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': "(linux (kernel /boot/vmlinuz-2.6.31.6-xenU) (ramdisk /boot/initrd.img-2.6.31.6-xenU) (args 'root=/dev/sda1 ro ip=192.168.0.101:127.0.255.255:192.168.0.1:255.255.255.0:ubuntu1:eth0:off console=hvc0') (videoram 4) (notes (HV_START_LOW 4118806528) (FEATURES '!writable_page_tables|pae_pgdir_above_4gb') (VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS linux) (HYPERCALL_PAGE 3222282240) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 3229274112) (XEN_VERSION xen-3.0)))", 'name': 'ubuntu1'}
[2009-12-21 23:14:36 905] DEBUG (XendDomainInfo:1622) Storing domain details: {'console/ring-ref': '413280', 'image/entry': '3229274112', 'console/port': '2', 'store/ring-ref': '413281', 'image/loader': 'generic', 'vm': '/vm/9fe69105-492f-fbc2-fe46-da4800e5c1c0', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '4118806528', 'image/guest-os': 'linux', 'image/virt-base': '3221225472', 'memory/target': '524288', 'image/guest-version': '2.6', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '0', 'image/hypercall-page': '3222282240', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '0', 'console/type': 'xenconsoled', 'name': 'ubuntu1', 'domid': '4', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2009-12-21 23:14:36 905] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/4/0'} to /local/domain/4/device/console/0.
[2009-12-21 23:14:36 905] DEBUG (DevController:97) DevController: writing {'domain': 'ubuntu1', 'frontend': '/local/domain/4/device/console/0', 'uuid': '10c3246b-6962-4009-bc20-a567574efbea', 'frontend-id': '4', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/4/0.
[2009-12-21 23:14:36 905] DEBUG (XendDomainInfo:1709) XendDomainInfo.handleShutdownWatch [2009-12-21 23:14:36 905] DEBUG (DevController:139) Waiting for devices vif. [2009-12-21 23:14:36 905] DEBUG (DevController:144) Waiting for 0.
[2009-12-21 23:14:36 905] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. [2009-12-21 23:14:36 905] DEBUG (DevController:643) hotplugStatusCallback 1. [2009-12-21 23:14:36 905] DEBUG (DevController:139) Waiting for devices vkbd.
[2009-12-21 23:14:36 905] DEBUG (DevController:139) Waiting for devices ioports. [2009-12-21 23:14:36 905] DEBUG (DevController:139) Waiting for devices tap. [2009-12-21 23:14:36 905] DEBUG (DevController:139) Waiting for devices console.
[2009-12-21 23:14:36 905] DEBUG (DevController:144) Waiting for 0. [2009-12-21 23:14:36 905] DEBUG (DevController:139) Waiting for devices vscsi. [2009-12-21 23:14:36 905] DEBUG (DevController:139) Waiting for devices vbd.
[2009-12-21 23:14:36 905] DEBUG (DevController:144) Waiting for 2049. [2009-12-21 23:14:36 905] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vbd/4/2049/hotplug-status. [2009-12-21 23:14:36 905] DEBUG (DevController:643) hotplugStatusCallback 1.
[2009-12-21 23:14:36 905] DEBUG (DevController:144) Waiting for 2050. [2009-12-21 23:14:36 905] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vbd/4/2050/hotplug-status. [2009-12-21 23:14:37 905] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vbd/4/2050/hotplug-status.
[2009-12-21 23:14:37 905] DEBUG (DevController:643) hotplugStatusCallback 1. [2009-12-21 23:14:37 905] DEBUG (DevController:139) Waiting for devices irq. [2009-12-21 23:14:37 905] DEBUG (DevController:139) Waiting for devices vfb.
[2009-12-21 23:14:37 905] DEBUG (DevController:139) Waiting for devices pci. [2009-12-21 23:14:37 905] DEBUG (DevController:139) Waiting for devices vtpm. [2009-12-21 23:14:37 905] INFO (XendDomain:1182) Domain ubuntu1 (4) unpaused.
<domain-builder-ng.log>
xc_dom_allocate: cmdline="root=/dev/sda1 ro ip=192.168.0.101:127.0.255.255:192.168.0.1:255.255.255.0:ubuntu1:eth0:off console=hvc0", features="" xc_dom_kernel_file: filename="/boot/vmlinuz-2.6.31.6-xenU"
xc_dom_malloc_filemap : 3896 kB xc_dom_ramdisk_file: filename="/boot/initrd.img-2.6.31.6-xenU" xc_dom_malloc_filemap : 52 MB xc_dom_boot_xen_init: ver 3.4, caps xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p
xc_dom_parse_image: called xc_dom_find_loader: trying ELF-generic loader ... failed xc_dom_find_loader: trying Linux bzImage loader ... xc_dom_malloc : 8207 kB xc_dom_do_gunzip: unzip ok, 0x3c72d0 -> 0x803e28
OK elf_parse_binary: phdr: paddr=0x100000 memsz=0x65b000 elf_parse_binary: phdr: paddr=0x75b000 memsz=0x2b0000 elf_parse_binary: memory: 0x100000 -> 0xa0b000 elf_xen_parse_note: GUEST_OS = "linux"
elf_xen_parse_note: GUEST_VERSION = "2.6" elf_xen_parse_note: XEN_VERSION = "xen-3.0" elf_xen_parse_note: VIRT_BASE = 0xc0000000 elf_xen_parse_note: ENTRY = 0xc07ad000 elf_xen_parse_note: HYPERCALL_PAGE = 0xc0102000
elf_xen_parse_note: FEATURES = "!writable_page_tables|pae_pgdir_above_4gb" elf_xen_parse_note: PAE_MODE = "yes" elf_xen_parse_note: LOADER = "generic" elf_xen_parse_note: unknown xen elf note (0xd)
elf_xen_parse_note: SUSPEND_CANCEL = 0x1 elf_xen_parse_note: HV_START_LOW = 0xf5800000 elf_xen_parse_note: PADDR_OFFSET = 0x0 elf_xen_addr_calc_check: addresses: virt_base = 0xc0000000 elf_paddr_offset = 0x0
virt_offset = 0xc0000000 virt_kstart = 0xc0100000 virt_kend = 0xc0a0b000 virt_entry = 0xc07ad000 p2m_base = 0xffffffffffffffff xc_dom_parse_elf_kernel: xen-3.0-x86_32p: 0xc0100000 -> 0xc0a0b000
xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, 4k each xc_dom_mem_init: 0x20000 pages xc_dom_boot_mem_init: called x86_compat: guest xen-3.0-x86_32p, address size 32 xc_dom_malloc : 512 kB xc_dom_build_image: called
xc_dom_alloc_segment: kernel : 0xc0100000 -> 0xc0a0b000 (pfn 0x100 + 0x90b pages) xc_dom_pfn_to_ptr: domU mapping: pfn 0x100+0x90b at 0xae741000 elf_load_binary: phdr 0 at 0x0xae741000 -> 0x0xaed9c000
elf_load_binary: phdr 1 at 0x0xaed9c000 -> 0x0xaee80000 xc_dom_alloc_segment: ramdisk : 0xc0a0b000 -> 0xc872a000 (pfn 0xa0b + 0x7d1f pages) xc_dom_malloc : 750 kB xc_dom_pfn_to_ptr: domU mapping: pfn 0xa0b+0x7d1f at 0xa6966000
xc_dom_do_gunzip: unzip ok, 0x34c64d1 -> 0x7d1e210 xc_dom_alloc_segment: phys2mach : 0xc872a000 -> 0xc87aa000 (pfn 0x872a + 0x80 pages) xc_dom_pfn_to_ptr: domU mapping: pfn 0x872a+0x80 at 0xa68e6000 xc_dom_alloc_page : start info : 0xc87aa000 (pfn 0x87aa)
xc_dom_alloc_page : xenstore : 0xc87ab000 (pfn 0x87ab) xc_dom_alloc_page : console : 0xc87ac000 (pfn 0x87ac) nr_page_tables: 0x00000000ffffffff/32: 0x0000000000000000 -> 0xffffffffffffffff, 1 table(s)
nr_page_tables: 0x000000003fffffff/30: 0x00000000c0000000 -> 0x00000000ffffffff, 1 table(s) nr_page_tables: 0x00000000001fffff/21: 0x00000000c0000000 -> 0x00000000c8bfffff, 70 table(s) xc_dom_alloc_segment: page tables : 0xc87ad000 -> 0xc87f5000 (pfn 0x87ad + 0x48 pages)
xc_dom_pfn_to_ptr: domU mapping: pfn 0x87ad+0x48 at 0xa689e000 xc_dom_alloc_page : boot stack : 0xc87f5000 (pfn 0x87f5)
xc_dom_build_image : virt_alloc_end : 0xc87f6000 xc_dom_build_image : virt_pgtab_end : 0xc8c00000 xc_dom_boot_image: called arch_setup_bootearly: doing nothing xc_dom_compat_check: supported guest type: xen-3.0-x86_32p <= matches
xc_dom_compat_check: supported guest type: hvm-3.0-x86_32 xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p xc_dom_update_guest_p2m: dst 32bit, pages 0x20000 clear_page: pfn 0x87ac, mfn 0x64e60 clear_page: pfn 0x87ab, mfn 0x64e61
xc_dom_pfn_to_ptr: domU mapping: pfn 0x87aa+0x1 at 0xa689d000 start_info_x86_32: called setup_hypercall_page: vaddr=0xc0102000 pfn=0x102 domain builder memory footprint allocated malloc : 9531 kB
anon mmap : 0 bytes mapped file mmap : 56 MB domU mmap : 134 MB arch_setup_bootlate: shared_info: pfn 0x0, mfn 0x1ea shared_info_x86_32: called vcpu_x86_32: called
vcpu_x86_32: cr3: pfn 0x87ad mfn 0x64e5f launch_vm: called, ctxt=0xb41642e8 xc_dom_release: called
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|