Re: [BUG] raw over raid5: BUG at drivers/block/ll_rw_blk.c:1967

From: David Mansfield (lkml@dm.cobite.com)
Date: Mon Oct 14 2002 - 17:18:55 EST


On Mon, 14 Oct 2002, Andrew Morton wrote:

> David Mansfield wrote:
> > ------------[ cut here ]------------
> > kernel BUG at drivers/block/ll_rw_blk.c:1967!
>
> I don't think you told us the kernel version?
>
> There have been recent fixes wrt sizing of the BIOs which the
> direct-io layer sends down. So please make sure that you're
> testing Linus's current -bk, or 2.5.42 plus
>

I've tried to test 2.5.42-mm2 but it doesn't compile. There were (I
assume 'sard') changes made to remove the DK_MAX_MAJOR etc. but there is
to patch to drivers/md/md.c so it fails to compile:

# find -name \*.c | xargs grep DK_MAX_MAJOR
./drivers/md/md.c:static unsigned int sync_io[DK_MAX_MAJOR][DK_MAX_DISK];
./drivers/md/md.c: if ((index >= DK_MAX_DISK) || (major >=
DK_MAX_MAJOR))
./drivers/md/md.c: if ((idx >= DK_MAX_DISK) || (major >=
DK_MAX_MAJOR))

David

-- 
/==============================\
| David Mansfield              |
| david@cobite.com             |
\==============================/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:52 EST