From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>, Rob Landley <rob@landley.net>
Subject: Re: [uml-devel] [PATCH] Ok, I build x86-64 -skas0, and it still segfaults.
Date: Sun, 13 Nov 2005 20:20:00 +0100 [thread overview]
Message-ID: <200511132020.01596.blaisorblade@yahoo.it> (raw)
In-Reply-To: <20051113193256.GA25736@ccure.user-mode-linux.org>
On Sunday 13 November 2005 20:32, Jeff Dike wrote:
> On Sat, Nov 12, 2005 at 07:36:41PM -0600, Rob Landley wrote:
> > Stub registers -
> > 0 - 9090909090909090
> > 1 - 9090909090909090
> > 2 - 9090909090909090
> > 3 - 9090909090909090
> > 4 - 9090909090909090
> > 5 - 9090909090909090
> > 6 - 9090909090909090
> > 7 - 9090909090909090
> > 8 - 9090909090909090
> > 9 - 9090909090909090
> > 10 - 0
> > 11 - 9090909090909090
> > 12 - 9090909090909090
> > 13 - 9090909090909090
> > 14 - 9090909090909090
> > 15 - ffffffffffffffff
> > 16 - 9090909090909090
> > 17 - 33
> > 18 - 292
> > 19 - 9090909090909090
> > 20 - 2b
>
> I remain baffled by this. There is nothing valid there. At the very least
> RSP and RIP should be reasonable, and they're not.
Jeff, given the current state, I think that we need a look at the disassembly
- or better:
*) build a 2.6.15-rc1 binary with Rob's config.
*) test that it works
*) send him and see if it works for him
*) finally, conclude GCC is misassembling stuff and take measures for this
case.
Meanwhile, Rob, can you provide the disassembly? We need to look at
disassembled arch/um/sys-x86_64/stub_segv.c arch/um/kernel/skas/clone.c, i.e.
stub_segv_handler() and stub_clone_handler().
* Also, about the miscompilation bug you described:
is it caused by GCC saving the "from" value (UML_CONFIG_STUB_DATA) on the
stack and re-loading it?
* Ah, Jeff, while giving a casual look: should I remove x86_64 "syscall_stub"
label from stub.S, since it should be unused (replaced by
batch_syscall_stub), doesn't exist for 386 and the content is bogus?
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Messenger: chiamate gratuite in tutto il mondo
http://it.messenger.yahoo.com
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2005-11-13 19:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-13 1:36 [uml-devel] [PATCH] Ok, I build x86-64 -skas0, and it still segfaults Rob Landley
2005-11-13 17:54 ` Blaisorblade
2005-11-13 23:26 ` Rob Landley
2005-11-14 19:40 ` Blaisorblade
2005-11-16 3:09 ` Rob Landley
2005-11-18 7:43 ` Blaisorblade
2005-11-18 7:36 ` Rob Landley
2005-11-18 7:58 ` Blaisorblade
2005-11-18 8:58 ` Rob Landley
2005-11-19 0:11 ` [uml-devel] [PATCH] UML x86-64 build fix Rob Landley
2005-11-13 19:32 ` [uml-devel] [PATCH] Ok, I build x86-64 -skas0, and it still segfaults Jeff Dike
2005-11-13 19:20 ` Blaisorblade [this message]
2005-11-13 23:32 ` Rob Landley
2005-11-14 15:33 ` Jeff Dike
2005-11-14 21:55 ` Jeff Dike
2005-11-14 23:24 ` Rob Landley
2005-11-14 23:45 ` Rob Landley
2005-11-15 1:38 ` Jeff Dike
2005-11-15 2:18 ` Rob Landley
2005-11-15 22:09 ` Paolo Giarrusso
2005-11-16 0:57 ` Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200511132020.01596.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=jdike@addtoit.com \
--cc=rob@landley.net \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox