Bug#611561: grub-pc: Superflous errors when md devices have spare drives.

Boyd Stephen Smith Jr. bss at IguanaSuicide.net
Sun Jan 30 17:42:45 UTC 2011


Package: grub-pc
Version: 1.98+20100804-14
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Various grub-pc scripts fill my screen up with errors like:
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (5 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (5 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (5 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (5 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (5 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (5 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (5 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (5 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (2 found).
error: superfluous RAID member (5 found).

However, they seem to complete their job, so I think this is just cosmetic.

I have 3 MD devices:
md0 -- RAID1: 2 devices + 1 spare
md1 -- RAID1: 2 devices + 1 spare
md2 -- RAID5: 5 devices + 1 spare

Assuming the errors are simply cosmetic, it would be nice if they were
squelched entirely.  If they aren't only cosmetic, the severity of the
bug should be upgraded.

- -- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/d8fdc5a3-6df6-4d8c-aa34-0bd226a3f49e / reiserfs rw,relatime,notail 0 0
/dev/mapper/monster-home /home reiserfs rw,relatime 0 0
/dev/mapper/monster-media /home/bss/media reiserfs rw,relatime 0 0
/dev/mapper/monster-opt /opt btrfs rw,nodev,relatime 0 0
/dev/mapper/monster-srv /srv btrfs rw,nosuid,nodev,relatime 0 0
/dev/mapper/monster-old.usr /usr reiserfs rw,relatime 0 0
/dev/mapper/monster-usr.local /usr/local btrfs rw,nodev,relatime 0 0
/dev/mapper/monster-var /var reiserfs rw,relatime 0 0
/dev/mapper/monster-var.cache /var/cache reiserfs rw,relatime 0 0
/dev/mapper/monster-var.tmp /var/tmp reiserfs rw,relatime 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/scsi-SSeagate_ST31500341AS
(hd1)	/dev/disk/by-id/scsi-SHitachi_HDS722020ALA330_JBT2YX
(hd2)	/dev/disk/by-id/ata-WDC_WD740GD-00FLC0_WD-WMAKE2032541
(hd3)	/dev/disk/by-id/ata-WDC_WD740GD-00FLC0_WD-WMAKE2036963
(hd4)	/dev/sdb
(hd5)	/dev/sdc
(hd6)	/dev/sdd
(hd7)	/dev/sde
*********************** 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 raid5rec
insmod mdraid
insmod lvm
insmod part_msdos
insmod reiserfs
set root='(monster-old.usr)'
search --no-floppy --fs-uuid --set bfe880f6-c48e-40c8-958b-ac0720ab4fee
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod raid
insmod mdraid
insmod part_msdos
insmod reiserfs
set root='(md0)'
search --no-floppy --fs-uuid --set d8fdc5a3-6df6-4d8c-aa34-0bd226a3f49e
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod raid
insmod raid5rec
insmod mdraid
insmod lvm
insmod part_msdos
insmod reiserfs
set root='(monster-old.usr)'
search --no-floppy --fs-uuid --set bfe880f6-c48e-40c8-958b-ac0720ab4fee
insmod png
if background_image /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 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid
	insmod part_msdos
	insmod reiserfs
	set root='(md0)'
	search --no-floppy --fs-uuid --set d8fdc5a3-6df6-4d8c-aa34-0bd226a3f49e
	echo	'Loading Linux 2.6.32-5-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=d8fdc5a3-6df6-4d8c-aa34-0bd226a3f49e ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod raid
	insmod mdraid
	insmod part_msdos
	insmod reiserfs
	set root='(md0)'
	search --no-floppy --fs-uuid --set d8fdc5a3-6df6-4d8c-aa34-0bd226a3f49e
	echo	'Loading Linux 2.6.32-5-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=d8fdc5a3-6df6-4d8c-aa34-0bd226a3f49e ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod raid
	insmod mdraid
	insmod part_msdos
	insmod reiserfs
	set root='(md0)'
	search --no-floppy --fs-uuid --set d8fdc5a3-6df6-4d8c-aa34-0bd226a3f49e
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod raid
	insmod mdraid
	insmod part_msdos
	insmod reiserfs
	set root='(md0)'
	search --no-floppy --fs-uuid --set d8fdc5a3-6df6-4d8c-aa34-0bd226a3f49e
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod raid
	insmod mdraid
	insmod part_msdos
	insmod reiserfs
	set root='(md0)'
	search --no-floppy --fs-uuid --set d8fdc5a3-6df6-4d8c-aa34-0bd226a3f49e
	multiboot	/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod raid
	insmod mdraid
	insmod part_msdos
	insmod reiserfs
	set root='(md0)'
	search --no-floppy --fs-uuid --set d8fdc5a3-6df6-4d8c-aa34-0bd226a3f49e
	multiboot	/boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### 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

- -- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (900, 'stable'), (700, 'testing'), (500, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
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.36           Debian configuration management sy
ii  grub-common             1.98+20100804-14 GRand Unified Bootloader, version 
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1      2:1.02.48-5      The Linux Kernel Device Mapper use
ii  ucf                     3.0025+nmu1      Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  6.0.5      common files for the Debian Deskto

- -- debconf information:
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub2/linux_cmdline:
  grub-pc/install_devices_empty: true
  grub-pc/install_devices_failed: false
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: true
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD740GD-00FLC0_WD-WMAKE2032541, /dev/disk/by-id/ata-WDC_WD740GD-00FLC0_WD-WMAKE2036963, /dev/disk/by-id/md-uuid-077c05cf:a4327216:e66ff801:2a27e10e
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
* grub-pc/install_devices_disks_changed: /dev/disk/by-id/ata-WDC_WD740GD-00FLC0_WD-WMAKE2032541, /dev/disk/by-id/ata-WDC_WD740GD-00FLC0_WD-WMAKE2036963, /dev/disk/by-id/md-uuid-077c05cf:a4327216:e66ff801:2a27e10e
* grub2/linux_cmdline_default: quiet
  grub-pc/mixed_legacy_and_grub2: true

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk1FoxAACgkQ55pqL7G1QFly0gCeJ/xr2+mGWuILrSjZ8rvrTrxs
+g8AnAyynUrudzJSwfg5T20v1OZZ2xch
=BB2n
-----END PGP SIGNATURE-----





More information about the Pkg-grub-devel mailing list