В Срд, 11.02.2004, в 00:59, Andrew B. Panphiloff пишет:
> В Срд, 11.02.2004, в 10:25, Chris Smith пишет:
> > On Tue, 10 Feb 2004 18:10, Andrew B. Panphiloff wrote:
> > > Hi all.
> > > I have gentoo system , where glibc compiled with
> > > ntpl (I use linux-2.6.0), but 2.6.x kernel very unstable
> > > on my gentoo box (system freeze after a day). Is
> > > any ability use 2.4.x kernel with ntpl ?
> > 
> > Yes, you must use "redhat-sources". Redhat patched their sources so that NPTL 
> > would work on a 2.4 kernel.
> 
> I tried kernel-2.4.21-4.0.1.EL.src.rpm but get : kernel is too old.
> 


I solved problem. 
If in glibc-2.3.2-r9.ebuild change MIN_NPTL_KV from 2.6.0 to 2.4.21
and comment these lines :

    if use_nptl
    then
        # The use_nptl should have already taken care of kernel version,
        # arch and CHOST, so now just check if we can find suitable
kernel
        # source tree or headers ....
        einfon "Checking for sufficient version kernel headers ... "
        if ! get_KHV "`KV_to_int ${MIN_NPTL_KV}`" &> /dev/null
        then
            echo "no"
            echo
            eerror "Could not find a kernel source tree or headers with"
            eerror "version ${MIN_NPTL_KV} or later!  Please correct
this"
            eerror "and try again."
            die "Insufficient kernel headers present!"
        else
            echo "yes"
        fi
    fi

all works fine on redhat kernel, on other kernel now I get:

behigh glibc-2.3.2-r9 # chroot .
cannot set up thread-local storage: set_thread_area failed when setting
up thread-local storage

behigh glibc-2.3.2-r9 #

> > 
> > Personally, I would find out what is causing your system to freeze and try to 
> > continue to use the 2.6 kernel as it offers more features and greater speed.
> > 
> > Please direct all further questions to gentoo-user.
> > 
> > Cheers,
> > Chris.
> > 
> > --
> > [EMAIL PROTECTED] mailing list
> > 
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list

Reply via email to