Re: udev-208 eats CPU

Matt Turner <[email protected]> Sat, 18 Jan 2014 15:20:10 -0800
Newsgroups gmane.linux.gentoo.alpha
Message-ID <CAEdQ38GdS=86EN-CUQwKJWuXzshW-nyV=Yec2vRMTY_i55HtWA@mail.gmail.com>
On Sun, Jan 12, 2014 at 12:33 PM, Andrew Gaylard <[email protected]> wrote:
> Hi,
>
> I have just upgraded to the latest build of udev (208) on my Alpha box.
> It appears to run at 100% of CPU.  When I enable debugging, I get these
> lines in /var/log/messages:
>
>     unable to receive ctrl connection: Function not implemented
>
> This appears to be due to the lack of the accept4 call.
>
> However, my kernel is gentoo-sources-3.10.7 and my glibc is 2.17,
> so I'd expect this call to be there.... Right?

Yes, as Alan said accept4 has been supported in the kernel since v3.2.

I'm running udev-208 on a couple of alphas without trouble, so this
problem should be fixable.

Is it possible that your glibc was built against linux-headers older
than v3.2? Seems unlikely, but it's probably the first thing I'd
check.