How to test for memory corruption ?
jd1008 at gmail.com
Mon Jun 22 17:51:53 UTC 2015
On 06/22/2015 02:10 AM, Daniel Peyrolon wrote:
> I have absolutely no idea, but maybe you can use DTrace for this?
> You could also print the location for each memory write.
> El sáb., 20 de junio de 2015 9:20, Pratik Singhal <ps06756 at gmail.com>
>> Hello, I have written code for adding support for DMA transfers for
>> Allwinner A10 SoC (Cubieboard 1) in MMC driver/
>> I have tried transferring files to/from mmc card and verified that files
>> are copied fine.
>> Although, many times the kernel panics suddenly, after I transfer files.
>> This does not happen If I use PIO to transfer data (PIO's code is tested
>> and already committed to ~HEAD). Panics don't occur in the statements
>> written for DMA transfer.
>> I am suspecting that the problem is that the DMA transfer apart from
>> writing where it is required, is overwriting other parts of the memory
>> Is there any way, I can verify that this is/this is not the case ?
>> Thank you,
>> Pratik Singhal
It would be helpful to the devs if you post a link to the source code
of your dma support code and all the mods you made in support thereof.
More information about the freebsd-questions