From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mike C." Subject: Re: [Xen-devel] Fwd: NetBSD xl core-dump not working... Memory fault (core dumped) Date: Tue, 03 Dec 2013 18:14:55 +0000 Message-ID: <529E1F9F.5040501@gmail.com> References: <52770EED.9090804@gmx.de> <52781C27.2040508@gmail.com> <1383820189.26213.152.camel@kazak.uk.xensource.com> <1383906558.3189.81.camel@kazak.uk.xensource.com> <5281F953.2060101@citrix.com> <1384250453.1883.37.camel@kazak.uk.xensource.com> <5281FE63.2060503@citrix.com> <5283730B.2020900@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <5283730B.2020900@citrix.com> Sender: port-xen-owner@NetBSD.org To: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= , Ian Campbell Cc: xen-devel@lists.xensource.com, "port-xen@netbsd.org" List-Id: xen-devel@lists.xenproject.org On 11/13/13 12:39, Roger Pau Monn=C3=A9 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. >=20 > I mean that you need to compile the hypervisor with debug=3Dy. Have you > tried to apply the patch on the link that I've posted to NetBSD source > and rebuild the kernel? >=20 Hi, I've rebuilded with the patch + debug a=3Dynd 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=3D0x7f7ff7b0d800, domid=3D32, args=3D0x7f7fffffdae0, dump_rtn=3D0x7f7ff700632c ) 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=3D0x7f7ff7b0d800, domid=3D32, args=3D0x7f7fffffdae0, dump_rtn=3D0x7f7ff700632c ) at xc_core.c:860 #1 0x00007f7ff7007fda in xc_domain_dumpcore (xch=3D0x7f7ff7b0d800, domid=3D32, corename=3D0x7f7ffffffe91 "core.dump") at xc_core.c:983 #2 0x00007f7ff74117b3 in libxl_domain_core_dump (ctx=3D0x7f7ff7b03200, domid=3D32, filename=3D0x7f7ffffffe91 "core.dump", ao_how=3D) at libxl.c:808 #3 0x000000000040f748 in core_dump_domain (filename=3D0x7f7ffffffe91 "core.dump", domain_spec=3D) at xl_cmdimpl.c:3301 #4 main_dump_core (argc=3D, argv=3D0x7f7fffffdca8) at xl_cmdimpl.c:3642 #5 0x0000000000407055 in main (argc=3D3, argv=3D0x7f7fffffdca8) at xl.c:= 267 (gdb)