[Bug 1326199] Re: initramfs-tools ROOTDELAY too low, box drops into shell during boot

Launchpad Bug Tracker 1326199 at bugs.launchpad.net
Wed Jun 4 05:56:11 UTC 2014


This bug was fixed in the package initramfs-tools - 0.103ubuntu7

---------------
initramfs-tools (0.103ubuntu7) utopic; urgency=medium

  * Default to a rootdelay of 180 on powerpc/ppc64/ppc64el to account
    for the slower device discovery on IPR controllers (LP: #1326199)
 -- Adam Conrad <adconrad at ubuntu.com>   Tue, 03 Jun 2014 21:39:01 -0600

** Changed in: initramfs-tools (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1326199

Title:
  initramfs-tools ROOTDELAY too low, box drops into shell during boot

Status in “initramfs-tools” package in Ubuntu:
  Fix Released
Status in “initramfs-tools” source package in Trusty:
  In Progress

Bug description:
  [Impact]
  See original description.

  [Test Case]
  Install updated packages on an affected ppc machine, update-initramfs -u, reboot without any special rootdelay set on the cmdline, watch it not fail to boot.

  [Regression Potential]
  This is already tested locally by Anton, so barring me having made a typo in the uploaded version, the potential for new bugs is pretty much nil.  Bumping the rootdelay to 180 (from 30) could be seen as a regression in itself, as people who are legitimately failing to find a root device will have to wait that much longer to get dropped to a shell to investigate, which is why I limited the fix to PPC only for now.

  [Other Info]
  A better long-term fix would be to make scripts/local (or wait-for-root) a bit smarter and learn about specific driver quirks and multipath devices, etc, as IPR controllers can't be the only place we see this bug, and it would be nice to have backoff in cases where we expect delays, but quicker failure modes in cases when we don't.

  [Original Description]
  After installing Trusty on a ppc64el box, each boot drops into a shell because we aren't waiting long enough for the root device:

  Gave up waiting for root device. Common problems:
   - Boot args (cat /proc/cmdline)
     - Check rootdelay= (did the system wait long enough?)
     - Check root= (did the system wait for the right device?)
   - Missing modules (cat /proc/modules; ls /dev)
  ALERT! /dev/disk/by-uuid/d55ef64e-2d0c-4a51-9c6f-20999ee0276e does not exist. Dropping to a shell!

  The dmesg shows the device appeared at 49 seconds:

  [ 49.367749] sdb: sdb1 sdb2 sdb3

  I could fix this by overriding ROOTDELAY on the command line:

  rootdelay=180

  Could we get ROOTDELAY in initramfs-tools bumped for ppc64el?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1326199/+subscriptions



More information about the foundations-bugs mailing list