[Bug 816475] Re: package grub-pc 1.99~rc1-13ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 139
Pedro Monteiro
816475 at bugs.launchpad.net
Thu Sep 8 13:57:00 UTC 2011
I also upgraded from Maverick to Natty and I'm getting Grub related
errors:
----------------------------------------------------------------------------------------------------------
Setting up linux-image-2.6.38-11-generic (2.6.38-11.48) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-11-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
* dkms: running auto installation service for kernel 2.6.38-11-generic
* vboxhost (4.0.4)... [ OK ]
* nvidia-current (270.41.06)... [ OK ]
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
Generating grub.cfg ...
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-11-generic.postinst line 1010.
dpkg: error processing linux-image-2.6.38-11-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up memtest86+ (4.10-1.1ubuntu1) ...
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
Generating grub.cfg ...
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
dpkg: error processing memtest86+ (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntu-standard:
ubuntu-standard depends on memtest86+; however:
Package memtest86+ is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-2.6.38-11-generic; however:
Package linux-image-2.6.38-11-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 2.6.38.11.26); however:
Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
Setting up grub-pc (1.99~rc1-13ubuntu3) ...
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
Generating grub.cfg ...
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of grub-gfxpayload-lists:
grub-gfxpayload-lists depends on grub-pc (>= 1.99~20101210-1ubuntu2); however:
Package grub-pc is not configured yet.
dpkg: error processing grub-gfxpayload-lists (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-image-2.6.38-11-generic
memtest86+
ubuntu-standard
linux-image-generic
linux-generic
grub-pc
grub-gfxpayload-lists
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------------------------------------------
The are 7 packages left to install/upgrade:
---
7 not fully installed or removed.
Conf linux-image-2.6.38-11-generic (2.6.38-11.48 Ubuntu:11.04/natty-updates [amd64])
Conf memtest86+ (4.10-1.1ubuntu1 Ubuntu:11.04/natty [amd64])
Conf ubuntu-standard (1.220 Ubuntu:11.04/natty [amd64])
Conf grub-gfxpayload-lists (0.2 Ubuntu:11.04/natty [amd64])
Conf grub-pc (1.99~rc1-13ubuntu3 Ubuntu:11.04/natty [amd64])
Conf linux-image-generic (2.6.38.11.26 Ubuntu:11.04/natty-updates [amd64])
Conf linux-generic (2.6.38.11.26 Ubuntu:11.04/natty-updates [amd64])
---
The problem appears to be in grub-probe:
---
$ sudo grub-probe /
error: found two disks with the index 0 for RAID md0.
error: superfluous RAID member (2 found).
grub-probe: error: unknown filesystem.
---
More verbose:
---------------------------------------------------------------------------------
$ sudo grub-probe -v /
grub-probe: info: cannot open `/boot/grub/device.map'.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: scanning hd0 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: scanning hd1 for LVM.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
error: found two disks with the index 0 for RAID md0.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
error: superfluous RAID member (2 found).
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: scanning md0 for LVM.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning md0,msdos5 for LVM.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning md0,msdos3 for LVM.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning md0,msdos2 for LVM.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning md0,msdos1 for LVM.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning hd0 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: scanning hd0,msdos5 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning hd0,msdos3 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning hd0,msdos2 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning hd0,msdos1 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning hd1 for LVM.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: scanning hd1,msdos5 for LVM.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning hd1,msdos3 for LVM.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning hd1,msdos2 for LVM.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: scanning hd1,msdos1 for LVM.
grub-probe: info: the size of hd1 is 976773168.
grub-probe: info: no LVM signature found
.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to snd.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to vboxusb.
grub-probe: info: changing current directory to 003.
grub-probe: info: changing current directory to cpu.
grub-probe: info: changing current directory to shm.
grub-probe: info: opening md0.
grub-probe: error: unknown filesystem.
---------------------------------------------------------------------------------
'mount' output:
---
/dev/md0 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
gvfs-fuse-daemon on /home/pedro/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=pedro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
---
'fdisk -l' output:
---
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sdb1 1 24 192748+ de Dell Utility
/dev/sdb2 * 25 286 2104515 b W95 FAT32
/dev/sdb3 287 772 3903795 82 Linux swap / Solaris
/dev/sdb4 773 60802 482182145 5 Extended
/dev/sdb5 773 60802 482182144 fd Linux raid autodetect
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sda1 1 24 192748+ de Dell Utility
/dev/sda2 * 25 286 2104515 b W95 FAT32
/dev/sda3 287 772 3903795 82 Linux swap / Solaris
/dev/sda4 773 60802 482182145 5 Extended
/dev/sda5 773 60802 482182144 fd Linux raid autodetect
Disk /dev/md0: 493.8 GB, 493754449920 bytes
2 heads, 4 sectors/track, 120545520 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table
---
/proc/mdstat:
---
$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sda5[0] sdb5[1]
482182080 blocks [2/2] [UU]
unused devices: <none>
---
Current kernel is:
Linux 2.6.35-30-generic #56-Ubuntu SMP Mon Jul 11 20:01:08 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/816475
Title:
package grub-pc 1.99~rc1-13ubuntu3 failed to install/upgrade:
ErrorMessage: subprocess installed post-installation script returned
error exit status 139
Status in “grub2” package in Ubuntu:
New
Bug description:
I just upgraded from maverick to natty. Before the upgrade, update-
grub was working, but now it fails with:
error: superfluous RAID member (2 found).
error: superfluous RAID member (3 found).
error: superfluous RAID member (3 found).
error: superfluous RAID member (3 found).
error: superfluous RAID member (3 found).
error: superfluous RAID member (3 found).
error: superfluous RAID member (2 found).
Segmentation fault
ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: grub-pc 1.99~rc1-13ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-30.56-generic 2.6.35.13
Uname: Linux 2.6.35-30-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Jul 26 18:11:25 2011
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 139
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-30-generic root=UUID=632f9a08-e68c-4de4-9702-4bc1a16b1519 ro quiet splash
SourcePackage: grub2
Title: package grub-pc 1.99~rc1-13ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 139
UpgradeStatus: Upgraded to natty on 2011-07-26 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/816475/+subscriptions
More information about the foundations-bugs
mailing list