Your message dated Fri, 03 Apr 2009 19:47:05 +0000
with message-id <[email protected]>
and subject line Bug#514338: fixed in grub2 1.96+20090402-1
has caused the Debian Bug report #514338,
regarding grub-common: grub-probe fails on RAID with "error: array->nr_devs >
array->total_devs (2)?!?"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
514338: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514338
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grub-common
Version: 1.96+20080724-12
Severity: important
On two of my systems with software raid install-grub fails with an error
message:
r...@samsi-server:~# /usr/sbin/grub-install --recheck --no-floppy /dev/sda
error: array->nr_devs > array->total_devs (2)?!?
error: array->nr_devs > array->total_devs (2)?!?
error: array->nr_devs > array->total_devs (2)?!?
error: array->nr_devs > array->total_devs (2)?!?
error: array->nr_devs > array->total_devs (2)?!?
Searching for GRUB installation directory ... found: /boot/grub
error: array->nr_devs > array->total_devs (2)?!?
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
r...@samsi-server:~#
Exactly the same happens when I use sdb or md0 instead of sda. Running
grub-install through bash -x reveals that grub-probe is the problem:
++ grub-probe --device-map=/boot/grub/device.map -t drive -d /dev/sda
error: array->nr_devs > array->total_devs (2)?!?
[...]
+++ grub-probe --device-map=/boot/grub/device.map -t device /
error: array->nr_devs > array->total_devs (2)?!?
[...]
+++ grub-probe --device-map=/boot/grub/device.map -t device /boot/
error: array->nr_devs > array->total_devs (2)?!?
[...]
++ grub-probe --device-map=/boot/grub/device.map -t drive -d /dev/sda1
error: array->nr_devs > array->total_devs (2)?!?
[...]
+++ grub-probe --device-map=/boot/grub/device.map -t device /boot/grub/
error: array->nr_devs > array->total_devs (2)?!?
[...]
++ grub-probe -t fs /boot/grub
error: array->nr_devs > array->total_devs (2)?!?
System 1 is configured with root on /dev/md0 (and /boot on /):
Personalities : [raid1]
md1 : active raid1 sdc2[2](S) sda2[0] sdb2[1]
966992448 blocks [2/2] [UU]
md0 : active raid1 sdc1[2](S) sda1[0] sdb1[1]
9767424 blocks [2/2] [UU]
r...@samsi-server:~# fdisk -l /dev/sda
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e2ef1
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ fd Linux raid autodetect
/dev/sda2 1217 121601 966992512+ fd Linux raid autodetect
r...@samsi-server:~# fdisk -l /dev/sdb
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000ead2c
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1216 9767488+ fd Linux raid autodetect
/dev/sdb2 1217 121601 966992512+ fd Linux raid autodetect
System 2 is configured with root on /dev/md0 (and /boot on /):
md1 : active raid1 sdd2[2](S) sdc2[3](S) sdb2[1] sda2[0]
987904 blocks [2/2] [UU]
md2 : active raid5 sdd3[3](S) sdc3[2] sdb3[1] sda3[0]
1443616768 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
md0 : active raid1 sdd1[2](S) sdc1[3](S) sdb1[1] sda1[0]
9775424 blocks [2/2] [UU]
All four disks partitioned the same way:
r...@sleipner:~# fdisk -l /dev/sda
Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1217 9775521 fd Linux raid autodetect
/dev/sda2 1218 1340 987997+ fd Linux raid autodetect
/dev/sda3 1341 91201 721808482+ fd Linux raid autodetect
On system 2 the etch version of grub (0.97-27etch1) is able to boot the system.
On system 1, however, neither etch grub, lenny grub or lenny grub-pc will
install without the error message. If I install grub 0.97-51 (experimental) and
grub-common (1.96+20081201-1) grub installs without error message.
I have not tried rebooting system 2 with the grub installations that gives
error messages as the system is located abroad (4 hours total travel time by
plane). System 1 is just 10km away but unreachable for the next week and I have
only tried the etch grub.
I have tried to remove the spares on both md0 and md1 on system 1; nothing
changes. I have also tried changing partition types on sdc to 83 instead of fd;
still no change.
I am at a loss. I cannot figure out what is the problem, nor how to fix it. To
me it seems like a bug in grub-probe from grub2. I will gladly give any
information that might help.
Regards
/Rasmus Bøg Hansen
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to da_DK.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub-common depends on:
ii base-files 5 Debian base system miscellaneous f
ii libc6 2.7-18 GNU C Library: Shared libraries
grub-common recommends no packages.
Versions of packages grub-common suggests:
pn multiboot-doc <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: grub2
Source-Version: 1.96+20090402-1
We believe that the bug you reported is fixed in the latest version of
grub2, which is due to be installed in the Debian FTP archive:
grub-common_1.96+20090402-1_powerpc.deb
to pool/main/g/grub2/grub-common_1.96+20090402-1_powerpc.deb
grub-ieee1275_1.96+20090402-1_powerpc.deb
to pool/main/g/grub2/grub-ieee1275_1.96+20090402-1_powerpc.deb
grub2_1.96+20090402-1.diff.gz
to pool/main/g/grub2/grub2_1.96+20090402-1.diff.gz
grub2_1.96+20090402-1.dsc
to pool/main/g/grub2/grub2_1.96+20090402-1.dsc
grub2_1.96+20090402-1_powerpc.deb
to pool/main/g/grub2/grub2_1.96+20090402-1_powerpc.deb
grub2_1.96+20090402.orig.tar.gz
to pool/main/g/grub2/grub2_1.96+20090402.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jordi Mallach <[email protected]> (supplier of updated grub2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 03 Apr 2009 20:58:37 +0200
Source: grub2
Binary: grub2 grub-linuxbios grub-common grub-pc grub-rescue-pc grub-coreboot
grub-efi grub-ieee1275
Architecture: source powerpc
Version: 1.96+20090402-1
Distribution: experimental
Urgency: low
Maintainer: Jordi Mallach <[email protected]>
Changed-By: Jordi Mallach <[email protected]>
Description:
grub-common - GRand Unified Bootloader, version 2 (common files)
grub-coreboot - GRand Unified Bootloader, version 2 (Coreboot version)
grub-efi - GRand Unified Bootloader, version 2 (EFI version)
grub-ieee1275 - GRand Unified Bootloader, version 2 (Open Firmware version)
grub-linuxbios - GRand Unified Bootloader, version 2 (dummy package)
grub-pc - GRand Unified Bootloader, version 2 (PC/BIOS version)
grub-rescue-pc - GRUB bootable rescue images, version 2 (PC/BIOS version)
grub2 - GRand Unified Bootloader, version 2 (dummy package)
Closes: 514338 516458 521897
Changes:
grub2 (1.96+20090402-1) experimental; urgency=low
.
* New SVN snapshot.
- Fix regression in disk/raid.c. (Closes: #521897, #514338)
- Fix handling of filename string lengths in HFS.
(Really closes: #516458).
* Add myself to Uploaders.
* Add patch 08_powerpc-ieee1275_build_fix.patch to fix powerpc-ieee1275
builds which were lacking header files for kernel_elf_HEADERS. Thanks
Vladimir Serbinenko.
Checksums-Sha1:
8853880aaaf68c493000930d123917945d3d61f2 1887 grub2_1.96+20090402-1.dsc
dd95cf1e137561ee3194424f24aea3e5aeff60d7 1069621
grub2_1.96+20090402.orig.tar.gz
ca7fa1e27c02897896fdbe853af252331e07ae03 49308 grub2_1.96+20090402-1.diff.gz
76b11559d54d9c445fb275cb53a428b33ced3444 150022
grub2_1.96+20090402-1_powerpc.deb
e1c64732431199ba36734d5bbf49cc6fd997f560 1152290
grub-common_1.96+20090402-1_powerpc.deb
70347e152c3766845855c109dae633568183254b 344894
grub-ieee1275_1.96+20090402-1_powerpc.deb
Checksums-Sha256:
35c3df547db625098414e210889ef5a12c6e9006600d3bde338a3fd591fb90b9 1887
grub2_1.96+20090402-1.dsc
b9b4385a8e0c1dedb1247612d500ba90ef04a61852984665cdea700ffd696aa5 1069621
grub2_1.96+20090402.orig.tar.gz
be33294bff8e6288a49a966b1ee7a76e4235a74d5aaaa1a5f64f4ec87c4c7d7a 49308
grub2_1.96+20090402-1.diff.gz
3bbc8d067819431aac1697dcf96e95d7046d9ce830a48d05004f2756b924afa8 150022
grub2_1.96+20090402-1_powerpc.deb
180b4d498d2c422c34bc29310c7735ccd2d030d2de6860d3f6d4b751764c7f6e 1152290
grub-common_1.96+20090402-1_powerpc.deb
39edaf26b01af83837848018aff4c8f9b7bd535d50e994202c6559d35b126a0f 344894
grub-ieee1275_1.96+20090402-1_powerpc.deb
Files:
0b25bbcbfdf0b3b623d2371079b7b0d9 1887 admin extra grub2_1.96+20090402-1.dsc
c4e32c0fc57b9d2c3b684ebc361d81f1 1069621 admin extra
grub2_1.96+20090402.orig.tar.gz
4c3b2c006c544fbb4e2769ac9534e344 49308 admin extra
grub2_1.96+20090402-1.diff.gz
5f2dadcf14f0fe79219ae7a9b1d8cadf 150022 admin extra
grub2_1.96+20090402-1_powerpc.deb
17f3713f269c6bc08ffe8d5faec82338 1152290 admin extra
grub-common_1.96+20090402-1_powerpc.deb
2c669b8ce131ba0d237d304ef84d42b2 344894 admin extra
grub-ieee1275_1.96+20090402-1_powerpc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknWZJoACgkQJYSUupF6Il4L+wCdEOsbHVd0OssbSSPSQKVxN4jT
nFQAoJ1RLKKaO4cmi1hVNs3JTLGFp8zs
=EBOD
-----END PGP SIGNATURE-----
--- End Message ---