Re: floating point exception in disk/raid.c:206

2008-09-06 Thread Felix Zielcke
Commited. Am Donnerstag, den 04.09.2008, 21:22 +0200 schrieb Felix Zielcke: > Am Donnerstag, den 04.09.2008, 11:29 +0200 schrieb Felix Zielcke: > > > The easiest fix would be probable to just set chunk_size to for example > > 64. > > Attached patch does it, but maybe you have a better/other idea?

Re: floating point exception in disk/raid.c:206

2008-09-04 Thread Felix Zielcke
Am Donnerstag, den 04.09.2008, 11:29 +0200 schrieb Felix Zielcke: > The easiest fix would be probable to just set chunk_size to for example > 64. > Attached patch does it, but maybe you have a better/other idea? Thanks to Bean on IRC. I think this is now the right place to do it, at end of insert

floating point exception in disk/raid.c:206

2008-09-04 Thread Felix Zielcke
static grub_err_t grub_raid_read (grub_disk_t disk, grub_disk_addr_t sector, grub_size_t size, char *buf) case 0: case 1: case 10: { read_sector = grub_divmod64 (sector, array->chunk_size, &b); Bean, this is a bit wrong because array->chunk_size is 0 in