[Bug 1465567] Re: Kernel panic - not syncing: Too many boot init vars at `nomdmonddf'

Launchpad Bug Tracker 1465567 at bugs.launchpad.net
Thu Aug 13 09:02:49 UTC 2015


This bug was fixed in the package mdadm - 3.3-2ubuntu1.1

---------------
mdadm (3.3-2ubuntu1.1) vivid; urgency=medium

  * debian/dmraid2mdadm.cfg: Only append to GRUB_CMDLINE_LINUX_DEFAULT one
    time. (LP: #1465567)

 -- Iain Lane <iain at orangesquash.org.uk>  Tue, 16 Jun 2015 10:56:44
+0100

** Changed in: mdadm (Ubuntu Vivid)
       Status: Fix Committed => Fix Released

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

Title:
  Kernel panic - not syncing: Too  many boot init vars at `nomdmonddf'

Status in mdadm package in Ubuntu:
  Fix Released
Status in mdadm source package in Trusty:
  Fix Released
Status in mdadm source package in Vivid:
  Fix Released

Bug description:
  [Impact]

  Every time grub-pc is configured when mdadm is installed, "nomdmonddf
  nomdmonisw" is added to GRUB_CMDLINE_LINUX_DEFAULT in
  /etc/default/grub. Eventually this overflows a limit in the kernel
  which causes panics and failed boots.

  Let's only add this the once.

  I had this in my cmdline

  linux   /boot/vmlinuz-3.19.0-20-generic root=UUID=980689ca-e7d9-4a99-8230-33b8b6e917cd ro  nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw
                         nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf
                         nomdmonisw nomdmonddf nomdmonisw systemd.debug-shell nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw

  We should only add the parameters if they aren't already there.

  [Test Case]

  1. Look at GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.
  2. apt-get install mdadm
  3. apt-get install --reinstall grub-pc

  Repeat 3 a few times.

  Before the SRU, you should see "nomdmonddf nomdmonisw" several times
  and after it just once.

  [Regression Potential]

  The script could have a syntax error. It could not work as intended.
  It might cause conffile prompts.

  Check upgrades and new installs in as many scenarios as we can.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1465567/+subscriptions



More information about the foundations-bugs mailing list