Bug#764798: RE: Bug#764798: grub2: Grub rescue shell with RAID 6 mdadm over 8 disks

Patrick Häcker pat_h at web.de
Thu Nov 6 09:40:15 UTC 2014


On Thu, 23 Oct 2014 18:20:00 -0500 "Mike" <ctrlbrk at yahoo.com> wrote:
> Greetings, anything else needed from me?
> 
> Thanks.

This is complete guessing, but could the file, util/deviceiter.c, i.e. the 
iteration over devices, have something to do with it? In version 
grub2-2.02~beta2, there is this block beginning in line 713 (inside of an 
#ifdef __linux__):
>   /* ATARAID disks.  */
>   for (i = 0; i < 8; i++)
>     {
>       [...]
>     }

Interestingly, there is a similar block starting in line 645
>   /* IDE disks.  */
>   for (i = 0; i < 96; i++)
>     {
>       [...]
>     }
which might explain why this problem has not been detected/fixed beforehand. 
There weren't probably a lot of users with more than 96 IDE disks …

This can be completely wrong, but if you already have a test setup, you might 
get the package ("apt-get build-dep grub2; apt-get source grub2") change the 
value, rebuild the package ("fakeroot dpkg-buildpackage -b -uc -us" should 
work), install (dpkg -i ...) and test it.

Kind regards
Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20141106/27936482/attachment.sig>


More information about the Pkg-grub-devel mailing list