re: problem with new kernel



On Fri, 2006-06-30 at 10:46 -0400, eclark wrote:
Previous, I was using a RH stock kernel. This was rebuilt to be monolithic
with allthe required modules. However, now any binary which uses
set_thread_area segfaults. I know this is a kernel issue, as other kernels I
have used do not have this same issue. I am running 2.4.33-pre. Below is an
example strace of nslookup, one of the relevant binaries now segfaulting.
Above the big strace (total strace of nslookup) is where I believe the problem
is coming from. Any help would be appreciated, as I have no clue what went
wrong with this kernel build.

Hi,

you're running a kernel without NPTL support on a distribution that
apparently expects NPTL support to be in the kernel... the failure mode
isn't nice but failure at all isn't totally unexpected...... NPTL is
needed for certain functionality and if a distribution expects that to
be there.. things may well go very wonky if absent. (yes glibc tries to
emulate this but the emulation is quite limited and not really possible)

One example of such thing is cross-process mutexes and other locks; NPTL
allows that (via futexes on shared pages), and things like rpm use this
extensively. Another example is thread local storage; emulation is
fragile via LDT's and such.

Greetings,
Arjan van de Ven


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: NPTL gone missing?
    ... I have an application that requires NPTL support, ... reason it seems to have gone missing. ... kernel would mean I automagically have nptl support. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • NPTL gone missing?
    ... I have an application that requires NPTL support, but for some reason it seems to have gone missing. ... kernel would mean I automagically have nptl support. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: clone() and pthread_create() segment fault in 2.4.29
    ... > Arjan van de Ven wrote: ... >>you're running an OS that requires a kernel with NPTL support. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • BUG: segfault with synaptic 0.16-6 and kernel 2.6.0-test4-bk6
    ... I noticed that since I changed from the 2.4 kernel to the 2.6 kernel ... synaptic 0.16-6 for debian allways segfaults at a certain point. ... 00:00.0 Host bridge: VIA Technologies, ... 00:10.0 USB Controller: VIA Technologies, ...
    (Linux-Kernel)
  • Re: restored partition with systemrescue, cant boot
    ... But I am not going to boot a grub to check! ... VMWARE emulation? ... You prove that every time you get A KERNEL MESSAGE saying that the kernel ...
    (comp.os.linux.misc)