[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Test result of xen-unstable changeset 25259



Ian Campbell-10 wrote
> 
> When we went through this on you last posting this seemed to be related
> to the python path stuff on Ubuntu/Debian. However you don't mention
> tweaking that in your setup -- are you sure you have corrected this
> issue?
> 
> If this isn't the issue then please can you provide (separately) full
> logs (xl cr -vvv & /var/log/xen/foo, etc) for both these cases.
> 
"PYTHON_PREFIX_ARG =" in Config.mk solves python error on pygrub but not
domU pv boot error.

--------------------------------------
lucid.cfg
--------
name="lucid"
vcpus=2
memory=512
disk=['/mnt/vm/disks/lucid.disk1.xm,raw,xvda1,rw',
'/mnt/vm/disks/lucid.disk2.xm,raw,xvda2,rw']
vif=['bridge=xenbr0']
vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it']
bootloader = '/usr/bin/pygrub'
#kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
#extra = "(hd0,0)/grub/grub.cfg"
--------------------------------------

With pygrub:
--------------------------------------
xl -vvv create /etc/xen/lucid.cfg
Parsing config file /etc/xen/lucid.cfg
libxl: debug: libxl_device.c:183:libxl__device_disk_set_backend: Disk
vdev=xvda1 spec.backend=unknown
libxl: debug: libxl_device.c:137:disk_try_backend: Disk vdev=xvda1, backend
phy unsuitable as phys path not a block device
libxl: debug: libxl_device.c:219:libxl__device_disk_set_backend: Disk
vdev=xvda1, using backend tap
libxl: debug: libxl_device.c:183:libxl__device_disk_set_backend: Disk
vdev=xvda2 spec.backend=unknown
libxl: debug: libxl_device.c:137:disk_try_backend: Disk vdev=xvda2, backend
phy unsuitable as phys path not a block device
libxl: debug: libxl_device.c:219:libxl__device_disk_set_backend: Disk
vdev=xvda2, using backend tap
libxl: debug: libxl_device.c:183:libxl__device_disk_set_backend: Disk
vdev=xvda1 spec.backend=tap
libxl: debug: libxl.c:1689:libxl_device_disk_local_attach: locally attaching
tap disk /mnt/vm/disks/lucid.disk1.xm directly (ie without using blktap)
libxl: error: libxl_create.c:603:do_domain_create: failed to run bootloader:
-3
xc: debug: hypercall buffer: total allocations:13 total releases:13
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
xc: debug: hypercall buffer: cache current size:2
xc: debug: hypercall buffer: cache hits:10 misses:2 toobig:1
-------------------------------
xl-lucid.log seems not to be created during this xl create
--------------------------------------

With pv-grub:
--------------------------------------
xl -vvv create /etc/xen/lucid.cfg
Parsing config file /etc/xen/lucid.cfg
libxl: debug: libxl_device.c:183:libxl__device_disk_set_backend: Disk
vdev=xvda1 spec.backend=unknown
libxl: debug: libxl_device.c:137:disk_try_backend: Disk vdev=xvda1, backend
phy unsuitable as phys path not a block device
libxl: debug: libxl_device.c:219:libxl__device_disk_set_backend: Disk
vdev=xvda1, using backend tap
libxl: debug: libxl_device.c:183:libxl__device_disk_set_backend: Disk
vdev=xvda2 spec.backend=unknown
libxl: debug: libxl_device.c:137:disk_try_backend: Disk vdev=xvda2, backend
phy unsuitable as phys path not a block device
libxl: debug: libxl_device.c:219:libxl__device_disk_set_backend: Disk
vdev=xvda2, using backend tap
domainbuilder: detail: xc_dom_allocate: cmdline="(hd0,0)/grub/grub.cfg",
features="(null)"
domainbuilder: detail: xc_dom_kernel_file:
filename="/usr/lib/xen/boot/pv-grub-x86_64.gz"
domainbuilder: detail: xc_dom_malloc_filemap    : 978 kB
domainbuilder: detail: xc_dom_malloc            : 14277 kB
domainbuilder: detail: xc_dom_do_gunzip: unzip ok, 0xf4ac6 -> 0xdf17c6
domainbuilder: detail: xc_dom_boot_xen_init: ver 4.2, 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 
domainbuilder: detail: xc_dom_parse_image: called
domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader
... 
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying Linux bzImage loader ... 
xc: error: panic: xc_dom_bzimageloader.c:588: xc_dom_probe_bzimage_kernel:
kernel is not a bzImage: Invalid kernel
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying ELF-generic loader ... 
domainbuilder: detail: loader probe OK
xc: detail: elf_parse_binary: phdr: paddr=0x0 memsz=0x99ef00
xc: detail: elf_parse_binary: memory: 0x0 -> 0x99ef00
xc: detail: elf_xen_parse: __xen_guest:
"GUEST_OS=Mini-OS,XEN_VER=xen-3.0,VIRT_BASE=0x0,ELF_PADDR_OFFSET=0x0,HYPERCALL_PAGE=0x2,LOADER=generic"
xc: detail: elf_xen_parse_guest_info: GUEST_OS="Mini-OS"
xc: detail: elf_xen_parse_guest_info: XEN_VER="xen-3.0"
xc: detail: elf_xen_parse_guest_info: VIRT_BASE="0x0"
xc: detail: elf_xen_parse_guest_info: ELF_PADDR_OFFSET="0x0"
xc: detail: elf_xen_parse_guest_info: HYPERCALL_PAGE="0x2"
xc: detail: elf_xen_parse_guest_info: LOADER="generic"
xc: detail: elf_xen_addr_calc_check: addresses:
xc: detail:     virt_base        = 0x0
xc: detail:     elf_paddr_offset = 0x0
xc: detail:     virt_offset      = 0x0
xc: detail:     virt_kstart      = 0x0
xc: detail:     virt_kend        = 0x99ef00
xc: detail:     virt_entry       = 0x0
xc: detail:     p2m_base         = 0xffffffffffffffff
domainbuilder: detail: xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0x0 ->
0x99ef00
domainbuilder: detail: xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, 4k
each
domainbuilder: detail: xc_dom_mem_init: 0x20000 pages
domainbuilder: detail: xc_dom_boot_mem_init: called
domainbuilder: detail: x86_compat: guest xen-3.0-x86_64, address size 64
domainbuilder: detail: xc_dom_malloc            : 1024 kB
domainbuilder: detail: xc_dom_build_image: called
domainbuilder: detail: xc_dom_alloc_segment:   kernel       : 0x0 ->
0x99f000  (pfn 0x0 + 0x99f pages)
domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x0+0x99f at
0x7f6a04b45000
xc: detail: elf_load_binary: phdr 0 at 0x0x7f6a04b45000 -> 0x0x7f6a054e3f00
domainbuilder: detail: xc_dom_alloc_segment:   phys2mach    : 0x99f000 ->
0xa9f000  (pfn 0x99f + 0x100 pages)
domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x99f+0x100 at
0x7f6a04a45000
domainbuilder: detail: xc_dom_alloc_page   :   start info   : 0xa9f000 (pfn
0xa9f)
domainbuilder: detail: xc_dom_alloc_page   :   xenstore     : 0xaa0000 (pfn
0xaa0)
domainbuilder: detail: xc_dom_alloc_page   :   console      : 0xaa1000 (pfn
0xaa1)
domainbuilder: detail: nr_page_tables: 0x0000ffffffffffff/48:
0x0000000000000000 -> 0x0000ffffffffffff, 1 table(s)
domainbuilder: detail: nr_page_tables: 0x0000007fffffffff/39:
0x0000000000000000 -> 0x0000007fffffffff, 1 table(s)
domainbuilder: detail: nr_page_tables: 0x000000003fffffff/30:
0x0000000000000000 -> 0x000000003fffffff, 1 table(s)
domainbuilder: detail: nr_page_tables: 0x00000000001fffff/21:
0x0000000000000000 -> 0x0000000000bfffff, 6 table(s)
domainbuilder: detail: xc_dom_alloc_segment:   page tables  : 0xaa2000 ->
0xaab000  (pfn 0xaa2 + 0x9 pages)
domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0xaa2+0x9 at
0x7f6a04a3c000
domainbuilder: detail: xc_dom_alloc_page   :   boot stack   : 0xaab000 (pfn
0xaab)
domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0xaac000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0xc00000
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: arch_setup_bootearly: doing nothing
domainbuilder: detail: xc_dom_compat_check: supported guest type:
xen-3.0-x86_64 <= matches
domainbuilder: detail: xc_dom_compat_check: supported guest type:
xen-3.0-x86_32p
domainbuilder: detail: xc_dom_compat_check: supported guest type:
hvm-3.0-x86_32
domainbuilder: detail: xc_dom_compat_check: supported guest type:
hvm-3.0-x86_32p
domainbuilder: detail: xc_dom_compat_check: supported guest type:
hvm-3.0-x86_64
domainbuilder: detail: xc_dom_update_guest_p2m: dst 64bit, pages 0x20000
domainbuilder: detail: clear_page: pfn 0xaa1, mfn 0x33f1c8
domainbuilder: detail: clear_page: pfn 0xaa0, mfn 0x33f1c9
domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0xa9f+0x1 at
0x7f6a04a3b000
domainbuilder: detail: start_info_x86_64: called
domainbuilder: detail: setup_hypercall_page: vaddr=0x2000 pfn=0x2
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:    allocated
domainbuilder: detail:       malloc             : 15368 kB
domainbuilder: detail:       anon mmap          : 0 bytes
domainbuilder: detail:    mapped
domainbuilder: detail:       file mmap          : 978 kB
domainbuilder: detail:       domU mmap          : 10916 kB
domainbuilder: detail: arch_setup_bootlate: shared_info: pfn 0x0, mfn
0xbf111
domainbuilder: detail: shared_info_x86_64: called
domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0xaa2 mfn 0x33f1c7
domainbuilder: detail: launch_vm: called, ctxt=0x7fff4b0bd640
domainbuilder: detail: xc_dom_release: called
libxl: debug: libxl_device.c:183:libxl__device_disk_set_backend: Disk
vdev=xvda1 spec.backend=tap
libxl: debug: libxl_device.c:183:libxl__device_disk_set_backend: Disk
vdev=xvda2 spec.backend=tap
libxl: debug: libxl_dm.c:987:libxl__create_device_model: Spawning
device-model /usr/lib/xen/bin/qemu-system-i386 with arguments:
libxl: debug: libxl_dm.c:989:libxl__create_device_model:  
/usr/lib/xen/bin/qemu-system-i386
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   -xen-domid
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   21
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   -chardev
libxl: debug: libxl_dm.c:989:libxl__create_device_model:  
socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-21,server,nowait
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   -mon
libxl: debug: libxl_dm.c:989:libxl__create_device_model:  
chardev=libxl-cmd,mode=control
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   -xen-attach
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   -name
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   lucid
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   -vnc
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   0.0.0.0:0,to=99
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   -k
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   it
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   -M
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   xenpv
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   -m
libxl: debug: libxl_dm.c:989:libxl__create_device_model:   513
libxl: debug: libxl_qmp.c:692:libxl__qmp_initialize: connected to
/var/run/xen/qmp-libxl-21
libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command:
'{"execute":"qmp_capabilities","id":1}'
libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command:
'{"execute":"query-chardev","id":2}'
libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command:
'{"execute":"query-vnc","id":3}'
libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: return
Daemon running with PID 9230
xc: debug: hypercall buffer: total allocations:154 total releases:154
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
xc: debug: hypercall buffer: cache current size:2
xc: debug: hypercall buffer: cache hits:149 misses:2 toobig:3
-------------------------------
/var/log/xen/xl-lucid.log
-----------------------
Waiting for domain lucid (domid 21) to die [pid 9231]
libxl: debug: libxl_event.c:406:watchfd_callback: watch event:
epath=@releaseDomain token=3/0 wpath=@releaseDomain w=0x1bd0818
libxl: debug: libxl.c:806:domain_death_xswatch_callback: [evg=0x1bcd920:21]
from domid=21 nentries=1 rc=1
libxl: debug: libxl.c:817:domain_death_xswatch_callback: [evg=0x1bcd920:21]  
got=domaininfos[0] got->domain=21
libxl: debug: libxl.c:844:domain_death_xswatch_callback:  exists
shutdown_reported=0 dominf.flags=ffff0020
libxl: debug: libxl.c:810:domain_death_xswatch_callback: [evg=0] all
reported
libxl: debug: libxl.c:874:domain_death_xswatch_callback: domain death search
done
libxl: debug: libxl_event.c:406:watchfd_callback: watch event:
epath=@releaseDomain token=3/0 wpath=@releaseDomain w=0x1bd0818
libxl: debug: libxl.c:806:domain_death_xswatch_callback: [evg=0x1bcd920:21]
from domid=21 nentries=1 rc=0
libxl: debug: libxl.c:817:domain_death_xswatch_callback: [evg=0x1bcd920:21]  
got=domaininfos[0] got->domain=-1
libxl: debug: libxl.c:761:domain_death_occurred: empty list
libxl: debug: libxl.c:810:domain_death_xswatch_callback: [evg=0] all
reported
libxl: debug: libxl.c:874:domain_death_xswatch_callback: domain death search
done
Domain 21 has been destroyed.
--------------------------------------

--
View this message in context: 
http://xen.1045712.n5.nabble.com/Test-result-of-xen-unstable-changeset-25259-tp5691153p5694297.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.