Gentoo Archives: gentoo-alpha

From: Andrew Gaylard <ag@××××××××.org>
To: gentoo-alpha@l.g.o
Subject: Re: [gentoo-alpha] Re: udev-208 eats CPU
Date: Fri, 14 Feb 2014 09:27:25
Message-Id: 52FDE175.2040702@computer.org
In Reply to: [gentoo-alpha] Re: udev-208 eats CPU by "Måns Rullgård"
1 On 02/12/14 22:15, Måns Rullgård wrote:
2 > Andrew Gaylard <ag@××××××××.org> writes:
3 >
4 >> On 01/19/14 01:20, Matt Turner wrote:
5 >>> On Sun, Jan 12, 2014 at 12:33 PM, Andrew Gaylard <ag@××××××××.org> wrote:
6 >>>> Hi,
7 >>>>
8 >>>> I have just upgraded to the latest build of udev (208) on my Alpha box.
9 >>>> It appears to run at 100% of CPU. When I enable debugging, I get these
10 >>>> lines in /var/log/messages:
11 >>>>
12 >>>> unable to receive ctrl connection: Function not implemented
13 >>>>
14 >>>> This appears to be due to the lack of the accept4 call.
15 >>>>
16 >>>> However, my kernel is gentoo-sources-3.10.7 and my glibc is 2.17,
17 >>>> so I'd expect this call to be there.... Right?
18 >>> Yes, as Alan said accept4 has been supported in the kernel since v3.2.
19 >>>
20 >>> I'm running udev-208 on a couple of alphas without trouble, so this
21 >>> problem should be fixable.
22 >>>
23 >>> Is it possible that your glibc was built against linux-headers older
24 >>> than v3.2? Seems unlikely, but it's probably the first thing I'd
25 >>> check.
26 >> Yup, you were right. I had sys-kernel/linux-headers 2.6.<something>.
27 >> Upgrading that to 3.9 and then rebuilding glibc and udev fixed it.
28 >>
29 >> Thanks!
30 >>
31 >> I'm a bit puzzled why "emerge -uva @system" and "emerge -uva @world"
32 >> didn't automatically upgrade linux-headers. I had to explicitly request it.
33 >> But hey, it's working now...:)
34 > Try adding -D to those flags. That usually does the trick.
35 >
36 Oh wow. This box was installed with Gentoo back in 2005.
37 There's a *lot* to catch up! This'll build for a while...:)
38
39 Thanks a lot for the tip -- it definitely does the trick.
40
41 --
42 Andrew Gaylard