Bug#790561: After upgrading udev from 215-18 to 220-7 or 221-1, the system is unbootable afterwards

Martin Pitt mpitt at debian.org
Fri Jul 10 15:59:26 BST 2015


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules-215.tar.gz
Type: application/gzip
Size: 9488 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150710/0397496d/attachment.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150710/0397496d/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list