Re: [TTM] general protection fault in ttm_tt_swapout, to_virtual looks screwed up

2010-01-10 Thread Maarten Maathuis
On Sun, Jan 10, 2010 at 8:10 PM, Thomas Hellstrom wrote: > I've seen something similar with openchrome, > but I think I traced that down to the DMA engines causing memory corruption. Corruption outside the memory it was supposed to affect? Shouldn't that lead to massive problems? Also, i don't th

Re: [TTM] general protection fault in ttm_tt_swapout, to_virtual looks screwed up

2010-01-10 Thread Thomas Hellstrom
I've seen something similar with openchrome, but I think I traced that down to the DMA engines causing memory corruption. Note that IIRC kmap_atomic may return page_address(page) for a lowmem page. Any idea what may cause kmap_atomic to behave in this way? /Thomas Maarten Maathuis wrote: > I've

[TTM] general protection fault in ttm_tt_swapout, to_virtual looks screwed up

2010-01-09 Thread Maarten Maathuis
I've been noticing for a while that i've been getting general protection faults in ttm_to_swapout, this time i was printk'ing the virtual addresses. In case it's not obvious, the result of kmap_atomic() is wrong. This is nouveau/linux-2.6 which is somewhere after 2.6.32. I was wondering if anyone