here is a revised patch.
it takes care, that spare (index == 0x) or faulty (index == 0xfffe)
drives don't increment array->nr_devs. otherwise the function
grub_is_array_readable would return wrong results.
sorry, i didn't recognize that in my first attempt.
=== modified file 'grub-core/di
here is a revisted patch.
it takes care, that spare (index == 0x) or faulty (index == 0xfffe)
drives don't increment array->nr_devs. otherwise the function
grub_is_array_readable would return wrong results.
sorry, i didn't recognize that in my first attempt.
=== modified file 'grub-core/d
just a few additional remarks about this bug fix in my last post:
spare disks within a raid array don't show a useful 'index' number.
they may have values like 65535 in their index field.
whiteout this fix it's nearly impossible to install grub on any machine
with software raid and spare disks
grub2 upstream needs some fixes to accept spare disks in raid arrays.
the attached modifications in 'grub-core/drive/raid.c' stopped the
segmentation faults on my machine.
=== modified file 'grub-core/disk/raid.c'
--- grub-core/disk/raid.c 2010-09-13 21:59:22 +
+++ grub-core/disk/raid.c 2010-
4 matches
Mail list logo