On Sun, April 5, 2009 1:07 am, Gabriele Tozzi wrote: > Hello, > > I guess I've found a kernel bug: I get an oops when rebuilding a raid1 > array (/dev/md5) on an SMP system. The md5_resync process then hangs. Yes, it appears you have found a bug. Thanks for reporting it. It looks like an alloc_page failed in r1buf_pool_alloc and when trying to clean up we tried to free pages that had never been allocated. The code in raid1.c assumes that newly allocated 'bios' have their bvec initialised to NULLs, but that apparently changed recently with commit d3f761104b097738932afcc310fbbbbfb007ef92 I'll post a patch after the weekend. Thanks, NeilBrown -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html