bugGNU GRUB - Bugs: bug #35843, invalid ELF magic on degraded...


You are not allowed to post comments on this tracker with your current authentication level.

bug #35843: invalid ELF magic on degraded software RAID

Submitted by:  Marcin Wolcendorf <antymat>
Submitted on:  Wed 14 Mar 2012 11:13:04 PM UTC  
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release: 
Release:  other Reproducibility:  Every Time
Planned Release:  None

Wed 18 Apr 2012 09:14:29 PM UTC, comment #2: 

I assume that lack of response means that the bug was fixed in the latest version.

Vladimir Serbinenko <phcoder>
Project Administrator
Thu 15 Mar 2012 06:22:44 AM UTC, comment #1: 

Can you retry with 2.00~beta2?

Vladimir Serbinenko <phcoder>
Project Administrator
Wed 14 Mar 2012 11:13:04 PM UTC, original submission:  

My setup is as follows:
Debian wheezy:
grub-mkimage -v
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?

Marcin Wolcendorf <antymat>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by antymat (Submitted the item)
  • -email is unavailable- added by antymat (ELF magic)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-04-18 phcoder Open/ClosedOpen => Closed
    2012-03-14 antymat Carbon-Copy- => Added antymat

    Back to the top

    Powered by Savane 3.6