[Bug 1465567] Re: Kernel panic - not syncing: Too many boot init vars at `nomdmonddf'
Launchpad Bug Tracker
1465567 at bugs.launchpad.net
Tue Jun 16 10:50:50 UTC 2015
This bug was fixed in the package mdadm - 3.3-2ubuntu2
---------------
mdadm (3.3-2ubuntu2) wily; 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:48:09
+0100
** Changed in: mdadm (Ubuntu)
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:
In Progress
Status in mdadm source package in Vivid:
In Progress
Bug description:
[ Description ]
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
[ Fix ]
Only add the parameters if they aren't already there.
[ QA ]
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