Gentoo Archives: gentoo-alpha

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

Replies

Subject Author
Re: [gentoo-alpha] Re: udev-208 eats CPU Andrew Gaylard <ag@××××××××.org>