Unable to handle kernel NULL pointer dereference at virtual address 00000000 pgd = a8aa0000 [00000000] *pgd=a809c835, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#1] PREEMPT SMP ARM Modules linked in: CPU: 1 PID: 3178 Comm: bash Not tainted 4.9.133-at16 #2 Hardware name: Freescale i.MX7 Dual (Device Tree) task: a9ad85c0 task.stack: a8a70000 PC is at page_address+0x4/0xec LR is at imx_dma_tx+0x150/0x2f8 pc : [<801edfd0>] lr : [<804d45bc>] psr: 200b0193 sp : a8a71d10 ip : 00000000 fp : a8882548 r10: a88b021c r9 : 81511024 r8 : a826ba10 r7 : 00000001 r6 : a8882548 r5 : 00000001 r4 : a8882410 r3 : 81511024 r2 : ab659000 r1 : 00000024 r0 : 00000000 Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none Control: 10c53c7d Table: a8aa006a DAC: 00000051 Process bash (pid: 3178, stack limit = 0xa8a70218) Stack: (0xa8a71d10 to 0xa8a72000) 1d00: a8882410 00000001 a8882548 00000001 1d20: a826ba10 81511024 a88b021c 804d45bc a8212d98 a00b0093 a8882410 a8882670 1d40: a8882410 200b0193 0000074d ab62c50c ab62c500 00000000 804d4764 804d47e8 1d60: ab62c4c0 a8882670 3e5c2005 0000074d ab62c50c 80189840 0b8fd0fe 00000007 1d80: 3e5c2005 0000074d 815a41e7 80fb25e8 00000000 ab62c4c0 00000003 7fffffff 1da0: ffffffff ab62c578 ab62c4d4 ab62c558 ab62c538 80189a9c ab62c578 00000000 1dc0: 00000000 80198d3c 3e5c2005 0000074d 3e5c2005 0000074d ab62c4c0 a8007100 1de0: 815050cc 00000011 a8034c00 00000001 a8a71e68 a8008000 a92949c0 8085cf8c 1e00: a8007100 8017b864 814cecdc 00000000 00000011 00000000 00000001 80176ce0 1e20: 814cecdc 801771f4 81528000 815050cc c080200c a8a71e68 c0802000 c0803000 1e40: 00000007 801014e4 804b5948 600b0013 ffffffff a8a71e9c 00000007 a8a70000 1e60: 00000007 8010be4c 00000007 00000000 00000000 a8ff4000 a9182c00 00000000 1e80: 00000007 012cba0f 00000007 a8a70000 00000007 a92949c0 00000100 a8a71eb8 1ea0: 804b9e0c 804b5948 600b0013 ffffffff 00000051 7f000000 a8ff4000 a92949c0 1ec0: 804b9bb4 a85e6640 00000001 a92949c0 804b5820 012cba08 a8a71f80 00000000 1ee0: 00000007 00000000 00000000 80218180 0000080f 80114d8c 012cba08 a8a71fb0 1f00: 00000000 00000000 00000000 80101300 a9ad85c0 a8a70000 000de020 80bae928 1f20: a8ac1500 0000000a a8a58b40 00000001 00000001 80236184 0000000a a92949c0 1f40: 00000007 012cba08 a8a71f80 00000000 00000007 80218f80 0000000a 80236488 1f60: a8a58b40 a92949c0 a92949c0 00000000 00000000 012cba08 00000007 80219d0c 1f80: 00000000 00000000 00000000 00000007 012cba08 76ee1d60 00000004 80107884 1fa0: a8a70000 801076c0 00000007 012cba08 00000001 012cba08 00000007 00000000 1fc0: 00000007 012cba08 76ee1d60 00000004 012cba08 00000007 00000000 00000000 1fe0: 00000000 7ef4ae8c 76e441bb 76e80cf6 000b0030 00000001 00000000 00000000 [<801edfd0>] (page_address) from [<804d45bc>] (imx_dma_tx+0x150/0x2f8) [<804d45bc>] (imx_dma_tx) from [<804d47e8>] (imx_rs485_before_send+0x84/0xfc) [<804d47e8>] (imx_rs485_before_send) from [<80189840>] (__hrtimer_run_queues+0x118/0x1ac) [<80189840>] (__hrtimer_run_queues) from [<80189a9c>] (hrtimer_interrupt+0xa8/0x1fc) [<80189a9c>] (hrtimer_interrupt) from [<8085cf8c>] (arch_timer_handler_phys+0x28/0x30) [<8085cf8c>] (arch_timer_handler_phys) from [<8017b864>] (handle_percpu_devid_irq+0x8c/0x144) [<8017b864>] (handle_percpu_devid_irq) from [<80176ce0>] (generic_handle_irq+0x24/0x34) [<80176ce0>] (generic_handle_irq) from [<801771f4>] (__handle_domain_irq+0x7c/0xec) [<801771f4>] (__handle_domain_irq) from [<801014e4>] (gic_handle_irq+0x48/0x8c) [<801014e4>] (gic_handle_irq) from [<8010be4c>] (__irq_svc+0x6c/0xa8) Exception stack(0xa8a71e68 to 0xa8a71eb0) 1e60: 00000007 00000000 00000000 a8ff4000 a9182c00 00000000 1e80: 00000007 012cba0f 00000007 a8a70000 00000007 a92949c0 00000100 a8a71eb8 1ea0: 804b9e0c 804b5948 600b0013 ffffffff [<8010be4c>] (__irq_svc) from [<804b5948>] (tty_write+0x128/0x2d4) [<804b5948>] (tty_write) from [<80218180>] (__vfs_write+0x1c/0x114) [<80218180>] (__vfs_write) from [<80218f80>] (vfs_write+0xa4/0x168) [<80218f80>] (vfs_write) from [<80219d0c>] (SyS_write+0x3c/0x90) [<80219d0c>] (SyS_write) from [<801076c0>] (ret_fast_syscall+0x0/0x48) Code: e060062c e0203091 e12fff1e e92d47f0 (e5903000) ---[ end trace eb41f3122353022f ]--- Kernel panic - not syncing: Fatal exception in interrupt SMP: failed to stop secondary CPUs ---[ end Kernel panic - not syncing: Fatal exception in interrupt