LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Linux kernel 3.4.4 and 3.4.7 panic (https://www.linuxquestions.org/questions/linux-kernel-70/linux-kernel-3-4-4-and-3-4-7-panic-4175420971/)

kam_driver 08-08-2012 04:42 AM

Linux kernel 3.4.4 and 3.4.7 panic
 
Hi All,

I've character driver for PCIe based DMA and it is working fine till kernel version number 3.3.7 on fedora 16.

But when I updated my kernel to 3.4.4, I am getting oops message while doing memory mapping for DMA. Oops messages are coming at function dma_map_single. The message which I am getting is:

Kernel BUG at lib/iommu-helper.c:13
Invalid Opcode and then Stack Dump.....

Same thing happening on kernel 3.4.7.

Any help will be highly appreciated.

Thanks in advance.

Mara 08-10-2012 02:49 PM

This is caused by:
Code:

BUG_ON(!is_power_of_2(boundary_size));
Is the area size you're allocating a power of two?


All times are GMT -5. The time now is 08:08 PM.