public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] switching to non-NPTL profile
@ 2007-02-11 15:23 Pawel K
  2007-02-11 16:40 ` Patrice Bouvard
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Pawel K @ 2007-02-11 15:23 UTC (permalink / raw
  To: gentoo-user

Hello

I would like to install User-Mode Linux. It requires
non-NPTL profile.
Are below steps sufficient to switch to non-NPTL
profile ?

1. Remove nptl and nptlonly flags from USE variable in
/etc/make.conf file:
USE="-nptl -nptlonly"

2. Which of the following commands should I perform
now?

emerge --newuse world
or
emerge -e world

There is a bit contradictionary information about that
at:

http://www.gentoo.org/doc/en/uml.xml
and
http://gentoo-wiki.com/NPTL

thanks for any help


 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] switching to non-NPTL profile
  2007-02-11 15:23 [gentoo-user] switching to non-NPTL profile Pawel K
@ 2007-02-11 16:40 ` Patrice Bouvard
  2007-02-11 20:17 ` Bo Ørsted Andresen
  2007-02-12  7:28 ` Alan McKinnon
  2 siblings, 0 replies; 5+ messages in thread
From: Patrice Bouvard @ 2007-02-11 16:40 UTC (permalink / raw
  To: gentoo-user

Le Sun, 11 Feb 2007 07:23:23 -0800 (PST),
Pawel K <pawlaczus@yahoo.com> a écrit :

> Hello
> 
> I would like to install User-Mode Linux. It requires
> non-NPTL profile.

Hi !

There is a no-nptl profile there : 
/usr/portage/profiles/default-linux/x86/no-nptl

I think this is what you're looking for.
The next step is to recompile all your system.
Maybe something like `emerge -e system && emerge -e world` would suffice, but I am not sure.
A safe method is to reinstall your gentoo from scratch using a no-nptl stage-x image (i386 ?)



-- 
Cordialement,
Patrice BOUVARD, Networks & Systems Engineer
--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] switching to non-NPTL profile
  2007-02-11 15:23 [gentoo-user] switching to non-NPTL profile Pawel K
  2007-02-11 16:40 ` Patrice Bouvard
@ 2007-02-11 20:17 ` Bo Ørsted Andresen
  2007-02-11 20:41   ` Hans-Werner Hilse
  2007-02-12  7:28 ` Alan McKinnon
  2 siblings, 1 reply; 5+ messages in thread
From: Bo Ørsted Andresen @ 2007-02-11 20:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 368 bytes --]

On Sunday 11 February 2007 16:23:23 Pawel K wrote:
> There is a bit contradictionary information about that
> at:
>
> http://www.gentoo.org/doc/en/uml.xml
> and
> http://gentoo-wiki.com/NPTL

You should of course follow the instructions at the official gentoo.org hosted 
uml doc rather than a random wiki which can be edited by anyone..

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] switching to non-NPTL profile
  2007-02-11 20:17 ` Bo Ørsted Andresen
@ 2007-02-11 20:41   ` Hans-Werner Hilse
  0 siblings, 0 replies; 5+ messages in thread
From: Hans-Werner Hilse @ 2007-02-11 20:41 UTC (permalink / raw
  To: gentoo-user

Hi,

On Sun, 11 Feb 2007 21:17:40 +0100
Bo Ørsted Andresen <bo.andresen@zlin.dk> wrote:

> On Sunday 11 February 2007 16:23:23 Pawel K wrote:
> > There is a bit contradictionary information about that
> > at:
> >
> > http://www.gentoo.org/doc/en/uml.xml
> > and
> > http://gentoo-wiki.com/NPTL
> 
> You should of course follow the instructions at the official gentoo.org hosted 
> uml doc rather than a random wiki which can be edited by anyone..

agreed, but I'm not quite sure if those are really sensible. Is it
really the case that a UML kernel does not run in an NPTL environmen? I
don't think so, AFAIK the UML kernel just isn't able to provide
everything to run NPTL enabled application under its hood. So when
there's a new Gentoo compiled for the UML's root file system, why
bother with recompiling the hosting environment? (Except, of course, if
one wants to use the host as a BINHOST for portage, too. But the guide
doesn't specifically suggest this.)

-hwh
--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] switching to non-NPTL profile
  2007-02-11 15:23 [gentoo-user] switching to non-NPTL profile Pawel K
  2007-02-11 16:40 ` Patrice Bouvard
  2007-02-11 20:17 ` Bo Ørsted Andresen
@ 2007-02-12  7:28 ` Alan McKinnon
  2 siblings, 0 replies; 5+ messages in thread
From: Alan McKinnon @ 2007-02-12  7:28 UTC (permalink / raw
  To: gentoo-user

On Sunday 11 February 2007, Pawel K wrote:
> Hello
>
> I would like to install User-Mode Linux. It requires
> non-NPTL profile.
> Are below steps sufficient to switch to non-NPTL
> profile ?
>
> 1. Remove nptl and nptlonly flags from USE variable in
> /etc/make.conf file:
> USE="-nptl -nptlonly"
>
> 2. Which of the following commands should I perform
> now?
>
> emerge --newuse world
> or
> emerge -e world

You might get away with an 'emerge -uND world", but consider what you 
are trying to accomplish. You want to update and make a deep change to 
the most basic library on the system - glibc - and at the same time 
change the system's threading model. When done, every library that 
previously used nptl will still want to, but it won't be there. So you 
will need to do a revdep-rebuild and wait for the humunguous emerge 
that triggers to complete.

All things considered, you might as well just 'emerge -e world' anyway. 
It's likely to take not much longer and will be a mostly uneventful 
task that takes about a day or so.


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-02-12  7:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-11 15:23 [gentoo-user] switching to non-NPTL profile Pawel K
2007-02-11 16:40 ` Patrice Bouvard
2007-02-11 20:17 ` Bo Ørsted Andresen
2007-02-11 20:41   ` Hans-Werner Hilse
2007-02-12  7:28 ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox