Activity log for bug #1285312

Date Who What changed Old value New value Message
2014-02-26 19:28:29 Sean Sosik-Hamor bug added bug
2014-02-26 19:28:29 Sean Sosik-Hamor attachment added screenlog.0 https://bugs.launchpad.net/bugs/1285312/+attachment/3998131/+files/screenlog.0
2014-02-26 19:28:46 Sean Sosik-Hamor bug added subscriber The Canonical Sysadmins
2014-02-26 19:29:41 Sean Sosik-Hamor attachment added main.log https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1285312/+attachment/3998133/+files/main.log
2014-02-26 19:29:51 Sean Sosik-Hamor attachment added lspci.txt https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1285312/+attachment/3998134/+files/lspci.txt
2014-02-26 19:30:01 Sean Sosik-Hamor attachment added history.log https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1285312/+attachment/3998135/+files/history.log
2014-02-26 19:30:14 Sean Sosik-Hamor attachment added apt-term.log https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1285312/+attachment/3998136/+files/apt-term.log
2014-02-26 19:30:24 Sean Sosik-Hamor attachment added apt.log https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1285312/+attachment/3998137/+files/apt.log
2014-02-26 19:44:45 Sean Sosik-Hamor attachment added menu.lst https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1285312/+attachment/3998156/+files/menu.lst
2014-03-12 15:18:52 Sean Sosik-Hamor bug task added grub
2014-04-14 15:41:35 Launchpad Janitor mdadm (Ubuntu): status New Confirmed
2014-04-15 17:28:06 Dimitri John Ledkov mdadm (Ubuntu): assignee Dimitri John Ledkov (xnox)
2014-04-15 17:30:53 Brian Murray mdadm (Ubuntu): milestone ubuntu-14.04.1
2014-04-19 14:24:36 Martin Halford bug added subscriber Martin Halford
2014-04-24 10:28:04 Dimitri John Ledkov nominated for series Ubuntu Utopic
2014-04-24 10:28:04 Dimitri John Ledkov bug task added mdadm (Ubuntu Utopic)
2014-04-24 10:28:04 Dimitri John Ledkov nominated for series Ubuntu Trusty
2014-04-24 10:28:04 Dimitri John Ledkov bug task added mdadm (Ubuntu Trusty)
2014-04-24 10:28:12 Dimitri John Ledkov mdadm (Ubuntu Utopic): importance Undecided High
2014-04-24 10:28:18 Dimitri John Ledkov mdadm (Ubuntu Trusty): importance Undecided High
2014-04-24 15:25:50 Dimitri John Ledkov mdadm (Ubuntu Trusty): assignee Dimitri John Ledkov (xnox)
2014-04-24 15:25:53 Dimitri John Ledkov mdadm (Ubuntu Trusty): status New Confirmed
2014-04-29 21:13:35 Ryan Chapman attachment added ps afx output while hung dpkg --configure mdadm https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1285312/+attachment/4100808/+files/ps-afx.txt
2014-04-30 19:41:40 Dimitri John Ledkov bug task added grub (Ubuntu)
2014-04-30 19:41:49 Dimitri John Ledkov grub (Ubuntu Trusty): status New Confirmed
2014-04-30 19:41:51 Dimitri John Ledkov grub (Ubuntu Utopic): status New Confirmed
2014-04-30 19:41:53 Dimitri John Ledkov grub (Ubuntu Trusty): importance Undecided Wishlist
2014-04-30 19:41:55 Dimitri John Ledkov grub (Ubuntu Utopic): importance Undecided Wishlist
2014-04-30 19:42:21 Dimitri John Ledkov summary Setting up mdadm (3.2.5-5ubuntu3) freezes at Found kernel: when upgrading from Saucy to Trusty Setting up mdadm (3.2.5-5ubuntu3) freezes after calling grub1's update-grub from postinst
2014-04-30 20:11:37 Dimitri John Ledkov mdadm (Ubuntu Utopic): status Confirmed Fix Committed
2014-04-30 20:16:39 Dimitri John Ledkov description I'm unable to upgrade my Dell PowerEdge T105 from Saucy to Trusty because madm freezes during the update grub process during setup. This system was originally installed in April of 2009 with Hardy 8.04 and has successfully upgraded from revision to revision since then. This is the first time madm has failed to upgrade. Yesterday evening I ran do-release-upgrade -d and it froze at: Setting up libdevmapper1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up libdevmapper-event1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up lvm2 (2.02.98-6ubuntu2) ... Installing new version of config file /etc/lvm/lvm.conf ... update-initramfs: deferring update (trigger activated) Setting up mdadm (3.2.5-5ubuntu3) ... Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/vmlinuz-3.11.0-14-generic Found kernel: /boot/vmlinuz-3.11.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-7-generic Found kernel: /boot/memtest86+.bin -- 0:trusty -- time-stamp -- Feb/25/14 17:04:19 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:11:58 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:14:00 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:27:48 -- It sat there for about half an hour so I canceled the do-release-upgrade and tried to recover with the usual steps after cleaning out some stale kernels: root@kami:~# apt-get update [...] output removed E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get -f install E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get dist-upgrade E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# sudo dpkg --configure -a Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Setting up mdadm (3.2.5-5ubuntu3) ... Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/memtest86+.bin At this point mdadm setup still just sits forever. If I hit Ctrl-C: ^Cdpkg: error processing package mdadm (--configure): subprocess installed post-installation script was interrupted Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Errors were encountered while processing: mdadm root@kami:~# root@kami:~# fdisk -l /dev/sda Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000918ae Device Boot Start End Blocks Id System /dev/sda1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sda2 39070080 1953520064 957224992+ 5 Extended /dev/sda5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sda6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# fdisk -l /dev/sdb Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000455d6 Device Boot Start End Blocks Id System /dev/sdb1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sdb2 39070080 1953520064 957224992+ 5 Extended /dev/sdb5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sdb6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid1 sdb6[1] sda6[0] 953321088 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0] 19534912 blocks [2/2] [UU] md1 : active raid1 sdb5[1] sda5[0] 3903680 blocks [2/2] [UU] unused devices: <none> root@kami:~# vgscan Reading all physical volumes. This may take a while... Found volume group "KamiVG01" using metadata type lvm2 root@kami:~# lvscan ACTIVE '/dev/KamiVG01/chippoke' [50.00 GiB] inherit ACTIVE '/dev/KamiVG01/nas-office' [850.00 GiB] inherit (additional data and logs will be added soon) [Impact] * Upgrading to mdadm/trusty package fails, if the machine is using grub1 [Test Case] * Install grub1 - package grub (I've installed 8.04 LTS from old-releases.ubuntu.com first and upgraded to each consecutive LTS release up to 14.04) * Upgrading to mdadm/trusty should not stall & should not execute grub1's update-grub & should succeed normally [Regression Potential] * This bug does not affect installations that use grub2, default since 9.04 [Other Info] ========================= ATTENTION! ========================= All users who have not yet upgraded to grub2 are urged to upgrade to grub following instructions at: https://help.ubuntu.com/community/Grub2/Upgrading ========================= ATTENTION! ========================= I'm unable to upgrade my Dell PowerEdge T105 from Saucy to Trusty because madm freezes during the update grub process during setup. This system was originally installed in April of 2009 with Hardy 8.04 and has successfully upgraded from revision to revision since then. This is the first time madm has failed to upgrade. Yesterday evening I ran do-release-upgrade -d and it froze at: Setting up libdevmapper1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up libdevmapper-event1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up lvm2 (2.02.98-6ubuntu2) ... Installing new version of config file /etc/lvm/lvm.conf ... update-initramfs: deferring update (trigger activated) Setting up mdadm (3.2.5-5ubuntu3) ...  Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/vmlinuz-3.11.0-14-generic Found kernel: /boot/vmlinuz-3.11.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-7-generic Found kernel: /boot/memtest86+.bin -- 0:trusty -- time-stamp -- Feb/25/14 17:04:19 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:11:58 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:14:00 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:27:48 -- It sat there for about half an hour so I canceled the do-release-upgrade and tried to recover with the usual steps after cleaning out some stale kernels: root@kami:~# apt-get update [...] output removed E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get -f install E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get dist-upgrade E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# sudo dpkg --configure -a Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Setting up mdadm (3.2.5-5ubuntu3) ...  Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/memtest86+.bin At this point mdadm setup still just sits forever. If I hit Ctrl-C: ^Cdpkg: error processing package mdadm (--configure):  subprocess installed post-installation script was interrupted Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Errors were encountered while processing:  mdadm root@kami:~# root@kami:~# fdisk -l /dev/sda Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000918ae    Device Boot Start End Blocks Id System /dev/sda1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sda2 39070080 1953520064 957224992+ 5 Extended /dev/sda5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sda6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# fdisk -l /dev/sdb Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000455d6    Device Boot Start End Blocks Id System /dev/sdb1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sdb2 39070080 1953520064 957224992+ 5 Extended /dev/sdb5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sdb6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid1 sdb6[1] sda6[0]       953321088 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0]       19534912 blocks [2/2] [UU] md1 : active raid1 sdb5[1] sda5[0]       3903680 blocks [2/2] [UU] unused devices: <none> root@kami:~# vgscan   Reading all physical volumes. This may take a while...   Found volume group "KamiVG01" using metadata type lvm2 root@kami:~# lvscan   ACTIVE '/dev/KamiVG01/chippoke' [50.00 GiB] inherit   ACTIVE '/dev/KamiVG01/nas-office' [850.00 GiB] inherit (additional data and logs will be added soon)
2014-04-30 20:17:04 Dimitri John Ledkov description [Impact] * Upgrading to mdadm/trusty package fails, if the machine is using grub1 [Test Case] * Install grub1 - package grub (I've installed 8.04 LTS from old-releases.ubuntu.com first and upgraded to each consecutive LTS release up to 14.04) * Upgrading to mdadm/trusty should not stall & should not execute grub1's update-grub & should succeed normally [Regression Potential] * This bug does not affect installations that use grub2, default since 9.04 [Other Info] ========================= ATTENTION! ========================= All users who have not yet upgraded to grub2 are urged to upgrade to grub following instructions at: https://help.ubuntu.com/community/Grub2/Upgrading ========================= ATTENTION! ========================= I'm unable to upgrade my Dell PowerEdge T105 from Saucy to Trusty because madm freezes during the update grub process during setup. This system was originally installed in April of 2009 with Hardy 8.04 and has successfully upgraded from revision to revision since then. This is the first time madm has failed to upgrade. Yesterday evening I ran do-release-upgrade -d and it froze at: Setting up libdevmapper1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up libdevmapper-event1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up lvm2 (2.02.98-6ubuntu2) ... Installing new version of config file /etc/lvm/lvm.conf ... update-initramfs: deferring update (trigger activated) Setting up mdadm (3.2.5-5ubuntu3) ...  Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/vmlinuz-3.11.0-14-generic Found kernel: /boot/vmlinuz-3.11.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-7-generic Found kernel: /boot/memtest86+.bin -- 0:trusty -- time-stamp -- Feb/25/14 17:04:19 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:11:58 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:14:00 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:27:48 -- It sat there for about half an hour so I canceled the do-release-upgrade and tried to recover with the usual steps after cleaning out some stale kernels: root@kami:~# apt-get update [...] output removed E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get -f install E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get dist-upgrade E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# sudo dpkg --configure -a Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Setting up mdadm (3.2.5-5ubuntu3) ...  Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/memtest86+.bin At this point mdadm setup still just sits forever. If I hit Ctrl-C: ^Cdpkg: error processing package mdadm (--configure):  subprocess installed post-installation script was interrupted Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Errors were encountered while processing:  mdadm root@kami:~# root@kami:~# fdisk -l /dev/sda Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000918ae    Device Boot Start End Blocks Id System /dev/sda1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sda2 39070080 1953520064 957224992+ 5 Extended /dev/sda5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sda6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# fdisk -l /dev/sdb Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000455d6    Device Boot Start End Blocks Id System /dev/sdb1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sdb2 39070080 1953520064 957224992+ 5 Extended /dev/sdb5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sdb6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid1 sdb6[1] sda6[0]       953321088 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0]       19534912 blocks [2/2] [UU] md1 : active raid1 sdb5[1] sda5[0]       3903680 blocks [2/2] [UU] unused devices: <none> root@kami:~# vgscan   Reading all physical volumes. This may take a while...   Found volume group "KamiVG01" using metadata type lvm2 root@kami:~# lvscan   ACTIVE '/dev/KamiVG01/chippoke' [50.00 GiB] inherit   ACTIVE '/dev/KamiVG01/nas-office' [850.00 GiB] inherit (additional data and logs will be added soon) [Impact]  * Upgrading to mdadm/trusty package fails, if the machine is using grub1 [Test Case]  * Install grub1 - package grub (I've installed 8.04 LTS from old-releases.ubuntu.com first and upgraded to each consecutive LTS release up to 14.04)  * Upgrading to mdadm/trusty should not stall & should not execute grub1's update-grub & should succeed normally [Regression Potential]  * This bug does not affect installations that use grub2, default since 9.04 [Other Info] ========================= ATTENTION! ========================= All users who have not yet upgraded to grub2 are urged to upgrade to grub following instructions at:            https://help.ubuntu.com/community/Grub2/Upgrading ========================= ATTENTION! ========================= [Original bug report] I'm unable to upgrade my Dell PowerEdge T105 from Saucy to Trusty because madm freezes during the update grub process during setup. This system was originally installed in April of 2009 with Hardy 8.04 and has successfully upgraded from revision to revision since then. This is the first time madm has failed to upgrade. Yesterday evening I ran do-release-upgrade -d and it froze at: Setting up libdevmapper1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up libdevmapper-event1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up lvm2 (2.02.98-6ubuntu2) ... Installing new version of config file /etc/lvm/lvm.conf ... update-initramfs: deferring update (trigger activated) Setting up mdadm (3.2.5-5ubuntu3) ...  Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/vmlinuz-3.11.0-14-generic Found kernel: /boot/vmlinuz-3.11.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-7-generic Found kernel: /boot/memtest86+.bin -- 0:trusty -- time-stamp -- Feb/25/14 17:04:19 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:11:58 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:14:00 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:27:48 -- It sat there for about half an hour so I canceled the do-release-upgrade and tried to recover with the usual steps after cleaning out some stale kernels: root@kami:~# apt-get update [...] output removed E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get -f install E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get dist-upgrade E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# sudo dpkg --configure -a Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Setting up mdadm (3.2.5-5ubuntu3) ...  Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/memtest86+.bin At this point mdadm setup still just sits forever. If I hit Ctrl-C: ^Cdpkg: error processing package mdadm (--configure):  subprocess installed post-installation script was interrupted Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Errors were encountered while processing:  mdadm root@kami:~# root@kami:~# fdisk -l /dev/sda Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000918ae    Device Boot Start End Blocks Id System /dev/sda1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sda2 39070080 1953520064 957224992+ 5 Extended /dev/sda5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sda6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# fdisk -l /dev/sdb Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000455d6    Device Boot Start End Blocks Id System /dev/sdb1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sdb2 39070080 1953520064 957224992+ 5 Extended /dev/sdb5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sdb6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid1 sdb6[1] sda6[0]       953321088 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0]       19534912 blocks [2/2] [UU] md1 : active raid1 sdb5[1] sda5[0]       3903680 blocks [2/2] [UU] unused devices: <none> root@kami:~# vgscan   Reading all physical volumes. This may take a while...   Found volume group "KamiVG01" using metadata type lvm2 root@kami:~# lvscan   ACTIVE '/dev/KamiVG01/chippoke' [50.00 GiB] inherit   ACTIVE '/dev/KamiVG01/nas-office' [850.00 GiB] inherit (additional data and logs will be added soon)
2014-04-30 20:22:45 Dimitri John Ledkov grub (Ubuntu Trusty): status Confirmed Won't Fix
2014-04-30 20:22:50 Dimitri John Ledkov bug task deleted grub (Ubuntu Utopic)
2014-04-30 20:23:40 Dimitri John Ledkov description [Impact]  * Upgrading to mdadm/trusty package fails, if the machine is using grub1 [Test Case]  * Install grub1 - package grub (I've installed 8.04 LTS from old-releases.ubuntu.com first and upgraded to each consecutive LTS release up to 14.04)  * Upgrading to mdadm/trusty should not stall & should not execute grub1's update-grub & should succeed normally [Regression Potential]  * This bug does not affect installations that use grub2, default since 9.04 [Other Info] ========================= ATTENTION! ========================= All users who have not yet upgraded to grub2 are urged to upgrade to grub following instructions at:            https://help.ubuntu.com/community/Grub2/Upgrading ========================= ATTENTION! ========================= [Original bug report] I'm unable to upgrade my Dell PowerEdge T105 from Saucy to Trusty because madm freezes during the update grub process during setup. This system was originally installed in April of 2009 with Hardy 8.04 and has successfully upgraded from revision to revision since then. This is the first time madm has failed to upgrade. Yesterday evening I ran do-release-upgrade -d and it froze at: Setting up libdevmapper1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up libdevmapper-event1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up lvm2 (2.02.98-6ubuntu2) ... Installing new version of config file /etc/lvm/lvm.conf ... update-initramfs: deferring update (trigger activated) Setting up mdadm (3.2.5-5ubuntu3) ...  Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/vmlinuz-3.11.0-14-generic Found kernel: /boot/vmlinuz-3.11.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-7-generic Found kernel: /boot/memtest86+.bin -- 0:trusty -- time-stamp -- Feb/25/14 17:04:19 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:11:58 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:14:00 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:27:48 -- It sat there for about half an hour so I canceled the do-release-upgrade and tried to recover with the usual steps after cleaning out some stale kernels: root@kami:~# apt-get update [...] output removed E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get -f install E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get dist-upgrade E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# sudo dpkg --configure -a Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Setting up mdadm (3.2.5-5ubuntu3) ...  Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/memtest86+.bin At this point mdadm setup still just sits forever. If I hit Ctrl-C: ^Cdpkg: error processing package mdadm (--configure):  subprocess installed post-installation script was interrupted Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Errors were encountered while processing:  mdadm root@kami:~# root@kami:~# fdisk -l /dev/sda Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000918ae    Device Boot Start End Blocks Id System /dev/sda1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sda2 39070080 1953520064 957224992+ 5 Extended /dev/sda5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sda6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# fdisk -l /dev/sdb Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000455d6    Device Boot Start End Blocks Id System /dev/sdb1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sdb2 39070080 1953520064 957224992+ 5 Extended /dev/sdb5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sdb6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid1 sdb6[1] sda6[0]       953321088 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0]       19534912 blocks [2/2] [UU] md1 : active raid1 sdb5[1] sda5[0]       3903680 blocks [2/2] [UU] unused devices: <none> root@kami:~# vgscan   Reading all physical volumes. This may take a while...   Found volume group "KamiVG01" using metadata type lvm2 root@kami:~# lvscan   ACTIVE '/dev/KamiVG01/chippoke' [50.00 GiB] inherit   ACTIVE '/dev/KamiVG01/nas-office' [850.00 GiB] inherit (additional data and logs will be added soon) [Impact]  * Upgrading to mdadm/trusty package fails, if the machine is using grub1 [Test Case]  * Install grub1 - package grub (I've installed 8.04 LTS from old-releases.ubuntu.com first and upgraded to each consecutive LTS release up to 14.04)  * Upgrading to mdadm/trusty should not stall & should not execute grub1's update-grub & should succeed normally [Regression Potential]  * This bug does not affect installations that use grub2, default since 9.04 [Other Info] ========================= ATTENTION! ========================= All users who have not yet upgraded to grub2 are urged to upgrade following instructions at:            https://help.ubuntu.com/community/Grub2/Upgrading ========================= ATTENTION! ========================= [Original bug report] I'm unable to upgrade my Dell PowerEdge T105 from Saucy to Trusty because madm freezes during the update grub process during setup. This system was originally installed in April of 2009 with Hardy 8.04 and has successfully upgraded from revision to revision since then. This is the first time madm has failed to upgrade. Yesterday evening I ran do-release-upgrade -d and it froze at: Setting up libdevmapper1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up libdevmapper-event1.02.1:amd64 (2:1.02.77-6ubuntu2) ... Setting up lvm2 (2.02.98-6ubuntu2) ... Installing new version of config file /etc/lvm/lvm.conf ... update-initramfs: deferring update (trigger activated) Setting up mdadm (3.2.5-5ubuntu3) ...  Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/vmlinuz-3.11.0-14-generic Found kernel: /boot/vmlinuz-3.11.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-7-generic Found kernel: /boot/memtest86+.bin -- 0:trusty -- time-stamp -- Feb/25/14 17:04:19 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:11:58 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:14:00 -- -- 0:trusty -- time-stamp -- Feb/25/14 17:27:48 -- It sat there for about half an hour so I canceled the do-release-upgrade and tried to recover with the usual steps after cleaning out some stale kernels: root@kami:~# apt-get update [...] output removed E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get -f install E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# apt-get dist-upgrade E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. root@kami:~# sudo dpkg --configure -a Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Setting up mdadm (3.2.5-5ubuntu3) ...  Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs: deferring update (trigger activated) update-grub is /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.13.0-12-generic Found kernel: /boot/vmlinuz-3.11.0-17-generic Found kernel: /boot/vmlinuz-3.11.0-15-generic Found kernel: /boot/memtest86+.bin At this point mdadm setup still just sits forever. If I hit Ctrl-C: ^Cdpkg: error processing package mdadm (--configure):  subprocess installed post-installation script was interrupted Processing triggers for initramfs-tools (0.103ubuntu3) ... update-initramfs: Generating /boot/initrd.img-3.13.0-12-generic Errors were encountered while processing:  mdadm root@kami:~# root@kami:~# fdisk -l /dev/sda Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000918ae    Device Boot Start End Blocks Id System /dev/sda1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sda2 39070080 1953520064 957224992+ 5 Extended /dev/sda5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sda6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# fdisk -l /dev/sdb Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000455d6    Device Boot Start End Blocks Id System /dev/sdb1 * 63 39070079 19535008+ fd Linux raid autodetect /dev/sdb2 39070080 1953520064 957224992+ 5 Extended /dev/sdb5 39070143 46877669 3903763+ fd Linux raid autodetect /dev/sdb6 46877733 1953520064 953321166 fd Linux raid autodetect root@kami:~# cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid1 sdb6[1] sda6[0]       953321088 blocks [2/2] [UU] md0 : active raid1 sdb1[1] sda1[0]       19534912 blocks [2/2] [UU] md1 : active raid1 sdb5[1] sda5[0]       3903680 blocks [2/2] [UU] unused devices: <none> root@kami:~# vgscan   Reading all physical volumes. This may take a while...   Found volume group "KamiVG01" using metadata type lvm2 root@kami:~# lvscan   ACTIVE '/dev/KamiVG01/chippoke' [50.00 GiB] inherit   ACTIVE '/dev/KamiVG01/nas-office' [850.00 GiB] inherit (additional data and logs will be added soon)
2014-04-30 20:24:53 Dimitri John Ledkov mdadm (Ubuntu Trusty): status Confirmed Triaged
2014-04-30 20:27:41 Launchpad Janitor mdadm (Ubuntu Utopic): status Fix Committed Fix Released
2014-04-30 20:53:30 Dimitri John Ledkov mdadm (Ubuntu Trusty): status Triaged In Progress
2014-05-01 02:04:14 Ryan Chapman attachment added grub.cfg from: "sh -x /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg" https://bugs.launchpad.net/ubuntu/trusty/+source/mdadm/+bug/1285312/+attachment/4102020/+files/grub.cfg
2014-05-01 02:06:05 Ryan Chapman attachment added Console out from: "sh -x /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg" https://bugs.launchpad.net/ubuntu/trusty/+source/mdadm/+bug/1285312/+attachment/4102021/+files/grub-mkconfig.txt
2014-05-01 17:06:20 Chris J Arges mdadm (Ubuntu Trusty): status In Progress Fix Committed
2014-05-01 17:06:24 Chris J Arges bug added subscriber Ubuntu Stable Release Updates Team
2014-05-01 17:06:26 Chris J Arges bug added subscriber SRU Verification
2014-05-01 17:06:34 Chris J Arges tags verification-needed
2014-05-06 10:16:07 Dimitri John Ledkov tags verification-needed verification-done
2014-05-08 11:18:49 Christian Werner bug task added mdadm
2014-05-12 05:17:48 Launchpad Janitor mdadm (Ubuntu Trusty): status Fix Committed Fix Released
2014-05-12 05:17:53 Scott Kitterman removed subscriber Ubuntu Stable Release Updates Team
2015-06-24 08:50:48 dino99 grub (Ubuntu): status Confirmed Invalid
2015-06-24 08:50:56 dino99 mdadm: status New Invalid
2015-06-24 08:51:07 dino99 grub: status New Invalid