Subject: Re: [vserver] NPTL vserver sparc64
From: Bruno Galindro da Costa <bruno.galindro@gmail.com>
Date: Thu, 19 Feb 2009 09:27:44 -0300
Thu, 19 Feb 2009 09:27:44 -0300
Ok Martin, thankyou very much for your anwser! I´ll send this tread to
Debian SPARC list.

2009/2/18 Martin <inkubus@interalpha.co.uk>

> On Wed, 2009-02-18 at 14:46 -0300, Bruno Galindro da Costa wrote:
> > Hi!
> >
> >    How can I enable NPTL in sparc64 vserver kernel?
> This isn't a kernel question (and certainly not a vserver question).
> Whether NPTL or LinuxThreads is used is down to glibc and how it is
> built*.
>
> > Here is my actual installed kernel:
> >
> > # cat /proc/version
> > Linux version 2.6.18-6-vserver-sparc64 (Debian 2.6.18.dfsg.1-24)
> > (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian
> > 4.1.1-21)) #1 SMP Sat Dec 27 16:13:09 UTC 2008
> This is the etch kernel right?  You might want to check lenny.  Between
> the two support for older SPARC processors was dropped so glibc may now
> be compiled with NPTL (it requires atomic ops which weren't available on
> the earlier SPARC processors).  Alternatively have a look at the
> UltraSPARC optimised glibc (this is the 32 bit version, not the 64 bit
> version, which is also available).
>
> You might be better off having this discussion on the Debian-SPARC
> mailing list.
>
> Cheers,
>  - Martin
>
> *. Provided the kernel has futex support and they have for quite a time
> now, maybe all of the 2.6 series?
>
>


-- 
Att.
Bruno Galindro da Costa
bruno.galindro@gmail.com
Florianópolis - SC


Ok Martin, thankyou very much for your anwser! I´ll send this tread to Debian SPARC list.

2009/2/18 Martin <inkubus@interalpha.co.uk>
On Wed, 2009-02-18 at 14:46 -0300, Bruno Galindro da Costa wrote:
> Hi!
>
>    How can I enable NPTL in sparc64 vserver kernel?
This isn't a kernel question (and certainly not a vserver question).
Whether NPTL or LinuxThreads is used is down to glibc and how it is
built*.

> Here is my actual installed kernel:
>
> # cat /proc/version
> Linux version 2.6.18-6-vserver-sparc64 (Debian 2.6.18.dfsg.1-24)
> (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian
> 4.1.1-21)) #1 SMP Sat Dec 27 16:13:09 UTC 2008
This is the etch kernel right?  You might want to check lenny.  Between
the two support for older SPARC processors was dropped so glibc may now
be compiled with NPTL (it requires atomic ops which weren't available on
the earlier SPARC processors).  Alternatively have a look at the
UltraSPARC optimised glibc (this is the 32 bit version, not the 64 bit
version, which is also available).

You might be better off having this discussion on the Debian-SPARC
mailing list.

Cheers,
 - Martin

*. Provided the kernel has futex support and they have for quite a time
now, maybe all of the 2.6 series?




--
Att.
Bruno Galindro da Costa
bruno.galindro@gmail.com
Florianópolis - SC