axidma: loading out-of-tree module taints kernel. axidma: axidma_dma.c: axidma_dma_init: 706: DMA: Found 0 transmit channels and 0 receive channels. axidma: axidma_dma.c: axidma_dma_init: 708: VDMA: Found 1 transmit channels and 1 receive channels. Z-turn# ./vdma2 ./white.bmp ./test2.bmp AXI DMA File Transfer Info: Transmit Channel: 0 Receive Channel: 1 Input File Size: 2.64 Mb Output File Size: 2.64 Mb begin to axidma_oneway_transfer. into axidma_oneway_transfer. chUnable to handle kernel NULL pointer dereference at virtual address 00000010 annel id: 1 start iocl. pgd = ed818000 [00000010] *pgd=3d071831 Internal error: Oops - BUG: 17 [#1] PREEMPT SMP ARM Modules linked in: axidma(O) CPU: 1 PID: 719 Comm: vdma2 Tainted: G O 4.9.0-xilinx #2 Hardware name: Xilinx Zynq Platform task: ef3da400 task.stack: ef2ca000 PC is at axidma_start_transfer+0x2c/0x104 [axidma] LR is at axidma_start_transfer+0x28/0x104 [axidma] pc : [] lr : [] psr: 20000013 sp : ef2cbdb0 ip : ef2cbd58 fp : beecac2c r10: 00000000 r9 : ef2ca000 r8 : 00000002 r7 : ef2cbdf4 r6 : bf003434 r5 : bf003442 r4 : 00000000 r3 : bf003430 r2 : bf003434 r1 : ef2cbdf4 r0 : bf003434 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none Control: 18c5387d Table: 2d81804a DAC: 00000051 Process vdma2 (pid: 719, stack limit = 0xef2ca210) Stack: (0xef2cbdb0 to 0xef2cc000) bda0: 00000002 00000000 00000004 00000001 bdc0: c014c1d8 00000000 ef2cbebc ef2dc0c0 00000000 ef2cbebc ef2dc0c0 ef2cbe38 bde0: 00000001 bf00180c 002a3000 ef13d784 ef13d78c 00000001 ef2cbe38 00000001 be00: 00000002 00000000 00000000 ef2cbe0c ef2cbe0c 00000001 00000001 00000001 be20: 00000022 ef3da400 ee87c990 c014c1d8 00000004 00000001 00000002 00000000 be40: 002a3000 3e800000 beecac0c ef2dc0c0 00000051 80105704 00000005 bf000b00 be60: ef13d600 c0365df0 c0a5c354 c0366cd4 00000001 ef13d600 ed8cd300 c0354a24 be80: 00000002 ee80d1d0 ef13d78c 20000013 00000001 00000001 00000004 0000000c bea0: 0000000c c014c1d8 00000004 00000001 ef13d600 ed8cd300 ed8cd300 00000001 bec0: 00000001 b6819000 002a3000 ee952280 00000051 c0354654 00000000 ef2cbf88 bee0: ed8cd300 ef2d4300 beecac0c ee80d0f0 80105704 c01ded20 40049409 c01df680 bf00: ef2d4300 00000001 002a3000 00000003 00000000 ed8caa80 000002a3 c01ba754 bf20: 00000000 00000000 00000001 b6819000 00000000 00000000 ef2d4300 ed8cd300 bf40: 0000000c ed8cd308 00000002 ef385130 ef2ca000 00000000 beecac2c c01d0518 bf60: 00000000 00000000 0000000c ef2d4300 ef2d4300 beecac0c 80105704 00000005 bf80: ef2ca000 00000000 beecac2c c01df70c 000091e8 00000000 000000d8 00000036 bfa0: c0106f64 c0106da0 000091e8 00000000 00000005 80105704 beecac0c beecac0c bfc0: 000091e8 00000000 000000d8 00000036 b6ea5000 00000000 b6f03000 beecac2c bfe0: 00000000 beecabf8 b6ed1a20 b6e31c1c 60000010 00000005 00000000 00000000 [] (axidma_start_transfer [axidma]) from [] (axidma_read_transfer+0xf4/0x10c [axidma]) [] (axidma_read_transfer [axidma]) from [] (axidma_ioctl+0x544/0x9a0 [axidma]) [] (axidma_ioctl [axidma]) from [] (vfs_ioctl+0x18/0x34) [] (vfs_ioctl) from [] (do_vfs_ioctl+0x838/0x88c) [] (do_vfs_ioctl) from [] (SyS_ioctl+0x38/0x54) [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x3c) Code: e1a05000 e5970024 ebffff0a e1a06000 (e5940010) ---[ end trace 7643574c28b9b389 ]--- Segmentation fault