linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Oleg Drokin <green@linuxhacker.ru>, Nuno Silva <nuno.silva@vgertech.com>
Subject: Re: [uml-devel] UML running on host-kernel 2.6.0 with NPTL-enabled glibc problem
Date: Sun, 11 Jan 2004 11:49:20 +0100	[thread overview]
Message-ID: <200401111149.20507.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <200401102025.i0AKPXeA004382@car.linuxhacker.ru>

Alle 21:25, sabato 10 gennaio 2004, Oleg Drokin ha scritto:
> Hello!
>
> Nuno Silva <nuno.silva@vgertech.com> wrote:
>
> NS> I've been trying for days and made lots of tests and it seems that the
> NS> 2.4 UML binary can't run on a host with 2.6 kernel and nptl-enabled
> glibc.
>
> Hm. I guess you are running some sort of old uml code.
> The fix was oneliner and included long ago. See the patch below.
> Apply it and then recompile.

I've just looked at 2.4.23-1um and I saw that dyn_link.ld.in has not this fix. 
Shouldn't it go in there, too? (That fix has been tested for both dynamic and 
static linking wrt 2.6 guest). Nuno, maybe you compiled a dynamic UML guest?

Note: the patch for dyn_link.ld.in must remove the first align, but not the 
second (this is for 2.6 so it won't apply, but it's good as reference):

--- ./arch/um/dyn.lds.S.align	2003-12-25 19:38:35.000000000 +0100
+++ ./arch/um/dyn.lds.S	2003-12-26 17:13:38.000000000 +0100
@@ -10,7 +10,6 @@
 {
   . = START + SIZEOF_HEADERS;
   .interp         : { *(.interp) }
-  . = ALIGN(4096);
   __binary_start = .;
   . = ALIGN(4096);             /* Init code and data */

-- 
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.23/2.6.0 on an i686; Linux registered user n. 292729
EOSIGN



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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-01-11 15:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-09  9:09 [uml-devel] UML running on host-kernel 2.6.0 with NPTL-enabled glibc problem Nuno Silva
2004-01-09 13:19 ` La Monte H.P. Yarroll
2004-01-09 13:29   ` La Monte H.P. Yarroll
2004-01-09 13:39     ` Nuno Silva
2004-01-09 13:35   ` Nuno Silva
2004-01-10 20:25 ` Oleg Drokin
2004-01-11 10:49   ` BlaisorBlade [this message]
2004-01-11 18:28     ` Oleg Drokin
2004-01-12  3:49   ` Nuno Silva

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=200401111149.20507.blaisorblade_spam@yahoo.it \
    --to=blaisorblade_spam@yahoo.it \
    --cc=green@linuxhacker.ru \
    --cc=nuno.silva@vgertech.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;
as well as URLs for NNTP newsgroup(s).