linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maciej Rutecki <maciej.rutecki@gmail.com>
To: Tim Shepard <shep@alum.mit.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.39-rc3 udevadm settle timeout, many hdb events, interrupt storm
Date: Sun, 17 Apr 2011 19:12:45 +0200	[thread overview]
Message-ID: <201104171912.45583.maciej.rutecki@gmail.com> (raw)
In-Reply-To: <E1Q9j2p-0008Rr-00@www.xplot.org>

I created a Bugzilla entry at 
https://bugzilla.kernel.org/show_bug.cgi?id=33412
for your bug report, please add your address to the CC list in there, thanks!

On wtorek, 12 kwietnia 2011 o 21:14:35 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).
> 
> If I am patient it does timeout after 180 seconds and continues
> booting.  But after booting finishes udev is still chewing CPU cycles
> and load average is stuck at 1.
> 
> After the system is up:
> 
> # 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) UDEV 
> [1302632376.501101] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.510745] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.560742] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block) UDEV 
> [1302632376.601155] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.610755] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.660744] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block) UDEV 
> [1302632376.701186] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.710751] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.760727] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block) UDEV 
> [1302632376.801135] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.810753] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.860748] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block) UDEV 
> [1302632376.901068] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.910748] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632376.960746] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block) UDEV 
> [1302632377.004023] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632377.010786] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632377.210681] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632377.260749] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block) UDEV 
> [1302632377.301096] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632377.310749] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632377.360749] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block) UDEV 
> [1302632377.401136] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632377.410753] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632377.460748] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block) UDEV 
> [1302632377.501264] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632377.510749] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632377.560730] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block) UDEV 
> [1302632377.601147] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block)
> KERNEL[1302632377.610793] change  
> /devices/pci0002:24/0002:24:0d.0/ide0/0.1/block/hdb (block) ^C#
> #
> #
> # dmesg | grep hdb
> hdb: MATSHITADVD-R UJ-846, ATAPI CD/DVD-ROM drive
> hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
> hdb: UDMA/66 mode selected
> ide-cd: hdb: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
> #
> # dmesg | grep ide
> radeonfb: Using Firmware dividers 0x00040089 from PPLL 0
> ide-pmac 0002:24:0d.0: enabling device (0000 -> 0002)
> ide-pmac: Found Apple UniNorth ATA-6 controller (PCI), bus ID 3, irq 39
> Probing IDE interface ide0...
> ide0 at 0xf106a000-0xf106a070,0xf106a160 on irq 39
> ide-gd driver 1.18
> ide-cd driver 5.00
> ide-cd: hdb: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
> #
> 
> 
> I am getting over 1300 interrupts per second for ide0:
> 
> # while grep ide /proc/interrupts && sleep 1 ; do : ; done
>  39:     722724   MPIC 1     ide0
>  39:     723042   MPIC 1     ide0
>  39:     723364   MPIC 1     ide0
>  39:     723685   MPIC 1     ide0
>  39:     724012   MPIC 1     ide0
>  39:     724334   MPIC 1     ide0
>  39:     724656   MPIC 1     ide0
>  39:     724978   MPIC 1     ide0
>  39:     725296   MPIC 1     ide0
>  39:     725615   MPIC 1     ide0
>  39:     725936   MPIC 1     ide0
>  39:     726257   MPIC 1     ide0
>  39:     726577   MPIC 1     ide0
>  39:     726901   MPIC 1     ide0
>  39:     727226   MPIC 1     ide0
>  39:     727549   MPIC 1     ide0
>  39:     727868   MPIC 1     ide0
>  39:     728190   MPIC 1     ide0
>  39:     728512   MPIC 1     ide0
>  39:     728833   MPIC 1     ide0
>  39:     729152   MPIC 1     ide0
>  39:     729473   MPIC 1     ide0
>  39:     729800   MPIC 1     ide0
>  39:     730111   MPIC 1     ide0
>  39:     730435   MPIC 1     ide0
>  39:     730755   MPIC 1     ide0
>  39:     731083   MPIC 1     ide0
>  39:     731402   MPIC 1     ide0
>  39:     731720   MPIC 1     ide0
>  39:     732052   MPIC 1     ide0
>  39:     732368   MPIC 1     ide0
>  39:     732689   MPIC 1     ide0
>  39:     733010   MPIC 1     ide0
> ^C
> 
> 
> 
> I tried using the CDROM drive and it actually does work (as /dev/hdb).
> So the only real problems are the 180 second hang while booting and
> the interrupt storm and udev event storm that continues.
> 
> Any hints?
> 
> 
> 			-Tim Shepard
> 			 shep@alum.mit.edu
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Maciej Rutecki
http://www.maciek.unixy.pl

  parent reply	other threads:[~2011-04-17 17:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 19:14 2.6.39-rc3 udevadm settle timeout, many hdb events, interrupt storm Tim Shepard
2011-04-12 23:22 ` Shaun Ruffell
2011-04-17 17:12 ` Maciej Rutecki [this message]
2011-04-19 18:01   ` Tim Shepard
2011-04-27 21:28   ` Tim Shepard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201104171912.45583.maciej.rutecki@gmail.com \
    --to=maciej.rutecki@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shep@alum.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).