1 |
Andrew Gaylard escribió: |
2 |
> Hello gentoo alpha people, |
3 |
> |
4 |
> I've noticed a problem starting up squid on my Miata box: |
5 |
> |
6 |
> Jan 30 02:47:01 supper squid[6558]: Squid Parent: child process 6560 started |
7 |
> Jan 30 02:47:01 supper (squid): comm_select_init: epoll_create(): (78) |
8 |
> Function not implemented |
9 |
[snip] |
10 |
> |
11 |
> The system's up to date as far as I can tell: |
12 |
> |
13 |
> net-proxy/squid-2.6.7 |
14 |
> sys-libs/glibc-2.3.6-r4 |
15 |
> sys-devel/gcc-3.4.6-r2 |
16 |
> sys-kernel/linux-headers-2.6.11-r4 |
17 |
> |
18 |
> What am I missing? |
19 |
> |
20 |
> Andrew |
21 |
|
22 |
I'm also able to reproduce the failure. The situation, as far as I can |
23 |
see,is as follow: |
24 |
|
25 |
The problem was reported in bug #160637[1]. The maintainer solution[2] |
26 |
applied was patch the ebuild to check if epoll support was enabled in |
27 |
the kernel. |
28 |
|
29 |
Ebuild works just fine, detecting if the kernel has the epoll support |
30 |
enabled[3] and adding the proper --enable-epoll in that case. |
31 |
|
32 |
So if the kernel has support for it, the problem should be in a |
33 |
different place, probably glibc or linux-headers. I found a test case[4] |
34 |
you can run just compiling it. |
35 |
|
36 |
Later, I'll reopen the bug and see if one of our toolchain ninjas can |
37 |
give it a try. |
38 |
|
39 |
As a workaround, you can disable the epoll support commenting out the |
40 |
"myconf ..." line in the ebuild (not tested but should work). |
41 |
|
42 |
Thanks for reporting, |
43 |
Regards. |
44 |
|
45 |
-- |
46 |
Jose Luis Rivero <yoswink@g.o> |
47 |
Gentoo/Doc Gentoo/Alpha |
48 |
|
49 |
|
50 |
[1] http://bugs.gentoo.org/show_bug.cgi?id=160637 |
51 |
|
52 |
[2] |
53 |
------------------- |
54 |
if kernel_is ge 2 6 && linux_chkconfig_present EPOLL ; then |
55 |
myconf="${myconf} --enable-epoll" |
56 |
fi |
57 |
------------------- |
58 |
|
59 |
[3] # grep 'CONFIG_EPOLL' /usr/src/linux/.config |
60 |
|
61 |
[4] http://www.xmailserver.org/linux-patches/pipetest.c |
62 |
-- |
63 |
gentoo-alpha@g.o mailing list |