sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Hamish Greig <hgreig AT bigpond.net.au>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] New nptl spell (for test)
- Date: Sun, 14 Dec 2003 12:52:54 +1100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry, I know I already replied but I thought I should clarify one point.
It should be noted, nptl uses futexes (fast userspace mutexes), which are
only
available in 2.6.X kernels (or redhat backported 2.4.X kernels). So testing
nptl is only possible for 2.6.X kernel users, and you must have chosen them
in the kernel config.
grep FUTEX /etc/sorcery/local/kernel.config
CONFIG_FUTEX=y
The spell I have been working on offers it as a choice only if $(uname -r) ==
2.6.* .
I have had luck installing it directly into a running system, I am just
finetuning the spell for reversion to the released 2.3.2 (if ever wanted).
For nptl a snapshot of glibc cvs from 2003-12-03 is used, but for sorcery
purposes it is called 2.3.3 (glibc devel's have already changed the version
in the sources).
A day or two and it will be available in devel, a few good reports and I will
integrate it into test.
Hamish
On Sun, 14 Dec 2003 04:16, shivaken wrote:
> Hi all,
>
> I made a new nptl test spell. Please try this.
> # Warning! Casting this on working machine is very dangerous!
>
> I tested this spell like below.
>
> 1. tar xvjf /path/to/cdrom/image.tar.bz2 (from 0.8.0pre2.iso)
> chroot .
> mount /proc
> mount -t devfs none /dev
> mount -t devpts none /dev/pts
> exit
> devfsd ./dev
> chroot .
>
> 2. unpack spells (binutils-2.14.90.0.5, glibc-nptl(20031203))
> bintuils -> /var/lib/sorcery/codex/stable/devel
> glibc -> /var/lib/sorcery/codex/stable/libs
>
> 3. cast binutils
>
> 4. edit /etc/sorcery/local/config
> ARCHITECTUR="i386" ->
> ARCHITECTUR="i686" # or something.
> # nptl seems not to be able to build with i386.
> # I have just tested it with i686.
>
> 5. cast glibc
>
> If you have some trouble, please mail me.
>
> --- shivaken
> ant command line front end
> antshell - www.antshell.org
- --
IRC nick: drmoriarty
SMGL co-conspirator
# Do You SMGL!?
# http://www.sourcemage.org/
# Linux so advanced it may as well be magic!
ANTI-SPAM WARNING: I delete any html message from my server without reading
Please use text only
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/28J98fSufZR6424RAgLVAJ9m51Ii0Bz6P6nhttjSJAX7DU6/OQCgkOBe
mWopGLOGzl+RrBTr66MA0ys=
=wdXT
-----END PGP SIGNATURE-----
-
[SM-Discuss] New nptl spell (for test),
shivaken, 12/13/2003
- Re: [SM-Discuss] New nptl spell (for test), Hamish Greig, 12/13/2003
-
Re: [SM-Discuss] New nptl spell (for test),
Hamish Greig, 12/13/2003
-
Re: [SM-Discuss] New nptl spell,
shivaken, 12/13/2003
-
Re: [SM-Discuss] New nptl spell,
Hamish Greig, 12/13/2003
-
Re: [SM-Discuss] New nptl spell,
shivaken, 12/14/2003
- Re: [SM-Discuss] New nptl spell, Hamish Greig, 12/14/2003
-
Re: [SM-Discuss] New nptl spell,
shivaken, 12/14/2003
-
Re: [SM-Discuss] New nptl spell,
Hamish Greig, 12/13/2003
- Re: [SM-Discuss] New nptl spell (for test), Eric Sandall, 12/14/2003
-
Re: [SM-Discuss] New nptl spell,
shivaken, 12/13/2003
Archive powered by MHonArc 2.6.24.