** Description changed:

- After installing Trusty on a ppc64el box, each boot drops into a shell
- because we aren't waiting long enough for the root device:
+ [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)
+  - 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?

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to