From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VI3aF-0008CJ-Iz for qemu-devel@nongnu.org; Fri, 06 Sep 2013 17:28:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VI3aA-00043z-8H for qemu-devel@nongnu.org; Fri, 06 Sep 2013 17:28:51 -0400 Received: from mout.gmx.net ([212.227.17.22]:56870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VI3a9-00043V-Va for qemu-devel@nongnu.org; Fri, 06 Sep 2013 17:28:46 -0400 Received: from siegfried.kdserv.dyndns.org ([213.211.221.128]) by mail.gmx.com (mrgmx002) with ESMTPA (Nemesis) id 0LikQP-1VqYuv1zyP-00czNz for ; Fri, 06 Sep 2013 23:28:44 +0200 From: Christof Schulze Date: Fri, 06 Sep 2013 23:28:42 +0200 Message-ID: <14521777.Zs7TYHhG6D@siegfried> In-Reply-To: <6220516.fTby4aKWBy@siegfried> References: <1516087.xyo50bTIdQ@siegfried> <52275349.2070602@twiddle.net> <6220516.fTby4aKWBy@siegfried> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7979444.y6adv0NN7O"; micalg="pgp-sha1"; protocol="application/pgp-signature" Subject: Re: [Qemu-devel] qemu-user-x86_64 segfaults on armv5 (WAS: qemu-user + networking issues / segfaults) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Richard Henderson --nextPart7979444.y6adv0NN7O Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" Hello Richard, using your vdso patch from today that takes into account vtime as well, running linux-x86_64 code on arm via qemu-user works! Thank you very much for your support and energy! As promised on IRC the software is dead-slow but I do not mind since it is a batch application anyways. I only wonder why this is not in the master branch. Christof Am Freitag, 6. September 2013, 12:38:21 schrieb Christof Schulze: > Hello > Am Mittwoch, 4. September 2013, 08:35:37 schrieb Richard Henderson: > > On 08/29/2013 02:27 PM, Christof Schulze wrote: > > > #5 0x6012a100 in tb_gen_code (env=0x612def20, pc=18446744073699066880, > > > cs_base=0, flags=4243635, cflags=0) > > > at /mnt/data/build/qemu-1.6.0-ministatic/translate-all.c:964 > > In know exactly what this is -- the fallback vsyscall page. > > I've had a patch set around for the last three years or so to provide > > a real vdso for x86_64. I repost it every so often, usually to no > > response. > > See git://github.com/rth7680/qemu.git elfload-vdso > after trying the patch itself and still getting slightly other crashes > on irc we decided to try this patch based on the master branch. This > allowed for debugging with gdb as it circumvented a bug of the early > 1.6rcs of qemu where the g packet was transmitting two many registers. > Having set a breakpoint at *0x0000000040816725 (the memory position > where the segfault happens) I got the following > output. > Loaded symbols for /lib64/ld-linux-x86-64.so.2 > 0x0000000040802650 in _start () from /lib64/ld-linux-x86-64.so.2 > (gdb) b *0x0000000040816725 > Haltepunkt 1 at 0x40816725: file ../sysdeps/x86_64/dl-trampoline.S, line 46. > (gdb) cont > Continuing. > Breakpoint 1, _dl_runtime_resolve () at ../sysdeps/x86_64/dl-trampoline.S:46 > 46 ../sysdeps/x86_64/dl-trampoline.S: Datei oder Verzeichnis nicht > gefunden. it says dl-trampoline.S: file or directory not found and gives me > the gdb shell > Breakpoint 1, _dl_runtime_resolve () at ../sysdeps/x86_64/dl-trampoline.S:46 > 46 in ../sysdeps/x86_64/dl-trampoline.S > (gdb) > Continuing. > Program received signal SIGSEGV, Segmentation fault. > 0xffffffffff600400 in ?? () > RTH mentioned that the runtime resolution of the symbol was into the > vsyscall page. > Now I am unsure where I should go from this point. > Should I collect more data? If so, what exactly is needed? > What else could I do to get this resolved? > Christof -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --nextPart7979444.y6adv0NN7O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlIqSQsACgkQpZfyPAmdZJmYlwCg0pY4RMR/I2iMMNLZYkEfAD7d y8AAoJGNvCCKZreMbQBaLBfrOzE2jVqY =VzhB -----END PGP SIGNATURE----- --nextPart7979444.y6adv0NN7O--