2005-03-21 18:46:34

by jmerkey

[permalink] [raw]
Subject: clone() and pthread_create() segment fault in 2.4.29


In case nobody has already reported it, clone() and pthread_create()
return SIGSEGV faults
when a 2.4.29 kernel on the Taroon Red Hat release.

Jeff


2005-03-21 18:50:31

by Arjan van de Ven

[permalink] [raw]
Subject: Re: clone() and pthread_create() segment fault in 2.4.29

On Mon, 2005-03-21 at 11:35 -0700, jmerkey wrote:
> In case nobody has already reported it, clone() and pthread_create()
> return SIGSEGV faults
> when a 2.4.29 kernel on the Taroon Red Hat release.

you're running an OS that requires a kernel with NPTL support. Yet you
run a kernel without. Bad idea.



Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2005-03-21 19:05:25

by jmerkey

[permalink] [raw]
Subject: Re: clone() and pthread_create() segment fault in 2.4.29

Arjan van de Ven wrote:

>On Mon, 2005-03-21 at 11:35 -0700, jmerkey wrote:
>
>
>>In case nobody has already reported it, clone() and pthread_create()
>>return SIGSEGV faults
>>when a 2.4.29 kernel on the Taroon Red Hat release.
>>
>>
>
>you're running an OS that requires a kernel with NPTL support. Yet you
>run a kernel without. Bad idea.
>
>
>
>
which 2.4 kernels will work properly on RH ES release 3, Taroon Update
4. 2.4.28 also crashes with pthread_create() and clone().
Is 2.4.21 the only kernel version that works with this RH release?

Jeff

2005-03-21 19:07:53

by Arjan van de Ven

[permalink] [raw]
Subject: Re: clone() and pthread_create() segment fault in 2.4.29

On Mon, Mar 21, 2005 at 11:54:10AM -0700, jmerkey wrote:
> Arjan van de Ven wrote:
>
> >On Mon, 2005-03-21 at 11:35 -0700, jmerkey wrote:
> >
> >
> >>In case nobody has already reported it, clone() and pthread_create()
> >>return SIGSEGV faults
> >>when a 2.4.29 kernel on the Taroon Red Hat release.
> >>
> >>
> >
> >you're running an OS that requires a kernel with NPTL support. Yet you
> >run a kernel without. Bad idea.
> >
> >
> >
> >
> which 2.4 kernels will work properly on RH ES release 3, Taroon Update
> 4.

Only kernels with NPTL in, which for 2.4 limits you to the RH supplied one.

2005-03-21 19:17:16

by jmerkey

[permalink] [raw]
Subject: Re: clone() and pthread_create() segment fault in 2.4.29

Arjan van de Ven wrote:

>On Mon, Mar 21, 2005 at 11:54:10AM -0700, jmerkey wrote:
>
>
>>Arjan van de Ven wrote:
>>
>>
>>
>>>On Mon, 2005-03-21 at 11:35 -0700, jmerkey wrote:
>>>
>>>
>>>
>>>
>>>>In case nobody has already reported it, clone() and pthread_create()
>>>>return SIGSEGV faults
>>>>when a 2.4.29 kernel on the Taroon Red Hat release.
>>>>
>>>>
>>>>
>>>>
>>>you're running an OS that requires a kernel with NPTL support. Yet you
>>>run a kernel without. Bad idea.
>>>
>>>
>>>
>>>
>>>
>>>
>>which 2.4 kernels will work properly on RH ES release 3, Taroon Update
>>4.
>>
>>
>
>Only kernels with NPTL in, which for 2.4 limits you to the RH supplied one.
>
>
>
Thanks for the update on this issue.

Jeff

2005-03-22 04:41:42

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: clone() and pthread_create() segment fault in 2.4.29

On Mon, 21 Mar 2005 20:07:21 +0100, Arjan van de Ven said:
> On Mon, Mar 21, 2005 at 11:54:10AM -0700, jmerkey wrote:

> > which 2.4 kernels will work properly on RH ES release 3, Taroon Update 4.
>
> Only kernels with NPTL in, which for 2.4 limits you to the RH supplied one.

Well, strictly speaking, it's all GPL'ed, so Jeff is certainly free to take
the .src.rpm of the RedHat kernel, use rpm2cpio to extract the NPTL patches
from it, and forward port it to the 2.4.NN of his choice...

However, unless you're *really* handy with patch and diff, it's probably
more productive to upgrade to RH EL release 4, which comes with a 2.6 kernel...

(Speaking as somebody with RHEL 3 boxes going to RHEL 4 soon, and boxes that
are 2.6-mm with Fedora patches on top.. both have their place in the greater
scheme of things..)


Attachments:
(No filename) (226.00 B)

2005-03-22 09:30:59

by Arjan van de Ven

[permalink] [raw]
Subject: Re: clone() and pthread_create() segment fault in 2.4.29

On Mon, Mar 21, 2005 at 11:31:22PM -0500, [email protected] wrote:
> On Mon, 21 Mar 2005 20:07:21 +0100, Arjan van de Ven said:
> > On Mon, Mar 21, 2005 at 11:54:10AM -0700, jmerkey wrote:
>
> > > which 2.4 kernels will work properly on RH ES release 3, Taroon Update 4.
> >
> > Only kernels with NPTL in, which for 2.4 limits you to the RH supplied one.
>
> Well, strictly speaking, it's all GPL'ed, so Jeff is certainly free to take
> the .src.rpm of the RedHat kernel, use rpm2cpio to extract the NPTL patches
> from it, and forward port it to the 2.4.NN of his choice...

oh of course. I didn't actually consider that since it'd be a LOT of work
(speaking from experience). It could easily be 4 to 6 weeks full time work
to get the thing working well. Seriously NotFunny(tm).