All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ralph Paßgang" <ralph@debianbase.de>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: [PATCH] nptl/sys_clone fix for i386/ppc
Date: Sat, 11 Sep 2004 16:18:08 +0200	[thread overview]
Message-ID: <200409111618.08404.ralph@debianbase.de> (raw)
In-Reply-To: <4142FEC3.1040904@upb.de>

Am Samstag 11 September 2004 15:33 schrieb Sven Köhler:
> >>The problem is caused by the incorrect implementation of sys_clone().
> >> sys_clone() is an ugly beast that has different arguements depending
> >>on  the architecture.  For i386 and ppc, the child tid is passed as
> >>the  5th arguement instead of as the 4th arguement as as some other
> >>architectures (like x86-64) do.  The 4th arguement on i386 and ppc
> >>doesn't look to be used by the kernel.
> >
> > This is fixed in my tree.  It was a lot simpler than your patch, or what
> > I led you to believe.  I just moved sys_clone from syscall_kern.c to
> > arch/um/sys-i386/syscalls.c and fixed the interface.
>
> Sorry, i guess my question is stupid, but does UML now run an a
> host-system that is NPTL enabled? I didn't try that for a few months
> now, and LD_ASSUME_KERNEL=2.4.1 won't work with my host-system (gentoo)
> since it doesn't come with a 2nd glibc-versions.

Yes... uml is running on a host with nptl. Only in the uml sessions you should 
disable nptl by moving /lib/tls to /lib/tls.disabled

--Ralph


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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-09-11 14:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-26  2:06 [uml-devel] [PATCH] nptl/sys_clone fix for i386/ppc David Jeffery
2004-09-05 15:35 ` BlaisorBlade
2004-09-07 23:12 ` Michael Ralston
2004-09-10 23:52 ` Jeff Dike
2004-09-11 13:33   ` [uml-devel] " Sven Köhler
2004-09-11 14:18     ` Ralph Paßgang [this message]
2004-09-11 15:19     ` BlaisorBlade
2004-09-11 20:11       ` Sven Köhler
2004-09-12 18:19         ` BlaisorBlade
2004-09-11 15:45   ` [uml-devel] " BlaisorBlade
2004-09-11 18:26     ` Jeff Dike
2004-09-12 15:52       ` BlaisorBlade
2004-09-13  3:10         ` Jeff Dike
2004-09-13  3:10           ` Jeff Dike
2004-09-13 18:50           ` BlaisorBlade
2004-09-13 18:50             ` BlaisorBlade
2004-09-12 15:54       ` [uml-devel] Unsent fixes by Andrew Morton BlaisorBlade

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=200409111618.08404.ralph@debianbase.de \
    --to=ralph@debianbase.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.