Port-xen archive

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

Re: [Xen-devel] Fwd: NetBSD xl core-dump not working... Memory fault (core dumped)




On 11/13/13 12:39, Roger Pau Monné wrote:
> On 13/11/13 13:36, Miguel C. wrote:
>> I have the xenkernel debug version but in this case you mean the tool right?
>>
>> I recompile xentools again with debug support pater today or tomorrow and 
>> give some more feedback.
> 
> I mean that you need to compile the hypervisor with debug=y. Have you
> tried to apply the patch on the link that I've posted to NetBSD source
> and rebuild the kernel?
> 

Hi, I've rebuilded with the patch + debug a=ynd tried the xl core dump
again, I still get the same issue!

It really seems to fail close to the end (at least judging for the size
of the files)

GDB seems to show similar output, not sure if the debug option should
give more info?!

(gdb) run
Starting program: /usr/sbin/xl -vf dump-core w2k12 core.dump

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x00007f7ff7007b45 in xc_domain_dumpcore_via_callback
(xch=0x7f7ff7b0d800, domid=32, args=0x7f7fffffdae0,
dump_rtn=0x7f7ff700632c <local_file_dump>) at xc_core.c:860
860     xc_core.c: No such file or directory.
        in xc_core.c
(gdb) backtrace
#0  0x00007f7ff7007b45 in xc_domain_dumpcore_via_callback
(xch=0x7f7ff7b0d800, domid=32, args=0x7f7fffffdae0,
dump_rtn=0x7f7ff700632c <local_file_dump>) at xc_core.c:860
#1  0x00007f7ff7007fda in xc_domain_dumpcore (xch=0x7f7ff7b0d800,
domid=32, corename=0x7f7ffffffe91 "core.dump") at xc_core.c:983
#2  0x00007f7ff74117b3 in libxl_domain_core_dump (ctx=0x7f7ff7b03200,
domid=32, filename=0x7f7ffffffe91 "core.dump", ao_how=<optimized out>)
at libxl.c:808
#3  0x000000000040f748 in core_dump_domain (filename=0x7f7ffffffe91
"core.dump", domain_spec=<optimized out>) at xl_cmdimpl.c:3301
#4  main_dump_core (argc=<optimized out>, argv=0x7f7fffffdca8) at
xl_cmdimpl.c:3642
#5  0x0000000000407055 in main (argc=3, argv=0x7f7fffffdca8) at xl.c:267
(gdb)



Home | Main Index | Thread Index | Old Index