[Bug 1054719] Re: grube-prob segfault during install and update using LVM + SoftRaid config

PENET Hubert 1054719 at bugs.launchpad.net
Sat Sep 22 19:45:38 UTC 2012


Forgot the "grube-prob" output :
root at mysrv:/var/log# grub-probe -t fs -v  /dev/sda
grub-probe: info: cannot open `/boot/grub/device.map'.
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd2.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd3.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd4.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd5.
grub-probe: info: the size of hd5 is 1953525168.
grub-probe: info: the size of hd5 is 1953525168.
grub-probe: info: scanning hd0 for LVM.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: no LVM signature found.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: scanning hd1 for LVM.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: no LVM signature found.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: scanning hd2 for LVM.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: no LVM signature found.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: scanning hd3 for LVM.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: no LVM signature found.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: scanning hd4 for LVM.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: no LVM signature found.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: scanning hd5 for LVM.
grub-probe: info: the size of hd5 is 1953525168.
grub-probe: info: no LVM signature found.
grub-probe: info: the size of hd5 is 1953525168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd2.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd3.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd4.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd5.
grub-probe: info: the size of hd5 is 1953525168.
grub-probe: info: the size of hd5 is 1953525168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd2.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd3.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd4.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd5.
grub-probe: info: the size of hd5 is 1953525168.
grub-probe: info: the size of hd5 is 1953525168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos5.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1.
grub-probe: info: the size of hd0 is 234441648.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1,msdos5.
grub-probe: info: the size of hd1 is 1953525168.
grub-probe: info: Found array md127 (mdraid09).
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd2.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd2,msdos5.
grub-probe: info: the size of hd2 is 1953525168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd3.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd3,msdos6.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: Found array md11 (mdraid09).
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd3,msdos5.
grub-probe: info: the size of hd3 is 3907029168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd4.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd4,msdos6.
grub-probe: info: the size of hd4 is 3907029168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd4,msdos5.
grub-probe: info: the size of hd4 is 3907029168.
error: superfluous RAID member (3 found).
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd5.
grub-probe: info: the size of hd5 is 1953525168.
grub-probe: info: the size of hd5 is 1953525168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd5,msdos5.
grub-probe: info: the size of hd5 is 1953525168.
error: superfluous RAID member (3 found).
grub-probe: info: Scanning for mdraid1x RAID devices on disk md11.
grub-probe: info: Scanning for mdraid1x RAID devices on disk md127.
Segmentation fault

-- 
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/1054719

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

Status in “grub2” package in Ubuntu:
  New

Bug description:
  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 at mysrv:/var/log# lsb_release -rd
  Description:    Ubuntu 12.04.1 LTS
  Release:        12.04
  ----------------
  root at 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 at 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 at 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 at 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 at 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

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




More information about the foundations-bugs mailing list