1 |
÷ óÒÄ, 11.02.2004, × 00:59, Andrew B. Panphiloff ÐÉÛÅÔ: |
2 |
> ÷ óÒÄ, 11.02.2004, × 10:25, Chris Smith ÐÉÛÅÔ: |
3 |
> > On Tue, 10 Feb 2004 18:10, Andrew B. Panphiloff wrote: |
4 |
> > > Hi all. |
5 |
> > > I have gentoo system , where glibc compiled with |
6 |
> > > ntpl (I use linux-2.6.0), but 2.6.x kernel very unstable |
7 |
> > > on my gentoo box (system freeze after a day). Is |
8 |
> > > any ability use 2.4.x kernel with ntpl ? |
9 |
> > |
10 |
> > Yes, you must use "redhat-sources". Redhat patched their sources so that NPTL |
11 |
> > would work on a 2.4 kernel. |
12 |
> |
13 |
> I tried kernel-2.4.21-4.0.1.EL.src.rpm but get : kernel is too old. |
14 |
> |
15 |
|
16 |
|
17 |
I solved problem. |
18 |
If in glibc-2.3.2-r9.ebuild change MIN_NPTL_KV from 2.6.0 to 2.4.21 |
19 |
and comment these lines : |
20 |
|
21 |
if use_nptl |
22 |
then |
23 |
# The use_nptl should have already taken care of kernel version, |
24 |
# arch and CHOST, so now just check if we can find suitable |
25 |
kernel |
26 |
# source tree or headers .... |
27 |
einfon "Checking for sufficient version kernel headers ... " |
28 |
if ! get_KHV "`KV_to_int ${MIN_NPTL_KV}`" &> /dev/null |
29 |
then |
30 |
echo "no" |
31 |
echo |
32 |
eerror "Could not find a kernel source tree or headers with" |
33 |
eerror "version ${MIN_NPTL_KV} or later! Please correct |
34 |
this" |
35 |
eerror "and try again." |
36 |
die "Insufficient kernel headers present!" |
37 |
else |
38 |
echo "yes" |
39 |
fi |
40 |
fi |
41 |
|
42 |
all works fine on redhat kernel, on other kernel now I get: |
43 |
|
44 |
behigh glibc-2.3.2-r9 # chroot . |
45 |
cannot set up thread-local storage: set_thread_area failed when setting |
46 |
up thread-local storage |
47 |
|
48 |
behigh glibc-2.3.2-r9 # |
49 |
|
50 |
> > |
51 |
> > Personally, I would find out what is causing your system to freeze and try to |
52 |
> > continue to use the 2.6 kernel as it offers more features and greater speed. |
53 |
> > |
54 |
> > Please direct all further questions to gentoo-user. |
55 |
> > |
56 |
> > Cheers, |
57 |
> > Chris. |
58 |
> > |
59 |
> > -- |
60 |
> > gentoo-dev@g.o mailing list |
61 |
> > |
62 |
> |
63 |
> |
64 |
> -- |
65 |
> gentoo-dev@g.o mailing list |
66 |
> |
67 |
|
68 |
|
69 |
-- |
70 |
gentoo-dev@g.o mailing list |