Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alpha
Navigation:
Lists: gentoo-alpha: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alpha@g.o
From: "José Luis Rivero (yoswink)" <yoswink@g.o>
Subject: Re: Problems with Squid
Date: Tue, 30 Jan 2007 20:08:10 +0100
Andrew Gaylard escribió:
> Hello gentoo alpha people,
> 
> I've noticed a problem starting up squid on my Miata box:
> 
> Jan 30 02:47:01 supper squid[6558]: Squid Parent: child process 6560 started
> Jan 30 02:47:01 supper (squid): comm_select_init: epoll_create(): (78) 
> Function not implemented
[snip]
> 
> The system's up to date as far as I can tell:
> 
> net-proxy/squid-2.6.7
> sys-libs/glibc-2.3.6-r4
> sys-devel/gcc-3.4.6-r2
> sys-kernel/linux-headers-2.6.11-r4
> 
> What am I missing?
> 
> Andrew

I'm also able to reproduce the failure. The situation, as far as I can 
see,is as follow:

The problem was reported in bug #160637[1]. The maintainer solution[2] 
applied was patch the ebuild to check if epoll support was enabled in 
the kernel.

Ebuild works just fine, detecting if the kernel has the epoll support 
enabled[3] and adding the proper --enable-epoll in that case.

So if the kernel has support for it, the problem should be in a 
different place, probably glibc or linux-headers. I found a test case[4] 
you can run just compiling it.

Later, I'll reopen the bug and see if one of our toolchain ninjas can 
give it a try.

As a workaround, you can disable the epoll support commenting out the 
"myconf ..." line in the ebuild (not tested but should work).

Thanks for reporting,
Regards.

-- 
Jose Luis Rivero <yoswink@g.o>
Gentoo/Doc Gentoo/Alpha


[1] http://bugs.gentoo.org/show_bug.cgi?id=160637

[2]
-------------------
if kernel_is ge 2 6 && linux_chkconfig_present EPOLL ; then
	myconf="${myconf} --enable-epoll"
fi
-------------------

[3] # grep 'CONFIG_EPOLL' /usr/src/linux/.config

[4] http://www.xmailserver.org/linux-patches/pipetest.c
-- 
gentoo-alpha@g.o mailing list


Replies:
Re: Problems with Squid
-- Andrew Gaylard
References:
Problems with Squid
-- Andrew Gaylard
Navigation:
Lists: gentoo-alpha: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Problems with Squid
Next by thread:
Re: Problems with Squid
Previous by date:
Problems with Squid
Next by date:
Re: Problems with Squid


Updated Jun 17, 2009

Summary: Archive of the gentoo-alpha mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.