Skip to contentSkip to conversation

PPC: slab error in cache_free_debugcheck() from sd_revalidate_disk

DISCUSSION Manfred Spraul 2 participants 2 messages Oct 18, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · John

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]

Quoted 3 lines
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

#1 lore raw
Quoted 5 lines

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,.

Looks like it indeed. I will probably send a patch to use get_free_page() instead one of these days (after I've moved)

Ben.