Re: PPC: slab error in cache_free_debugcheck() from sd_revalidate_disk

From: Manfred Spraul
Date: Sat Oct 18 2003 - 14:44:39 EST


John wrote:

Hardware: PowerMac 8500 (see attached 'lspci' and 'dmesg' for details), ADB keyboard/mouse, USB mouse, Sony 100ES monitor
Software: Debian 'Testing' branch

Sorry, this may not be a very helpful bug report. Let me know what additional
information might be helpful and perhaps i can rig up a serial console for
this beast.


[snip]

Oct 14 15:47:34 penngrove kernel: cddeec88: redzone 1: 0x0, redzone 2: 0x170fc2a5.
O

That looks like a bug Ben reported some time ago: The dma controller trashes the whole cacheline when it transfers data from disk to memory.
I think the only solution is to disable redzoning for the kmalloc caches, or to use get_free_pages instead of kmalloc for the disk buffers,.

--
Manfred

-
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/