Re: udev-208 eats CPU

Måns Rullgård <[email protected]> Wed, 12 Feb 2014 20:15:06 +0000
Newsgroups gmane.linux.gentoo.alpha
Message-ID <[email protected]>
Andrew Gaylard <[email protected]> writes:

> On 01/19/14 01:20, Matt Turner wrote:
>> On Sun, Jan 12, 2014 at 12:33 PM, Andrew Gaylard <[email protected]> wro=
te:
>>> Hi,
>>>
>>> I have just upgraded to the latest build of udev (208) on my Alpha bo=
x.
>>> It appears to run at 100% of CPU.  When I enable debugging, I get the=
se
>>> 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.
> Yup, you were right.  I had sys-kernel/linux-headers 2.6.<something>.
> Upgrading that to 3.9 and then rebuilding glibc and udev fixed it.
>
> Thanks!
>
> I'm a bit puzzled why "emerge -uva @system"  and "emerge -uva @world"
> didn't automatically upgrade linux-headers.  I had to explicitly reques=
t it.
> But hey, it's working now...:)

Try adding -D to those flags.  That usually does the trick.

--=20
M=E5ns Rullg=E5rd
[email protected]