Hey Klaus,

Klaus Ethgen [2015-07-10 15:41 +0100]:
> With version 222-1 there is no /lib/udev/rules.d/42-usb-hid-pm.rules
> anymore. However, I gave it a try but the bug is not gone.
> 
> After SCSI detection it takes ~100 seconds to finish USB HID detection.
> That is ten times more than with udev 215-18. So the system is not
> unbootable anymore but painful slow booting.

Thanks. So we now need to bisect the change. My gut feeling is that
it's due to changes in /lib/udev/rules.d/, not in udevd itself.

I attached all udev rules provided by the udev 215 package (note that
lots of other packages ship stuff in /lib/udev/rules.d/) for
convenience.  As a starter, could you install udev 222, and do

  cp -a /lib/udev/rules.d{,.orig}
  dpkg -L udev|grep lib/udev/rules.d/.*rules|xargs rm
  tar -C /lib/udev/rules.d/ -xf /tmp/rules-215.tar.gz
  update-initramfs -u

(Assuming that you saved the tarballs in /tmp). Then see whether your
system boots normally again? If so, the regression is in the rules, if
not, it's in udevd itself.

If it's in the rules, could you put back the rules from
/lib/udev/rules.d.orig/ one by one and see when things start going
haywire?

It's also not completely clear to me whether the hang already
happens in initramfs or in the "real" system. In the former case, you
need to call "update-initramfs -u" after each step (doing that can't
hurt either way).

Thanks!

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: rules-215.tar.gz
Description: application/gzip

Attachment: signature.asc
Description: Digital signature

Reply via email to