[ale] Fedora 1 kernel upgrade

Michael H. Warfield mhw at wittsend.com
Fri May 7 09:38:04 EDT 2004


On Fri, May 07, 2004 at 09:22:08AM -0400, Michael H. Warfield wrote:
> On Fri, May 07, 2004 at 08:59:34AM -0400, Chris Fowler wrote:
> > Has anyone here tried to upgrade the kernel on Fedora 1 with a stock one
> > from kernel.org?  

> > I am trying to use 2.4.26 and I believe that they have done something to
> > the threading in the Fedora kernel.  when I reboot on the new kernel all
> > processes that normally would execute under one PID with threads like
> > mysql now have many PIDs.  Not only that but my Apache that I compiled
> > under the Fedora kernel will not run.  It keeps dying for no apparent
> > reason.

> > Any clues?

> 	There was a discussion on another list about threading and the
> kernel name.  Something about if the kernel name ends in .nptl then
> it operates in a different mode with regards to threading.  Some sort
> of RedHat specific magic cookie in the name, I guess.

> 	I haven't tried to run a stock kernel on Fedora Core 1 or 2
> at this time.  I'll see if I can find where that thread was being
> discussed.  That's the only clues I've got on this one.  :-/

	Some references:

	<http://www.redhat.com/archives/fedora-list/2004-January/msg04789.html>
	<http://fedoranews.org/colin/fnu/week4.shtml>

	What you are probably seeing is the effect of having "Native
Posix Threading Libraries" support in the kernel (or, rather, not
having it in the stock kernel).

	From the first reference...

]	To be precise, if it finds <= 2.4 kernel without .nptl suffix, FC1 glibc
] issues a dummy syscall when starting every program to find out if that
] kernel supports NPTL.  The .nptl suffix is a magic which helps avoiding this
] syscall.

	So the .nptl extension merely allows glibc to bypass the fake
syscall test.  But it sounds like what your dealing with is the presence
or absence of support for NPTL in the first place (and explains the
variation in behavior).

	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  /\/\|=mhw=|\/\/       |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available




More information about the Ale mailing list