linux-um archives
 help / color / mirror / Atom feed
From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Anthony Brock <brocka@sterlingcgi.com>
Subject: Re: [uml-devel] SKAS on AMD 64-Bit
Date: Mon, 23 Aug 2004 17:58:16 +0200	[thread overview]
Message-ID: <200408231758.16810.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <LEEIJGBJEEABAGOFFGAHCEHMCBAA.brocka@sterlingcgi.com>

Alle 01:13, lunedì 16 agosto 2004, Anthony Brock ha scritto:
> It would probably help if I included the patch! :)
Hmmm... are you trying to run a normal UML binary, I guess, i.e. a 32-bit app 
which would also run onto a x86 pc, right? 64bit UMLs don't support well the 
SKAS mode (actually, I never tested this, but there are some significant 
changes in the SKAS code in the x86_64-UML patch).

I wrote a patch for this, applying onto a vanilla 2.4 kernel tree, but I never 
tested it (not even if it compiled). And I'm rechecking it, and there are 
some bugs in it.

About your patch, there is just a big bug in your patch (if you want to run a 
*32* bit UML): when a 32 bit app invokes a syscall, let's say mmap, actually 
it calls the sys32_ version of it, if that one exists, in this case 
sys32_mmap. You can check the name of the syscall functions in 
arch/x86_64/ia32/ia32entry.S. There are some such bugs in my patch, too, in 
fact. However, when I come back (I'm on holidays and far from Internet - 
today is 23 August), if you want to help (i.e. actually test the patches), 
just email me and I'll finish the porting and publish it.

-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id\x10808&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-08-29 21:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-06 18:41 [uml-devel] SKAS on AMD 64-Bit Anthony Brock
2004-08-15 21:44 ` Anthony Brock
2004-08-15 23:13   ` Anthony Brock
2004-08-23 15:58     ` BlaisorBlade [this message]
2004-08-31 23:08     ` [uml-devel] UML " Qinghua(Kevin) Ye

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=200408231758.16810.blaisorblade_spam@yahoo.it \
    --to=blaisorblade_spam@yahoo.it \
    --cc=brocka@sterlingcgi.com \
    --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