Bug#668920: grub-pc: grub 1.99-21 fails to detect mdraid partitions

Arne Goetje arne at linux.org.tw
Sun Apr 15 16:17:59 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Package: grub-pc
Version: 1.99-21
Severity: critical
Justification: breaks the whole system

Upgrading from 1.99-17 to 1.99-21 on wheezy today renders the system
unbootable.
Grub cannot detect any mdraid partition and is therefor unable to load
the kernel.
Downgrading to 1.99-17 solves the problem.

- -- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/md127p1 / ext4
rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md127p3 /home ext4
rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md127p2 /var ext4
rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md1p2 /home/arne/build ext4
rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md1p5 /mnt/mail ext4
rw,nosuid,nodev,noexec,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/md1p6 /home/arne/images ext4
rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sr0 /media/Debian\040squeeze\04020110324-08:07 iso9660
ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500
0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod raid
insmod mdraid09
insmod part_msdos
insmod ext2
set root='(mduuid/a64afb126a34e01de368bf24bd0fce41,1)'
search --no-floppy --fs-uuid --set=root
fe2d67a4-6b34-4abb-bf1d-9fcb39b65b30
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod raid
  insmod mdraid09
  insmod part_msdos
  insmod ext2
  set root='(mduuid/a64afb126a34e01de368bf24bd0fce41,1)'
  search --no-floppy --fs-uuid --set=root
fe2d67a4-6b34-4abb-bf1d-9fcb39b65b30
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod raid
insmod mdraid09
insmod part_msdos
insmod ext2
set root='(mduuid/a64afb126a34e01de368bf24bd0fce41,1)'
search --no-floppy --fs-uuid --set=root
fe2d67a4-6b34-4abb-bf1d-9fcb39b65b30
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
  set color_normal=light-gray/black
  set color_highlight=white/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 3.2.0-2-686-pae' --class
debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod ext2
	set root='(mduuid/a64afb126a34e01de368bf24bd0fce41,1)'
	search --no-floppy --fs-uuid --set=root
fe2d67a4-6b34-4abb-bf1d-9fcb39b65b30
	echo	'Loading Linux 3.2.0-2-686-pae ...'
	linux	/boot/vmlinuz-3.2.0-2-686-pae root=/dev/md127p1 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-2-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-2-686-pae (recovery
mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod part_msdos
	insmod ext2
	set root='(mduuid/a64afb126a34e01de368bf24bd0fce41,1)'
	search --no-floppy --fs-uuid --set=root
fe2d67a4-6b34-4abb-bf1d-9fcb39b65b30
	echo	'Loading Linux 3.2.0-2-686-pae ...'
	linux	/boot/vmlinuz-3.2.0-2-686-pae root=/dev/md127p1 ro single
echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-2-686-pae
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply
type the
# menu entries you want to add after this comment.  Be careful not to
change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
Personalities : [raid1] md1 : active raid1 sdc[0] sdd[1]
      488386496 blocks [2/2] [UU]
      md127 : active raid1 sda[0] sdb[1]
      488386496 blocks [2/2] [UU]
      unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN LVM

- -- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.42
ii  grub-common            1.99-17
ii  grub-pc-bin            1.99-17
ii  grub2-common           1.99-17
ii  ucf                    3.0025+nmu2

grub-pc recommends no packages.

grub-pc suggests no packages.

- -- debconf information:
  grub-pc/kopt_extracted: false
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub-pc/install_devices: /dev/sdc
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
* grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
  grub-pc/install_devices_failed: false
  grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet
  grub-pc/chainload_from_menu.lst: true
  grub-pc/mixed_legacy_and_grub2: true
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJPivSqAAoJENiwmJtstTzsIt0QALHrp7n8WFgdyPCtzR3VbqBH
lFHnFraKTQAP9ulVRU7kq7bUl9Ra+R66qeluauzDKHxu+eSAM/EKZ6FT8GCreZbK
bUaz+Gl//X73sBiqoUyTBMvhCmcr961++85blTsxHm+fKmRJm+bWDySJyKnhBpxY
15Vlt+zQz6FQYkyshWR95Poi9hZJBtjZwh7V6M9AOKnW5DWGVHT5fuRm9jJoC6Ns
USLesUMCYKzRM5yxTczKr0VskxmcQNy+hOF5YW8piVtX2qiO4J0Ck3lcEiJMZ882
HxZMa/G/Xuti2UvDa7igJleQcLodmC5kHwJ+EhKSnnK2QZ/US/EdOpJR0epDF9tH
iGjPQzH7gxrnCbh9A6F2JgF/v4ne4EDdxgFbgOzNzPpli++44rV5dNKCFTDpS96s
80s2hWTuFuYtihZWd7pO9fNpY+ZzsKTnaF8hHoyF60RO7RtLKUxH20RhlQWeCbfE
5MuBqEvT7RmXXKPiON6X5NHTWoUH+h1SMVjLU7EHsU5+r27tPi9V8xovlaYXFo1D
sByDMYkW4JBEJRwgNr5ql5pkNP6HWipzxXmlQjH7UwQ8ll66b8Ik3m16NxUYQOpa
aO1/4772d1zGbtVCBbjgrdn/UaZXYd7YcTA0W1v/CV6sv8gQzO0OfEoLEsJI+5eg
9pYVL+odWTIizMfzKbtU
=IVEB
-----END PGP SIGNATURE-----





More information about the Pkg-grub-devel mailing list