All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Blaisorblade <blaisorblade@yahoo.it>,
	Jeff Dike <jdike@addtoit.com>,
	user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-devel] Re: Problems about fork-not-clone (was: Re: [uml-user] UML exits after "tracing thread pid")
Date: Tue, 12 Jul 2005 03:04:57 -0500	[thread overview]
Message-ID: <200507120304.58283.rob@landley.net> (raw)
In-Reply-To: <200507120253.38724.rob@landley.net>

On Tuesday 12 July 2005 02:53, Rob Landley wrote:

> But how do you trigger it?
>
> I tried applying your "uml-2.6.12-bb2-skas0.patch.bz2" patch to 2.6.12.2,
> doing "make ARCH=um allnoconfig", following to .config:
>
> CONFIG_MODE_TT=y

Ahem.  Obviously, I skipped a step.  Those config entries (and the build 
process I was describing) are a cut and paste from my build process that uses 
UML to build a uclibc against more recent kernel headers that the host kernel 
it's running under (which would otherwise tend to cause segfaults).  That 
uses tt mode.

If I do what I just described, the result works just fine, but it's in tt 
mode.  Which is odd, because stock 2.6.12.2 does NOT work for me in tt mode: 
it goes:

Checking PROT_EXEC mmap in /tmp...OK
tracing thread pid = 11687

And then exits with no further explanation or printout.  (I get my shell 
prompt back but it's the host system's shell prompt.)  But with 
Blaisorblade's -skas0 patch, tt mode works.  (Go figure.)

However, the point of the patch is to try -skas0 mode, so I went in to "make 
ARCH=um menuconfig", switched off tt mode, and switched on skas mode.  (I did 
this instead of oldconfig.)

Then I got the trace from last message.

Sorry for the confusion.

Rob


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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:[~2005-07-12  8:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1119527920.4679.15.camel@FC3-bernhard-1.acousta.local>
     [not found] ` <1119614544.4643.9.camel@FC3-bernhard-1.acousta.local>
     [not found]   ` <20050624134118.GA4117@ccure.user-mode-linux.org>
2005-07-04 16:53     ` [uml-devel] Problems about fork-not-clone (was: Re: [uml-user] UML exits after "tracing thread pid") Blaisorblade
2005-07-07 11:59       ` [uml-devel] " Jeff Dike
2005-07-07 18:31         ` Blaisorblade
2005-07-11  7:48         ` Bernhard Schauer
2005-07-11 21:21           ` Blaisorblade
2005-07-12  7:53             ` Rob Landley
2005-07-12  8:04               ` Rob Landley [this message]
2005-07-12  9:33                 ` Bernhard Schauer
2005-07-12 15:57                   ` Blaisorblade
2005-07-12 18:54                   ` Rob Landley
2005-07-13 13:36                     ` Blaisorblade
2005-07-12  7:55             ` [uml-devel] Re: Problems about fork-not-clone Bernhard Schauer
2005-07-12 16:16               ` [uml-user] " Blaisorblade
2005-07-15  3:05                 ` Michael Richardson

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=200507120304.58283.rob@landley.net \
    --to=rob@landley.net \
    --cc=blaisorblade@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=user-mode-linux-user@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.