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

[Xen-devel] BUG: xend cores when creating a VM with 16MByte RAM


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Andreas Florath <xen@xxxxxxxxxxxx>
  • Date: Mon, 03 Aug 2009 21:11:10 +0200
  • Delivery-date: Mon, 03 Aug 2009 12:11:35 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello!

When creating a VM with 16MByte xend cores with

Program received signal SIGBUS, Bus error.
[Switching to Thread 0xb45ffb90 (LWP 27606)]
0xb7ecf6af in memset () from /lib/libc.so.6

and a stack trace like the one in the attachment.
(detected during a run of xm-test '16_create_smallmem_neg')

xend should throw / return some error - but must not core.

Environment:
xen-unstable
i386
Debian 5.0.1

Kind regards

Andreas


P.S.: Started some deeper analyse of this problem which leads me to some
hints that 'mmap(2)' does not work - which I cannot believe. (Some more
notes and stack traces to my (possible wrong) analyse can be found in my
notebook [1].)

[1] http://87.230.77.133/blog/?p=42



===========================================
(gdb) bt
#0  0xb7f446af in memset () from /lib/libc.so.6
#1  0xb7ad4d6e in xc_dom_alloc_segment (dom=0x9efd9c0, seg=0x9efdb80,
name=0xb7adc763 "kernel", start=3238002688, size=9732096)
    at xc_dom_core.c:424
#2  0xb7ad4e48 in xc_dom_build_image (dom=0x9efd9c0) at xc_dom_core.c:730
#3  0xb7ad7267 in xc_linux_build_internal (dom=0x9efd9c0, xc_handle=,
domid=, mem_mb=16, flags=0,
    store_evtchn=1, store_mfn=0xb495468c, console_evtchn=2,
console_mfn=0xb4954688) at xc_dom_compat_linux.c:47
#4  0xb7ad734c in xc_dom_linux_build (xc_handle=8, dom=0Ã9efd9c0,
domid=198, mem_mb=16, image_name=0Ã9ebcfbc â/boot/vmlinuz-2.6.30-rc3-tipâ,
    initrd_name=0Ã9eb1a54
â/data/xu-add-bridge-to-kernel-config-01/tools/xm-test/ramdisk/initrd.imgâ,
flags=0, store_evtchn=1,
    store_mfn=0xb495468c, console_evtchn=2, console_mfn=0xb4954688) at
xc_dom_compat_linux.c:145
#5  0xb7b01ffb in pyxc_linux_build (self=0xb7e51340, args=0xb7e9102c,
kwds=0Ã9ecf68c) at xen/lowlevel/xc/xc.c:441
#6  0Ã0805d477 in PyObject_Call ()
#7  0Ã080ccbef in PyEval_EvalFrameEx ()
#8  0Ã080d0685 in PyEval_EvalCodeEx ()
#9  0Ã08117171 in ?? ()
#10 0Ã0995d6e0 in ?? ()
#11 0Ã099569bc in ?? ()
#12 0Ã00000000 in ?? ()

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


 


Rackspace

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