bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #35843] invalid ELF magic on degraded software RAID


From: Marcin Wolcendorf
Subject: [bug #35843] invalid ELF magic on degraded software RAID
Date: Wed, 14 Mar 2012 23:13:05 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Iceweasel/10.0.2

URL:
  <http://savannah.gnu.org/bugs/?35843>

                 Summary: invalid ELF magic on degraded software RAID
                 Project: GNU GRUB
            Submitted by: antymat
            Submitted on: Thu 15 Mar 2012 12:13:04 AM CET
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: other
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

My setup is as follows:
Debian wheezy:
grub-mkimage -v
 1.99-14
mdadm -V
mdadm - v3.2.3 - 23rd December 2011,
lvm version
  LVM version:     2.02.88(2) (2011-08-19)
  Library version: 1.02.67 (2011-08-19)
  Driver version:  4.22.0

I have a 8-disk RAID6 with gpt and protective mbr partition table and 2
partitions on each disk:
   1              40      1953521031   2700 GiB    FD00  Linux RAID
   2      1953521032      1953525134   2.0 MiB     EF02  BIOS boot partition

Then the big partitions make a RAID, on which I again have a
gpt-protective-mbr partition table, with 2 partitions - /boot and encrypted PV
for an LVM group containing all the rest of the system.

Problem description:
When the RAID is clean, everything is fine and the system boots.
When it is degraded, the boot ends in "grub rescue" mode with "error: invalid
arch independent ELF magic". 
The prefix is set correctly, so is root, I can see the contents of the /grub
directory on the /boot partition, I can load crypto, gzio, ext2, all the raid
modules load with no problem. But when I try to load normal or lvm modules, I
get the 'invalid ELF' again. 

Any idea what may be wrong?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35843>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]