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

Re: [Xen-devel] The segmentfault when using xl create domU



At 2014-04-15 04:53:41, "Ian Campbell" <Ian.Campbell@xxxxxxxxxx> wrote:
>On Tue, 2014-04-15 at 10:33 +0800, duqi wrote:
>>  Hi there,
>> We tried to create domU with command "xl -vvv create -d domU_01" and
>> met the below fault:
>> 
>> root@linaro-alip:~/domU# xl -vvv create -d domU_01
>
>Does this happen if you drop the "-d"?
>
>please could you run under gdb and grab a backtrace. Someth8ing like:
>       # gdb --args xl -vvv create -d domU_01
>       (gdb) run
>       ....
>       crash!
>       (gdb) bt
>

Hi, here is the gdb output:
Program received signal SIGSEGV, Segmentation fault.
0xb6f6bc30 in memcpy (__len=16, __src=0xbefe6e0c, __dest=0x39488)
    at 
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.7/../../../../arm-linux-gnueabihf/include/bits/string3.h:51
51      
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.7/../../../../arm-linux-gnueabihf/include/bits/string3.h:
 No such file or direc.
(gdb) bt
#0  0xb6f6bc30 in memcpy (__len=16, __src=0xbefe6e0c, __dest=0x39488)
    at 
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.7/../../../../arm-linux-gnueabihf/include/bits/string3.h:51
#1  libxl_list_vm (ctx=ctx@entry=0x33030, 
    nb_vm_out=nb_vm_out@entry=0xbeffee30) at libxl.c:689
#2  0xb6f7b934 in libxl__domain_make (gc=gc@entry=0x393d0, 
    info=info@entry=0xbefff040, domid=domid@entry=0xbeffeec0)
    at libxl_create.c:613
#3  0xb6f7cadc in initiate_domain_create (dcs=0x398a8, egc=0xbeffeec4)
    at libxl_create.c:791
#4  do_domain_create (ctx=ctx@entry=0x33030, 
    d_config=d_config@entry=0xbefff040, domid=domid@entry=0xbeffef80, 
    restore_fd=restore_fd@entry=-1, 
    checkpointed_stream=checkpointed_stream@entry=0, ao_how=ao_how@entry=0x0, 
    aop_console_how=aop_console_how@entry=0x0) at libxl_create.c:1424
#5  0xb6f7d428 in libxl_domain_create_new (ctx=0x33030, 
    d_config=d_config@entry=0xbefff040, domid=domid@entry=0xbeffef80, 
    ao_how=ao_how@entry=0x0, aop_console_how=aop_console_how@entry=0x0)
    at libxl_create.c:1449
#6  0x00017040 in create_domain (dom_info=0xbeffefdc) at xl_cmdimpl.c:2283
#7  main_create (argc=<optimized out>, argv=<optimized out>)
    at xl_cmdimpl.c:4469
#8  0x0000db84 in main (argc=3, argv=0xbefff82c) at xl.c:362
(gdb) 

Many thanks.

duqi.

>> Parsing config from domU_test
>> unable to format domain config as JSON (YAJL:1)
>> libxl: debug: libxl_create.c:1342:do_domain_create: ao 0x1df8610:
>> create: how=(nil) callback=(nil) poller=0x1df8658
>> Segmentation fault
>> 
>> Here is the context of domU_01:
>>    kernel = "/root/domU/zImage"
>>    memory = "64" 
>>    name = "domU" 
>>    vcpus = 1 
>>    serial="pty"
>>    disk = [ 'phy:/dev/loop0,xvda,w' ]
>>    vif=[ 'mac=00:16:3e:56:af:69,bridge=virbr0,type=netfront', ]
>> Here is our version and conigurations about xen:
>> Xen : git://xenbits.xen.org/xen.git and 'RELEASE-4.4.0' branch
>> we used "make dist-xen XEN_TARGET_ARCH=arm32
>> CROSS_COMPILE=arm-linux-gnueabihf- CONFIG_EARLY_PRINTK=sun7i" to
>> compile the xen.
>> 
>> Could you give us some  advices?
>> Thank you very much.
>> 
>> duqi.
>> 
>> 
>> 
>> 
>
>
_______________________________________________
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®.