Public bug reported:

Hi

My system has a boot disk, simple no raid and data disks with LVM and
RAID.

During the install, the grub-probe segfault, leading to a non bootable
system.

I did remove the data disk, and the install complet without any problem.

After reinstalling the Data Disks (LVM + SoftRaid), the update of the
Kernel was imposible, the postconfig failed during the grub-update
process.

My device config :
Boot disks : Single Device, no raid /dev/sda1

Data Disks : 6 devices, soft Raid on the device, LVM using the soft raid
device.

TechInfo : 
------------------------------------------------------------------------------
root@mysrv:/var/log# lsb_release -rd
Description:    Ubuntu 12.04.1 LTS
Release:        12.04
----------------
root@mysrv:/var/log# apt-cache policy grub2
grub2:
  Installed: (none)
  Candidate: 1.99-21ubuntu3.1
  Version table:
     1.99-21ubuntu3.1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ precise-updates/universe amd64 
Packages
     1.99-21ubuntu3 0
        500 http://fr.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
----------
syslog:Sep 22 21:02:27 mysrv kernel: [98409.387293] grub-probe[25273]: segfault 
at 28 ip 000000000043222d sp 00007fff7b2df7b8 error 4 in 
grub-probe[400000+50000]
syslog:Sep 22 21:03:22 mysrv kernel: [98464.339495] grub-probe[4287]: segfault 
at 28 ip 000000000043222d sp 00007fff670a82a8 error 4 in 
grub-probe[400000+50000]

-----
lvm :
root@mysrv:/var/log# pvs
  PV         VG         Fmt  Attr PSize   PFree
  /dev/md11  raiddatavg lvm2 a-   931.50g 931.50g
  /dev/md127 raiddatavg lvm2 a-     1.82t 248.02g
  /dev/sda5  mysrv      lvm2 a-   111.55g      0

root@mysrv:/var/log# lvs
  LV         VG         Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  root       mysrv      -wi-ao 110.58g
  swap_1     mysrv      -wi-ao 992.00m
  photo_lv   raiddatavg -wi--- 260.00g
  sauv_lv    raiddatavg -wi--- 160.00g
  travail_lv raiddatavg -wi---  40.00g

root@mysrv:/var/log# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md11 : active raid5 sdd6[0] sde6[1]
      976751936 blocks level 5, 64k chunk, algorithm 2 [2/2] [UU]

md127 : active raid5 sdf5[2] sde5[1] sdd5[0] sdc5[4](S) sdb5[3](S)
      1953519744 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
---------------------------------------------

root@mysrv:/var/log# dpkg --configure --pending
Setting up linux-image-3.2.0-31-generic (3.2.0-31.50) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-31-generic 
/boot/vmlinuz-3.2.0-31-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-31-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-31-generic 
/boot/vmlinuz-3.2.0-31-generic
error: superfluous RAID member (3 found).
error: superfluous RAID member (3 found).
Segmentation fault
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 139
Failed to process /etc/kernel/postinst.d at 
/var/lib/dpkg/info/linux-image-3.2.0-31-generic.postinst line 1010.
dpkg: error processing linux-image-3.2.0-31-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-server:
 linux-image-server depends on linux-image-3.2.0-31-generic; however:
  Package linux-image-3.2.0-31-generic is not configured yet.
dpkg: error processing linux-image-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-server:
 linux-server depends on linux-image-server (= 3.2.0.31.34); however:
  Package linux-image-server is not configured yet.
dpkg: error processing linux-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-3.2.0-31-generic
 linux-image-server
 linux-server

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  grube-prob segfault during install and update using LVM + SoftRaid
  config

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

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

Reply via email to