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-devel

[Xen-devel] trying to debug xen4 & qemu-dm, Xen reports "core dump faile

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] trying to debug xen4 & qemu-dm, Xen reports "core dump failed"
From: 0bo0 <0.bugs.only.0@xxxxxxxxx>
Date: Tue, 26 Jan 2010 10:36:43 -0800
Delivery-date: Tue, 26 Jan 2010 10:37:06 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=XPZqPqxI5+gYB1I6RdKChBZtisZZU8w1PpjX07eHjqY=; b=qqn2otyy91SYc2xxt2lnf2YoNIwNKjz16Ipk8wUbEDOuv4qGP29ThlgWvSJrCDuytC b9po/C6QmJ8CdHMlrf+JAiS2DbOQFRIKIqZJlCTSyA1h5+JKtR9OxZsmDcyuy0NcUz0z D6wE2EVx/9RxRPw8b9hXHk0aSaBXx2GJDPQjk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JWpvrbUnv7FBPd5ZA9YlQKn7aNdhwzHhyd0HqvUaJnf5DD/y1XfhhBAZsixnkIAU8b EdpUPg5L5RSqv1TMpb4nDaZ+4aBX32mwkR5YdBtMN5XO7aLpwbxjVLl2eYw0ia/2MSP/ v408OU4nTSPBdPneul06dEXkCEopLSL/2Qccc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
in another thread @xen-devel, a crash @ DomU init under Xen 4.0.x, i
was advised,

On Mon, Jan 25, 2010 at 11:34 PM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
> If qemu-dm died without logging anything, it probably crashed again. If it
> produced a core file you could load that in gdb and get a symbolic
> backtrace.

trying to turn on core dumps in xend-config, unfortunately, Xen seems
to fail @ core dump ... in addition to failing to launch a DomU which
works fine under Xen3,

  ...
  [2010-01-26 09:44:36 8552] ERROR (XendDomainInfo:2327) core dump
