Results 1 to 1 of 1
Thread: dma_map_single panics the kernel
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2006
dma_map_single panics the kernel
I have written a driver for a high speed PCI data acquisition board that supports 64 bit DMA. This module has been tested on Red Hat FC4 and works well as long as the RAM installed on the system is 4 GB or less. When more than 4 GB RAM is installed the call to dma_map_single(..) panics the kernel with the message:
kernel panic - not syncing: PCI-DMA: memory would be corrupted
The buffer passed to dma_map_single(..) is allocated using __get_free_pages and is 512KB in length (that is the size of the DMA that the hardware does).
Is there any solution to this problem?
thanks in advance for any help