Comment 14 for bug 1202700

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote : Re: saucy kernel 300 second hang before root mounted rw on azure

Problematic commit was revno 31.

------------------------------------------------------------
revno: 31
tags: 202-0ubuntu10
fixes bug: https://launchpad.net/bugs/1185060
author: Martin Pitt <email address hidden>
committer: Package Import Robot <email address hidden>
branch nick: saucy-proposed
timestamp: Wed 2013-05-29 10:12:35 +0200
message:
  * debian/extra/initramfs.bottom: Drop reading of /etc/udev/udev.conf, the
    location of /dev hasn't been configurable for ages.
  * debian/extra/initramfs.top: Drop obsolete "scsi_wait_scan" modprobing here
    as well.
  * all_generic_ide blacklist: Depend on "all_generic_ide blacklist", as in
    previous udev.
  * debian/extra/initramfs.top: Drop unnecessary "udevadm settle".
  * debian/extra/initramfs.hook: Put back ata_id and scsi_id, these were
    overzealously removed with the bits that are built in now (like blkid and
    usb_id). LP: #1185060
  * debian/extra/udev.startup: Drop devpts mounting again, already done by
    /usr/share/initramfs-tools/init.
  * debian/extra/initramfs.hook: Install udevadm.upgrade when updating the
    initramfs while udev is unconfigured.
  * debian/extra/initramfs.hook: Remove duplicate copying of
    70-persistent-net.rules.
  * debian/extra/initramfs.hook: Don't install the dmsetup and md rules. This
    is already done by dmsetup's and mdadm's initramfs hooks.
diff:
=== modified file 'debian/extra/initramfs.top'
--- debian/extra/initramfs.top 2013-03-13 10:46:40 +0000
+++ debian/extra/initramfs.top 2013-05-29 08:12:35 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -e

-PREREQS=""
+PREREQS="all_generic_ide blacklist"

 prereqs() { echo "$PREREQS"; }

@@ -13,16 +13,9 @@

 echo > /sys/kernel/uevent_helper

-UDEV_ROOT=/dev \
 /lib/systemd/systemd-udevd --daemon --resolve-names=never

 udevadm trigger --action=add
-udevadm settle || true
-
-if [ -d /sys/bus/scsi ]; then
- modprobe -q scsi_wait_scan && modprobe -r scsi_wait_scan || true
- udevadm settle || true
-fi

 # If the rootdelay parameter has been set, we wait a bit for devices
 # like usb/firewire disks to settle.