[Bug 960322] Re: Degraded Raid 6 boot fails with "invalid arch independent ELF magic"

Ian Macintosh 960322 at bugs.launchpad.net
Wed Mar 21 11:24:02 UTC 2012


Fresh install with 4 x 3GB drives (zeroed), 3 primary partitions, 512m,
512m & balance (2.2g) configured md0, 1 & 2.  Allocated to /boot, swap
and / respectively and filesystems EXT4.

apt-get update, apt-get upgrade, apt-get dist-upgrade, reboot, dpkg-
reconfigure grub-pc & set "bootdegraded=true", shutdown & then remove
drives sequentially and attempt boot.

Removed /dev/sda = "error: invalid arch independent ELF magic"
Removed /dev/sdb = "error: file not found"
Removed /dev/sdc = no visible errors, grub menu displays briefly, apparently attempts to load Linux but reboots back to BIOS POST within seconds.
Remove /dev/sdd = boots degraded & /proc/mdstat displays degraded raid6 with /dev/sddX missing on all arrays

So, small differences in behaviour, but essentially the same.  LVM
appears to be unrelated to this bug.

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

Title:
  Degraded Raid 6 boot fails with "invalid arch independent ELF magic"

Status in “grub2” package in Ubuntu:
  Incomplete

Bug description:
  To replicate: Create or build a server with sufficient drives for a
  Raid 6 array, remove one of the raid drives, and try to boot.

  In my case I created an ESXi 5.0 VM with Ubuntu Oneiric 11.10 64bit
  Server (ubuntu-11.10-server-amd64.iso) with 1 GB RAM, and 4 x 3GB
  drives.  Manual setup, partition the 4 drives, Raid 6 them, create an
  LVM vg with 0.5G /boot, 1G swap and the balance on /.

  It installs and reboots without an issue.  I shut it down, removed
  /dev/sda and tried to boot.

  Fails with "invalid arch independent ELF magic"

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: grub2 1.99-12ubuntu5
  ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4
  Uname: Linux 3.0.0-12-server x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Tue Mar 20 15:30:10 2012
  InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
  ProcEnviron:
   LANGUAGE=en_GB:en
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list