The problem was how I convert received page address to kernel address. I need to do it with kmap()
Now all works again
16.04.2019, 17:17, "Lev Olshvang" <levonshe@xxxxxxxxxx>:
Hello all,I need to remap 1 page from user space to kernel and I use get_user_pages_remote for this purposeret = get_user_pages_remote(tsk, tsk->mm, offset, 1,0,&pinned_page, NULL);Kernel is 4.9.88I compiled module for Arm Vertex board and run it under QEMU with no problemBut on Android 9 with this exactly kernel I got Oops:Unable to handle kernel paging request at virtual address fe002000pgd = d8c14000[fe002000] *pgd=00000000Internal error: Oops: 5 [#1] PREEMPT SMP ARMI checked config files and did not find any difference( almost except balloon ) in memory related configs.Does anybody have a clue what is a problem here?Regards,Lev
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies