kernel BUG at drivers/block/ll_rw_blk.c:277!

From: Russell King
Date: Sun May 16 2004 - 07:43:59 EST


BUG_ON(dma_addr < BLK_BOUNCE_ISA);

linux/include/linux/blkdev.h:#define BLK_BOUNCE_ISA (ISA_DMA_THRESHOLD)
linux/include/asm-arm/scatterlist.h:#define ISA_DMA_THRESHOLD (0xffffffff)

That's nice. Someone like to explain the reasoning here.

ISA_DMA_THRESHOLD is the maximum address which ISA can DMA to. On ARM,
we support ISA DMA controllers all of which can address 32-bit, so our
setting of ISA_DMA_THRESHOLD is correct.

However, it seems that the block layer thinks this has some other meaning
and has hijacked it.

Consequently, block is rather dead on ARM at the moment. Someone mind
explaining WTF this has happened?

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/