# Pastebin AaAaux97 Lyude: I hit mmap error [ 3371.714975] WARNING: CPU: 6 PID: 30432 at /home/narmstrong/projects/amlogic/drm/panfrost/mali_kbase/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase _mem_linux.c:1845 kbase_mmap+0x344/0x7d0 [mali_kbase] [ 3371.714985] Modules linked in: mali_kbase(O) [ 3371.714999] CPU: 6 PID: 30432 Comm: kmscube Tainted: G O 4.20.0-rc4-next-20181129-00009-g56f53bbc6de3 #1554 [ 3371.715001] Hardware name: NEXBOX A1 (DT) [ 3371.715007] pstate: 40000005 (nZcv daif -PAN -UAO) [ 3371.715053] pc : kbase_mmap+0x344/0x7d0 [mali_kbase] [ 3371.715097] lr : kbase_mmap+0x33c/0x7d0 [mali_kbase] [ 3371.715100] sp : ffff000011613bf0 [ 3371.715102] x29: ffff000011613bf0 x28: ffff80005ff14c80 [ 3371.715108] x27: 0000000000000000 x26: 0000000000000000 [ 3371.715113] x25: 00000001effff000 x24: ffff80005ff14b80 [ 3371.715118] x23: ffff800057b55c10 x22: ffff00001164d000 [ 3371.715123] x21: 0000000000000100 x20: 0000000000010000 [ 3371.715128] x19: ffff800053bfe540 x18: 0000000000000000 [ 3371.715133] x17: 0000000000000000 x16: 0000000000000000 [ 3371.715137] x15: ffff800067c26900 x14: ffff7e00009cb1c0 [ 3371.715142] x13: 00000000000000c0 x12: 000000000000008e [ 3371.715147] x11: 0000000000000000 x10: ffff8000659e3be8 [ 3371.715152] x9 : 0000000000000000 x8 : ffff80005ff14d00 [ 3371.715157] x7 : ffff7e00009cabc0 x6 : 00000001effff000 [ 3371.715162] x5 : 0000000000000000 x4 : 0000000000000001 [ 3371.715166] x3 : 0000000000000000 x2 : ba5289862f9d1c00 [ 3371.715171] x1 : 0000000000000000 x0 : 0000000000000100 [ 3371.715176] Call trace: [ 3371.715222] kbase_mmap+0x344/0x7d0 [mali_kbase] [ 3371.715233] mmap_region+0x414/0x648 [ 3371.715237] do_mmap+0x34c/0x4e0 [ 3371.715245] vm_mmap_pgoff+0xe4/0x110 [ 3371.715249] ksys_mmap_pgoff+0xa8/0x240 [ 3371.715258] __arm64_sys_mmap+0x28/0x38 [ 3371.715266] el0_svc_common+0x60/0xe8 [ 3371.715271] el0_svc_handler+0x24/0x80 [ 3371.715275] el0_svc+0x8/0xc [ 3371.715279] ---[ end trace 9b1233e7b009f25e ]--- [ 3371.715293] mali mali.0: mmap failed 256 [ 3371.897962] mali mali.0: !(tmp->flags & KBASE_REG_FREE): tmp->start_pfn=0x1effff tmp->flags=0x606e tmp->nr_pages=0x10000 gpu_pfn=0x1effff nr_pages=0x10000 [ 3371.897974] mali mali.0: /home/narmstrong/projects/amlogic/drm/panfrost/mali_kbase/driver/product/kernel/drivers/gpu/arm/midgard/mali_kbase_mem_linux.c:1996