Re: 2.6.39-rc3 udevadm settle timeout, many hdb events, interruptstorm

From: Shaun Ruffell
Date: Tue Apr 12 2011 - 19:22:47 EST


Just adding my "me too" with some comments.

On 04/12/2011 02:14 PM, Tim Shepard wrote:
> 2.6.38 is working fine on my PowerBook G4 (powerpc) and has none of
> the issues described below.
>
> Last week I tried 2.6.39-rc2 and it hung on reboot.
> Same thing with 2.6.39-rc3 this week.
>
> I've tracked this down to the "udevadm settle" in /etc/init.d/udev
> (from Debian squeeze).

I noticed this hang on udevadm settle too. I'm temporarily working around
it by adding udevtimeout=5 to the command line. I haven't looked into it any further.

> # udevadm monitor
> monitor will print the received events for:
> UDEV - the event which udev sends out after rule processing
> KERNEL - the kernel uevent
>
> KERNEL[1302632376.412055] change /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.460742] change /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)

On my system I bisected these constant change notifications to 929e27252e
'ide: ide_requeue_and_plug() reinstate "always plug" behaviour' [1] but
haven't looked any past that.

[1] http://lkml.kernel.org/r/20110408201513.GA3040@xxxxxxxxxx

> I am getting over 1300 interrupts per second for ide0:

On my system, I'm not noticing anything strange here, but I'm not using the
CDROM drive:

]# cat /proc/interrupts | grep ide && sleep 3 && cat /proc/interrupts | grep ide
14: 100 43433 522 0 IO-APIC-edge ide0
15: 0 0 0 0 IO-APIC-edge ide1
14: 100 43469 522 0 IO-APIC-edge ide0
15: 0 0 0 0 IO-APIC-edge ide1

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