lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 10 Dec 2008 01:31:13 +0100
From:	"Kay Sievers" <kay.sievers@...y.org>
To:	"Andrew Morton" <akpm@...ux-foundation.org>
Cc:	sfr@...b.auug.org.au, linux-next@...r.kernel.org,
	linux-kernel@...r.kernel.org, adobriyan@...il.com,
	Greg <greg@...ah.com>, NeilBrown <neilb@...e.de>
Subject: Re: linux-next: Tree for December 9

On Wed, Dec 10, 2008 at 01:15, Andrew Morton <akpm@...ux-foundation.org> wrote:
> On Wed, 10 Dec 2008 01:06:47 +0100
> "Kay Sievers" <kay.sievers@...y.org> wrote:
>> On Wed, Dec 10, 2008 at 00:34, Andrew Morton <akpm@...ux-foundation.org> wrote:
>> > On Tue, 9 Dec 2008 18:52:37 +1100
>> > Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>> >
>> >> I have created today's linux-next tree at
>> >> git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git
>> >
>> > udevd is sitting there chewing up 100% of a CPU all the time.
>> >
>> > The machine is x86_64, running FC6.  It still happens with
>> > CONFIG_SELINUX=n.
>> >
>> > config:                 http://userweb.kernel.org/~akpm/config-akpm2.txt
>> > dmesg:                  http://userweb.kernel.org/~akpm/dmesg-akpm2.txt
>> > strace of udevd:        http://userweb.kernel.org/~akpm/strace.out.txt
>> >
>> > excerpt:
>> >
>> > close(9)                                = 0
>> > open("/proc/21707/stat", O_RDONLY)      = 9
>> > read(9, "21707 (hald-addon-stor) S 21033 "..., 255) = 240
>> > close(9)                                = 0
>> > open("/proc/22340/stat", O_RDONLY)      = 9
>> > read(9, "22340 (smartd) S 1 22339 22339 0"..., 255) = 245
>> > close(9)                                = 0
>>
>> Maybe an event loop, caused by something.
>>
>> Are you still able to run:
>>   udevmonitor --kernel
>> and see if we get events, maybe in a loop, from the kernel?
>
> akpm2:/home/akpm# udevmonitor --kernel
> unknown option

Ok, it was just -k that time. :)

> akpm2:/home/akpm# udevmonitor
> udevmonitor prints the received event from the kernel [UEVENT]
> and the event which udev sends out after rule processing [UDEV]
>
> UDEV  [1228867146.103334] add@...ass/bdi/9:0
> UDEV  [1228867146.107566] remove@...ock/md0
> UDEV  [1228867146.111969] remove@...ass/bdi/9:0
> UEVENT[1228867146.119889] add@...ock/md0
> UEVENT[1228867146.119964] add@...ass/bdi/9:0
> UEVENT[1228867146.120162] remove@...ass/bdi/9:0
> UEVENT[1228867146.120205] remove@...ock/md0
> UDEV  [1228867146.122839] add@...ock/md0
> UDEV  [1228867146.129125] add@...ass/bdi/9:0
> UDEV  [1228867146.133459] remove@...ock/md0
> UDEV  [1228867146.137813] remove@...ass/bdi/9:0
> UEVENT[1228867146.145652] add@...ock/md0

Weird loop, something is accessing /dev/md0, i guess, which creates
the kernel device, and the event, which accesses /dev/md0 again and it
goes crazy. Maybe caused by changes Neil did.

Do you use md devices on that box?

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists