Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




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

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.