Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Alpha

Problems with Squid

 

 

Gentoo alpha RSS feed   Index | Next | Previous | View Threaded


ag at computer

Jan 30, 2007, 12:05 AM

Post #1 of 6 (5382 views)
Permalink
Problems with Squid

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
Jan 30 02:47:01 supper squid[6558]: Squid Parent: child process 6560 exited
due to signal 6
Jan 30 02:47:04 supper squid[6558]: Squid Parent: child process 6676 started
Jan 30 02:47:04 supper (squid): comm_select_init: epoll_create(): (78)
Function not implemented
Jan 30 02:47:05 supper squid[6558]: Squid Parent: child process 6676 exited
due to signal 6
Jan 30 02:47:08 supper squid[6558]: Squid Parent: child process 6873 started
Jan 30 02:47:08 supper (squid): comm_select_init: epoll_create(): (78)
Function not implemented
Jan 30 02:47:08 supper squid[6558]: Squid Parent: child process 6873 exited
due to signal 6
Jan 30 02:47:11 supper squid[6558]: Squid Parent: child process 6875 started
Jan 30 02:47:11 supper (squid): comm_select_init: epoll_create(): (78)
Function not implemented
Jan 30 02:47:11 supper squid[6558]: Squid Parent: child process 6875 exited
due to signal 6
Jan 30 02:47:14 supper squid[6558]: Squid Parent: child process 6877 started
Jan 30 02:47:14 supper (squid): comm_select_init: epoll_create(): (78)
Function not implemented
Jan 30 02:47:14 supper squid[6558]: Squid Parent: child process 6877 exited
due to signal 6
Jan 30 02:47:14 supper squid[6558]: Exiting due to repeated, frequent
failures

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


yoswink at gentoo

Jan 30, 2007, 12:08 PM

Post #2 of 6 (5195 views)
Permalink
Re: Problems with Squid [In reply to]

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 [at] gentoo>
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 [at] gentoo mailing list


ag at computer

Jan 31, 2007, 12:08 AM

Post #3 of 6 (5165 views)
Permalink
Re: Problems with Squid [In reply to]

On 1/30/07, "José Luis Rivero (yoswink)" <yoswink [at] gentoo> wrote:
>
>
> As a workaround, you can disable the epoll support commenting out the
> "myconf ..." line in the ebuild (not tested but should work).


Thanks! The workaround does indeed work. (Actually I edited my
/usr/src/linux/.config,
since emerge complained about the .ebuild file being the wrong size.)

Andrew


yoswink at gentoo

Jan 31, 2007, 10:30 AM

Post #4 of 6 (5164 views)
Permalink
Re: Problems with Squid [In reply to]

Andrew Gaylard wrote:
> On 1/30/07, *"José Luis Rivero (yoswink)"* <yoswink [at] gentoo
> <mailto:yoswink [at] gentoo>> wrote:
>
>
> As a workaround, you can disable the epoll support commenting out the
> "myconf ..." line in the ebuild (not tested but should work).
>
>
> Thanks! The workaround does indeed work. (Actually I edited my
> /usr/src/linux/.config,
> since emerge complained about the .ebuild file being the wrong size.)
>

Yes, you've manually altered the ebuild and this is something portage
doesn't like (for security reasons). The easy solution was to regenerate
the manifest:

# ebuild <path-to-squid-ebuild> digest

BTW, back on topic, bug #160637[1] for those who are interested is the
workspace for the epoll squid bug.

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

Regards.

--
Jose Luis Rivero [yoswink [at] gentoo]
Gentoo/Doc Gentoo/Alpha
--
gentoo-alpha [at] gentoo mailing list


ag at computer

Feb 2, 2007, 4:42 AM

Post #5 of 6 (5176 views)
Permalink
Re: Problems with Squid [In reply to]

On 2/2/07, "José Luis Rivero (yoswink)" <yoswink [at] gentoo> wrote:
>
> Jose Luis Rivero (YosWinK) escribió:
> >
> > BTW, back on topic, bug #160637[1] for those who are interested is the
> > workspace for the epoll squid bug.
> >
> > [1] https://bugs.gentoo.org/show_bug.cgi?id=160637
> >
>
> Ok, thanks to vapier we already have the problem identified and a
> working patch. The bug was in linux-headers which don't define properly
> the epoll system calls in alpha.


Excellent! Thanks, vapier.

The patch has been discussed in lkml[1] and will be included in the next
> version of gentoo linux-headers.


Any idea when it'll be released?

Andrew


yoswink at gentoo

Feb 2, 2007, 5:28 AM

Post #6 of 6 (5171 views)
Permalink
Re: Problems with Squid [In reply to]

Jose Luis Rivero (YosWinK) escribió:
>
> BTW, back on topic, bug #160637[1] for those who are interested is the
> workspace for the epoll squid bug.
>
> [1] https://bugs.gentoo.org/show_bug.cgi?id=160637
>

Ok, thanks to vapier we already have the problem identified and a
working patch. The bug was in linux-headers which don't define properly
the epoll system calls in alpha.

The patch has been discussed in lkml[1] and will be included in the next
version of gentoo linux-headers.

Regards.

--
Jose Luis Rivero <yoswink [at] gentoo>
Gentoo/Doc Gentoo/Alpha
--
gentoo-alpha [at] gentoo mailing list

Gentoo alpha RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.