failed: id = 6 name = test: (1, 'Internal error', 'p2m_size < nr_pages
-1 (0 < fffff')
  ...

> My guess, since qemu-dm does seem to be working in most people's tests, is
> that either you have managed to install and not replace a mismatching
> version, somehow, or the set of options getting passed to it from you domain
> configuration have not been tested and do not work.

speculation of what may be the case isn't helping _me_ find the
problem, so i'll try to debug this a step at a time.  any suggestions
as to *specific* steps to take in debugging this would be great.
here's all the info i can muster atm ...

starting with a clean opensuse 11.2 system install
uname -a
  Linux server 2.6.31.8-0.1-default #1 SMP 2009-12-15 23:55:40 +0100
x86_64 x86_64 x86_64 GNU/Linux
zypper in xen xen-devel kernel-xen kernel-xen-devel xen-tools

rpm -qa | grep -i xen
  xen-libs-4.0.0_20809_01-28.2.x86_64
  xen-tools-4.0.0_20809_01-28.2.x86_64
  kernel-xen-2.6.31.8-0.1.1.x86_64
  xen-devel-4.0.0_20809_01-28.2.x86_64
  xen-4.0.0_20809_01-28.2.x86_64
  kernel-xen-devel-2.6.31.8-0.1.1.x86_64

updatedb
ls -al `locate qemu-dm | grep lib`
  lrwxrwxrwx 1 root root       7 2010-01-26 09:28
/usr/lib64/xen/bin/qemu-dm -> qemu-dm
  -rwxr-xr-x 1 root root 1287042 2010-01-19 17:13 /usr/lib/xen/bin/qemu-dm
/usr/lib/xen/bin/qemu-dm --help | grep "emulator version"
  QEMU PC emulator version 0.10.2, Copyright (c) 2003-2008 Fabrice Bellard

cat /boot/grub/menu.lst
---------------------------------
...
title Xen (symlink)
    root (hd0,0)
    kernel /xen.gz loglvl=all loglvl_guest=all apic_verbosity=debug
dom0_mem=1024M vga=gfx-1280x1024x32 console=vga,com1 com1=57600,8n1
iommu=1 dom0_max_vcpus=4 dom0_vcpus_pin=true sched=credit cpuidle=1
cpufreq=xen clocksource=acpi numa=on
    module /vmlinuz-xen root=/dev/VG0/ROOT rootfstype=ext4
rootflags=journal_checksum resume=/dev/VG0/SWAP showopts splash=silent
selinux=0 SELINUX_INIT=NO elevator=cfq vga=0x31a console=tty0
console=xvc0,57600 guestdev=0000:04:07.0,0000:02:00.0,0000:04:06.0
reassign_resources iommu=1 clocksource=xen mce=off
    module /initrd-xen
...
---------------------------------

cat /etc/xen/xend-config.sxp
---------------------------------
(logfile /var/log/xen/xend.log)
(loglevel DEBUG)
(console-limit 1024)
(keymap 'en-us')
(qemu-dm-logrotate-count 10)
(dom0-min-mem 1024)
(enable-dom0-ballooning no)
(total_available_memory 0)
(dom0-cpus 1)
(enable-dump yes)
(xend-unix-server yes)
(xend-unix-path /var/lib/xend/xend-socket)
(xend-http-server no)
(xend-relocation-server no)
(external-migration-tool '')
(xen-api-server ((unix)))
(xend-unix-xmlrpc-server yes)
(xend-tcp-xmlrpc-server no)
(vnc-listen '172.30.11.2')
(vncpasswd '')
(network-script       )
(vif-script vif-bridge)
(pci-passthrough-strict-check no)
---------------------------------


cat /etc/xen/vm/test.cfg
---------------------------------
name         = 'test'
builder      = 'linux'
bootloader   = '/usr/lib/xen/boot/domUloader.py'
bootargs     = '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen'
disk         = [
'phy:/dev/VG0/boot,xvda,w','phy:/dev/VG0/swap,xvdb,w','phy:/dev/VG0/root,xvdc,w',]
boot         = 'c'   #d is cdrom boot, c is disk boot
root         = '/dev/xvdc1'
vif          = ['']
vfb          = [ 'type=vnc, vncdisplay=102, vnclisten=127.0.0.1' ]
extra        = 'textmode=1 xencons=xvc0 elevator=noop'
maxmem       = 4096
memory       = 4096
vcpus        = 4
cpu_cap      = 100
cpu_weight   = 256
localtime    = 0
netif        = 'yes'
on_shutdown  = 'destroy'
on_reboot    = 'restart'
on_crash     = 'destroy'
---------------------------------

reboot


...

uname -a
  Linux server 2.6.31.8-0.1-xen #1 SMP 2009-12-15 23:55:40 +0100
x86_64 x86_64 x86_64 GNU/Linux
xm dmesg | grep "Xen version" -A2
  (XEN) Xen version 4.0.0_20809_01-28.2 (abuild@) (gcc version 4.4.1
[gcc-4_4-branch revision 150839] (SUSE Linux) ) Wed Jan 20 01:09:45
UTC 2010
  (XEN) Latest ChangeSet: 20809
  (XEN) Command line: loglvl=all loglvl_guest=all apic_verbosity=debug
dom0_mem=1024M vga=gfx-1280x1024x32 console=vga,com1 com1=57600,8n1
iommu=1 dom0_max_vcpus=4 dom0_vcpus_pin=true sched=credit cpuidle=0
cpufreq=xen clocksource=acpi numa=on

xm create -c /etc/xen/vm/test.cfg
 Using config file "/etc/xen/vm/test.cfg".
 Error: Domain 'test' does not exist.

tail -f /var/log/xen/*
------------------------------------
==> /var/log/xen/xend.log <==
[2010-01-26 10:09:07 4764] WARNING (XendConfig:876) Unconverted key: Description
[2010-01-26 10:09:07 4764] DEBUG (XendDomainInfo:102)
XendDomainInfo.create(['vm', ['name', 'test'], ['memory', 4096],
['maxmem', 4096], ['on_reboot', 'restart'], ['on_crash', 'destroy'],
['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 4],
['cpu_cap', 100], ['cpu_weight', 256], ['backend', ['netif']], ['oos',
1], ['bootloader', '/usr/lib/xen/boot/domUloader.py'],
['bootloader_args', '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen'],
['image', ['linux', ['root', '/dev/xvdc1'], ['videoram', 4], ['args',
'textmode=1 xencons=xvc0'], ['tsc_mode', 0], ['nomigrate', 0]]],
['s3_integrity', 1], ['device', ['vbd', ['uname',
'phy:/dev/VG0/boot'], ['dev', 'xvda'], ['mode', 'w']]], ['device',
['vbd', ['uname', 'phy:/dev/VG0/swap'], ['dev', 'xvdb'], ['mode',
'w']]], ['device', ['vbd', ['uname', 'phy:/dev/VG0/root'], ['dev',
'xvdc'], ['mode', 'w']]], ['device', ['vif']], ['device', ['vkbd']],
['device', ['vfb', ['vnc', '1'], ['vnclisten', '127.0.0.1'],
['vncdisplay', '102'], ['display', 'localhost:11.0'], ['xauthority',
'/root/.Xauthority']]]])
[2010-01-26 10:09:07 4764] DEBUG (XendDomainInfo:2513)
XendDomainInfo.constructDomain
[2010-01-26 10:09:07 4764] DEBUG (balloon:239) Balloon: 6946324 KiB
free; need 4096; done.
[2010-01-26 10:09:07 4764] DEBUG (XendDomain:465) Adding Domain: 1
[2010-01-26 10:09:07 4764] DEBUG (XendDomainInfo:2821)
XendDomainInfo.initDomain: 1 256
[2010-01-26 10:09:07 5315] DEBUG (XendBootloader:130) Launching
bootloader as ['/usr/lib/xen/boot/domUloader.py',
'--args=root=/dev/xvdc1 textmode=1 xencons=xvc0',
'--output=/var/run/xend/boot/xenbl.24317',
'--entry=xvda1:vmlinuz-xen,/boot/initrd-xen', '/dev/VG0/boot'].

==> /var/log/xen/domain-builder-ng.log <==
### ----- xc domain builder logfile opened -----
xc_dom_allocate: cmdline="root=/dev/xvdc1 textmode=1 xencons=xvc0", features=""
xc_dom_kernel_file: filename="/var/lib/xen/tmp/kernel.GF9ro1"
xc_dom_malloc_filemap    : 3297 kB
xc_dom_malloc            : 12278 kB
xc_dom_do_gunzip: unzip ok, 0x338703 -> 0xbfd9c8
xc_dom_ramdisk_file: filename="/var/lib/xen/tmp/ramdisk.usyS9V"
xc_dom_malloc_filemap    : 8150 kB
xc_dom_boot_xen_init: ver 4.0, caps xen-3.0-x86_64 xen-3.0-x86_32p
hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xc_dom_parse_image: called
xc_dom_find_loader: trying ELF-generic loader ... OK
elf_parse_binary: phdr: paddr=0x2000 memsz=0x733000
elf_parse_binary: phdr: paddr=0x735000 memsz=0x51dd0
elf_parse_binary: phdr: paddr=0x787000 memsz=0x8c8
elf_parse_binary: phdr: paddr=0x788000 memsz=0xaca0
elf_parse_binary: phdr: paddr=0x792ca0 memsz=0x14e360
elf_parse_binary: memory: 0x2000 -> 0x8e1000
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 = 0xffffffff80000000
elf_xen_parse_note: PADDR_OFFSET = 0x0
elf_xen_parse_note: ENTRY = 0xffffffff80002000
elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff80008000
elf_xen_parse_note: unknown xen elf note (0xd)
elf_xen_parse_note: INIT_P2M = 0xffffea0000000000
elf_xen_parse_note: FEATURES =
"writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel"
elf_xen_parse_note: LOADER = "generic"
elf_xen_parse_note: SUSPEND_CANCEL = 0x1
elf_xen_addr_calc_check: addresses:
    virt_base        = 0xffffffff80000000
    elf_paddr_offset = 0x0
    virt_offset      = 0xffffffff80000000
    virt_kstart      = 0xffffffff80002000
    virt_kend        = 0xffffffff808e1000
    virt_entry       = 0xffffffff80002000
    p2m_base         = 0xffffea0000000000
xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0xffffffff80002000 ->
0xffffffff808e1000
xc_dom_mem_init: mem 4096 MB, pages 0x100000 pages, 4k each
xc_dom_mem_init: 0x100000 pages
xc_dom_boot_mem_init: called
x86_compat: guest xen-3.0-x86_64, address size 64
xc_dom_malloc            : 8192 kB
xc_dom_build_image: called
xc_dom_alloc_segment:   kernel       : 0xffffffff80002000 ->
0xffffffff808e1000  (pfn 0x2 + 0x8df pages)
xc_dom_pfn_to_ptr: domU mapping: pfn 0x2+0x8df at 0x7fc2e4726000
elf_load_binary: phdr 0 at 0x0x7fc2e4726000 -> 0x0x7fc2e4e59000
elf_load_binary: phdr 1 at 0x0x7fc2e4e59000 -> 0x0x7fc2e4eaadd0
elf_load_binary: phdr 2 at 0x0x7fc2e4eab000 -> 0x0x7fc2e4eab8c8
elf_load_binary: phdr 3 at 0x0x7fc2e4eac000 -> 0x0x7fc2e4eb6ca0
elf_load_binary: phdr 4 at 0x0x7fc2e4eb6ca0 -> 0x0x7fc2e4f11000
xc_dom_alloc_segment:   ramdisk      : 0xffffffff808e1000 ->
0xffffffff81cde000  (pfn 0x8e1 + 0x13fd pages)
xc_dom_malloc            : 119 kB
xc_dom_pfn_to_ptr: domU mapping: pfn 0x8e1+0x13fd at 0x7fc2e3329000
xc_dom_do_gunzip: unzip ok, 0x7f5ba8 -> 0x13fcc10
xc_dom_alloc_segment:   phys2mach    : 0xffffffff81cde000 ->
0xffffffff824de000  (pfn 0x1cde + 0x800 pages)
xc_dom_pfn_to_ptr: domU mapping: pfn 0x1cde+0x800 at 0x7fc2e2b29000
xc_dom_alloc_page   :   start info   : 0xffffffff824de000 (pfn 0x24de)
xc_dom_alloc_page   :   xenstore     : 0xffffffff824df000 (pfn 0x24df)
xc_dom_alloc_page   :   console      : 0xffffffff824e0000 (pfn 0x24e0)
nr_page_tables: 0x0000ffffffffffff/48: 0xffff000000000000 ->
0xffffffffffffffff, 1 table(s)
nr_page_tables: 0x0000007fffffffff/39: 0xffffff8000000000 ->
0xffffffffffffffff, 1 table(s)
nr_page_tables: 0x000000003fffffff/30: 0xffffffff80000000 ->
0xffffffffbfffffff, 1 table(s)
nr_page_tables: 0x00000000001fffff/21: 0xffffffff80000000 ->
0xffffffff827fffff, 20 table(s)
xc_dom_alloc_segment:   page tables  : 0xffffffff824e1000 ->
0xffffffff824f8000  (pfn 0x24e1 + 0x17 pages)
xc_dom_pfn_to_ptr: domU mapping: pfn 0x24e1+0x17 at 0x7fc2f5336000
xc_dom_alloc_page   :   boot stack   : 0xffffffff824f8000 (pfn 0x24f8)
xc_dom_build_image  : virt_alloc_end : 0xffffffff824f9000
xc_dom_build_image  : virt_pgtab_end : 0xffffffff82800000
xc_dom_boot_image: called
arch_setup_bootearly: doing nothing
xc_dom_compat_check: supported guest type: xen-3.0-x86_64 <= matches
xc_dom_compat_check: supported guest type: xen-3.0-x86_32p
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_compat_check: supported guest type: hvm-3.0-x86_64
xc_dom_update_guest_p2m: dst 64bit, pages 0x100000
clear_page: pfn 0x24e0, mfn 0x215140
clear_page: pfn 0x24df, mfn 0x215141
xc_dom_pfn_to_ptr: domU mapping: pfn 0x24de+0x1 at 0x7fc2f5335000
start_info_x86_64: called
setup_hypercall_page: vaddr=0xffffffff80008000 pfn=0x8
domain builder memory footprint
   allocated
      malloc             : 20694 kB
      anon mmap          : 0 bytes
   mapped
      file mmap          : 11448 kB
      domU mmap          : 36 MB
arch_setup_bootlate: shared_info: pfn 0x0, mfn 0xcfa87
shared_info_x86_64: called
vcpu_x86_64: called
vcpu_x86_64: cr3: pfn 0x24e1 mfn 0x21513f
launch_vm: called, ctxt=0x7fc2e67f73e0
xc_dom_release: called

==> /var/log/xen/xend.log <==
[2010-01-26 10:09:08 4764] DEBUG (image:339) No VNC passwd configured
for vfb access
[2010-01-26 10:09:08 4764] DEBUG (XendDomainInfo:2848)
_initDomain:shadow_memory=0x0, memory_static_max=0x100000000,
memory_static_min=0x0.
[2010-01-26 10:09:08 4764] INFO (image:182) buildDomain os=linux dom=1
vcpus=4
[2010-01-26 10:09:08 4764] DEBUG (image:734) domid          = 1
[2010-01-26 10:09:08 4764] DEBUG (image:735) memsize        = 4096
[2010-01-26 10:09:08 4764] DEBUG (image:736) image          =
/var/lib/xen/tmp/kernel.GF9ro1
[2010-01-26 10:09:08 4764] DEBUG (image:737) store_evtchn   = 1
[2010-01-26 10:09:08 4764] DEBUG (image:738) console_evtchn = 2
[2010-01-26 10:09:08 4764] DEBUG (image:739) cmdline        =
root=/dev/xvdc1 textmode=1 xencons=xvc0
[2010-01-26 10:09:08 4764] DEBUG (image:740) ramdisk        =
/var/lib/xen/tmp/ramdisk.usyS9V
[2010-01-26 10:09:08 4764] DEBUG (image:741) vcpus          = 4
[2010-01-26 10:09:08 4764] DEBUG (image:742) features       =
[2010-01-26 10:09:08 4764] DEBUG (image:743) flags          = 0
[2010-01-26 10:09:08 4764] DEBUG (image:744) superpages     = 0
[2010-01-26 10:09:08 4764] INFO (XendDomainInfo:2372) createDevice:
vkbd : {'uuid': '3e629ba2-c496-f073-e797-f6317e3bdcd4'}
[2010-01-26 10:09:08 4764] DEBUG (DevController:95) DevController:
writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0',
'backend': '/local/domain/0/backend/vkbd/1/0'} to
/local/domain/1/device/vkbd/0.
[2010-01-26 10:09:08 4764] DEBUG (DevController:97) DevController:
writing {'frontend-id': '1', 'domain': 'test', 'frontend':
'/local/domain/1/device/vkbd/0', 'state': '1', 'online': '1'} to
/local/domain/0/backend/vkbd/1/0.
[2010-01-26 10:09:08 4764] INFO (XendDomainInfo:2372) createDevice:
vfb : {'other_config': {'display': 'localhost:11.0', 'vnclisten':
'127.0.0.1', 'vnc': '1', 'xauthority': '/root/.Xauthority',
'vncdisplay': '102'}, 'vnc': '1', 'xauthority': '/root/.Xauthority',
'vnclisten': '127.0.0.1', 'vncdisplay': '102', 'keymap': 'en-us',
'display': 'localhost:11.0', 'uuid':
'219090ab-f3d2-f998-46f3-efbfa6221f7f'}
[2010-01-26 10:09:08 4764] DEBUG (DevController:95) DevController:
writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0',
'backend': '/local/domain/0/backend/vfb/1/0'} to
/local/domain/1/device/vfb/0.
[2010-01-26 10:09:08 4764] DEBUG (DevController:97) DevController:
writing {'domain': 'test', 'frontend': '/local/domain/1/device/vfb/0',
'xauthority': '/root/.Xauthority', 'frontend-id': '1', 'vnclisten':
'127.0.0.1', 'vncdisplay': '102', 'state': '1', 'keymap': 'en-us',
'online': '1', 'vnc': '1', 'display': 'localhost:11.0', 'uuid':
'219090ab-f3d2-f998-46f3-efbfa6221f7f'} to
/local/domain/0/backend/vfb/1/0.
[2010-01-26 10:09:08 4764] INFO (XendDomainInfo:2372) createDevice:
vbd : {'uuid': '41bdfd95-b845-e04e-0643-7803fcb5645b', 'bootable': 1,
'driver': 'paravirtualised', 'dev': 'xvda', 'uname':
'phy:/dev/VG0/boot', 'mode': 'w'}
[2010-01-26 10:09:08 4764] DEBUG (DevController:95) DevController:
writing {'virtual-device': '51712', 'device-type': 'disk', 'protocol':
'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/1/51712'} to
/local/domain/1/device/vbd/51712.
[2010-01-26 10:09:08 4764] DEBUG (DevController:97) DevController:
writing {'domain': 'test', 'frontend':
'/local/domain/1/device/vbd/51712', 'uuid':
'41bdfd95-b845-e04e-0643-7803fcb5645b', 'bootable': '1', 'dev':
'xvda', 'state': '1', 'params': '/dev/VG0/boot', 'mode': 'w',
'online': '1', 'frontend-id': '1', 'type': 'phy'} to
/local/domain/0/backend/vbd/1/51712.
[2010-01-26 10:09:08 4764] INFO (XendDomainInfo:2372) createDevice:
vbd : {'uuid': '6ee5a108-2bef-fa26-5d3d-a6be7d088ea3', 'bootable': 0,
'driver': 'paravirtualised', 'dev': 'xvdb', 'uname':
'phy:/dev/VG0/swap', 'mode': 'w'}
[2010-01-26 10:09:08 4764] DEBUG (DevController:95) DevController:
writing {'virtual-device': '51728', 'device-type': 'disk', 'protocol':
'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/1/51728'} to
/local/domain/1/device/vbd/51728.
[2010-01-26 10:09:08 4764] DEBUG (DevController:97) DevController:
writing {'domain': 'test', 'frontend':
'/local/domain/1/device/vbd/51728', 'uuid':
'6ee5a108-2bef-fa26-5d3d-a6be7d088ea3', 'bootable': '0', 'dev':
'xvdb', 'state': '1', 'params': '/dev/VG0/swap', 'mode': 'w',
'online': '1', 'frontend-id': '1', 'type': 'phy'} to
/local/domain/0/backend/vbd/1/51728.
[2010-01-26 10:09:08 4764] INFO (XendDomainInfo:2372) createDevice:
vbd : {'uuid': 'e7a397a0-903b-eed9-e1c4-a9639b2416e7', 'bootable': 0,
'driver': 'paravirtualised', 'dev': 'xvdc', 'uname':
'phy:/dev/VG0/root', 'mode': 'w'}
[2010-01-26 10:09:08 4764] DEBUG (DevController:95) DevController:
writing {'virtual-device': '51744', 'device-type': 'disk', 'protocol':
'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/1/51744'} to
/local/domain/1/device/vbd/51744.
[2010-01-26 10:09:08 4764] DEBUG (DevController:97) DevController:
writing {'domain': 'test', 'frontend':
'/local/domain/1/device/vbd/51744', 'uuid':
'e7a397a0-903b-eed9-e1c4-a9639b2416e7', 'bootable': '0', 'dev':
'xvdc', 'state': '1', 'params': '/dev/VG0/root', 'mode': 'w',
'online': '1', 'frontend-id': '1', 'type': 'phy'} to
/local/domain/0/backend/vbd/1/51744.
[2010-01-26 10:09:08 4764] INFO (XendDomainInfo:2372) createDevice:
vif : {'mac': '00:16:3e:4f:32:d7', 'uuid':
'e54d312a-774d-0d65-e250-0b3c1f42e6bb'}
[2010-01-26 10:09:08 4764] DEBUG (DevController:95) DevController:
writing {'mac': '00:16:3e:4f:32:d7', 'handle': '0', 'protocol':
'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0.
[2010-01-26 10:09:08 4764] DEBUG (DevController:97) DevController:
writing {'domain': 'test', 'frontend': '/local/domain/1/device/vif/0',
'uuid': 'e54d312a-774d-0d65-e250-0b3c1f42e6bb', 'script':
'/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:4f:32:d7',
'frontend-id': '1', 'state': '1', 'online': '1', 'handle': '0'} to
/local/domain/0/backend/vif/1/0.
[2010-01-26 10:09:09 4764] INFO (image:420) spawning device models:
/usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '1',
'-serial', 'pty', '-domain-name', 'test', '-videoram', '4', '-k',
'en-us', '-vnc', '127.0.0.1:102', '-vncunused', '-monitor', 'null',
'-M', 'xenpv']
[2010-01-26 10:09:09 4764] INFO (image:469) device model pid: 5379
[2010-01-26 10:09:09 4764] INFO (image:603) waiting for sentinel_fifo
[2010-01-26 10:09:09 4764] DEBUG (XendDomainInfo:3420) Storing VM
details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'730a466e-80a3-4aa3-79f8-7eb6a6f3abc8', 'on_reboot': 'restart',
'start_time': '1264529349.19', 'on_poweroff': 'destroy',
'bootloader_args': '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen',
'on_xend_start': 'ignore', 'on_crash': 'destroy',
'xend/restart_count': '0', 'vcpus': '4', 'vcpu_avail': '15',
'bootloader': '/usr/lib/xen/boot/domUloader.py', 'image': "(linux
(kernel ) (args 'root=/dev/xvdc1 textmode=1 xencons=xvc0') (superpages
0) (videoram 4) (pci ()) (nomigrate 0) (tsc_mode 0) (device_model
/usr/lib/xen/bin/qemu-dm) (keymap en-us) (notes (FEATURES
'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel')
(VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 0)
(GUEST_OS linux) (HYPERCALL_PAGE 18446744071562100736) (LOADER
generic) (INIT_P2M 18446719884453740544) (SUSPEND_CANCEL 1) (ENTRY
18446744071562076160) (XEN_VERSION xen-3.0)))", 'name': 'test'}
[2010-01-26 10:09:09 4764] DEBUG (XendDomainInfo:1805) Storing domain
details: {'console/ring-ref': '2183488', 'image/entry':
'18446744071562076160', 'console/port': '2', 'cpu/3/availability':
'online', 'store/ring-ref': '2183489', 'image/loader': 'generic',
'vm': '/vm/730a466e-80a3-4aa3-79f8-7eb6a6f3abc8',
'control/platform-feature-multiprocessor-suspend': '1', 'description':
'', 'cpu/2/availability': 'online', 'cpu/1/availability': 'online',
'image/features/writable-descriptor-tables': '1', 'image/virt-base':
'18446744071562067968', 'memory/target': '4194304',
'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel':
'1', 'image/guest-os': 'linux', 'console/limit': '1048576',
'image/paddr-offset': '0', 'image/hypercall-page':
'18446744071562100736', 'image/suspend-cancel': '1',
'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb':
'1', 'image/features/writable-page-tables': '1', 'console/type':
'ioemu', 'image/features/auto-translated-physmap': '1', 'name':
'test', 'domid': '1', 'image/xen-version': 'xen-3.0',
'image/init-p2m': '18446719884453740544', 'store/port': '1'}
[2010-01-26 10:09:10 4764] WARNING (image:561) domain test: device
model failure: pid 5379: malfunctioning (closed sentinel), killed; see
/var/log/xen/qemu-dm-test.log
[2010-01-26 10:09:10 4764] DEBUG (DevController:95) DevController:
writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0',
'backend': '/local/domain/0/backend/console/1/0'} to
/local/domain/1/device/console/0.
[2010-01-26 10:09:10 4764] DEBUG (DevController:97) DevController:
writing {'domain': 'test', 'frontend':
'/local/domain/1/device/console/0', 'uuid':
'164d06b3-1ce7-ccfc-4258-72184fd3757a', 'frontend-id': '1', 'state':
'1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/1/0.
[2010-01-26 10:09:10 4764] WARNING (XendDomainInfo:2072) Domain has
crashed: name=test id=1.

==> /var/log/xen/xend-debug.log <==
ERROR Internal error: p2m_size < nr_pages -1 (0 < fffff

==> /var/log/xen/xend.log <==
[2010-01-26 10:09:10 4764] DEBUG (DevController:139) Waiting for devices tap2.
[2010-01-26 10:09:10 4764] DEBUG (DevController:139) Waiting for devices vif.
[2010-01-26 10:09:10 4764] DEBUG (DevController:144) Waiting for 0.
[2010-01-26 10:09:11 4764] ERROR (XendDomainInfo:2327) core dump
failed: id = 1 name = test: (1, 'Internal error', 'p2m_size < nr_pages
-1 (0 < fffff')
[2010-01-26 10:09:11 4764] DEBUG (XendDomainInfo:3061)
XendDomainInfo.destroy: domid=1
[2010-01-26 10:09:12 4764] DEBUG (XendDomainInfo:2416) Destroying device model
[2010-01-26 10:09:12 4764] DEBUG (DevController:653)
hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2010-01-26 10:09:12 4764] DEBUG (DevController:667) hotplugStatusCallback 1.
[2010-01-26 10:09:12 4764] DEBUG (DevController:139) Waiting for devices vkbd.
[2010-01-26 10:09:13 4764] DEBUG (DevController:139) Waiting for
devices ioports.
[2010-01-26 10:09:13 4764] DEBUG (DevController:139) Waiting for devices tap.
[2010-01-26 10:09:13 4764] DEBUG (DevController:139) Waiting for devices vif2.
[2010-01-26 10:09:13 4764] DEBUG (DevController:139) Waiting for
devices console.
[2010-01-26 10:09:13 4764] DEBUG (DevController:144) Waiting for 0.
[2010-01-26 10:09:13 4764] DEBUG (DevController:139) Waiting for devices vscsi.
[2010-01-26 10:09:13 4764] DEBUG (XendDomainInfo:2423) Releasing devices
[2010-01-26 10:09:13 4764] DEBUG (XendDomainInfo:2429) Removing vif/0
[2010-01-26 10:09:13 4764] DEBUG (XendDomainInfo:1271)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-01-26 10:09:13 4764] DEBUG (XendDomainInfo:2429) Removing vkbd/0
[2010-01-26 10:09:13 4764] DEBUG (XendDomainInfo:1271)
XendDomainInfo.destroyDevice: deviceClass = vkbd, device = vkbd/0
[2010-01-26 10:09:13 4764] DEBUG (XendDomainInfo:2429) Removing console/0
[2010-01-26 10:09:13 4764] DEBUG (XendDomainInfo:1271)
XendDomainInfo.destroyDevice: deviceClass = console, device =
console/0
[2010-01-26 10:09:13 4764] DEBUG (XendDomainInfo:2429) Removing vbd/51712
[2010-01-26 10:09:13 4764] DEBUG (XendDomainInfo:1271)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2010-01-26 10:09:14 4764] DEBUG (XendDomainInfo:2429) Removing vbd/51728
[2010-01-26 10:09:14 4764] DEBUG (XendDomainInfo:1271)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51728
[2010-01-26 10:09:14 4764] DEBUG (XendDomainInfo:2429) Removing vbd/51744
[2010-01-26 10:09:14 4764] DEBUG (XendDomainInfo:1271)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51744
[2010-01-26 10:09:14 4764] DEBUG (DevController:139) Waiting for devices vbd.
[2010-01-26 10:09:14 4764] DEBUG (DevController:144) Waiting for 51712.
[2010-01-26 10:09:14 4764] DEBUG (XendDomainInfo:2429) Removing vfb/0
[2010-01-26 10:09:14 4764] DEBUG (XendDomainInfo:1271)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2010-01-26 10:09:15 4764] DEBUG (DevController:653)
hotplugStatusCallback
/local/domain/0/backend/vbd/1/51712/hotplug-status.
[2010-01-26 10:09:15 4764] DEBUG (DevController:667) hotplugStatusCallback 1.
[2010-01-26 10:09:15 4764] DEBUG (DevController:144) Waiting for 51728.
------------------------------------

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