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" <levon...@yandex.com>:
Hello all,
 
I need to remap 1 page from user space to kernel and I use get_user_pages_remote for this purpose
 
ret = get_user_pages_remote(tsk, tsk->mm, offset, 1,
                                    0,
                                    &pinned_page, NULL);
 
Kernel is 4.9.88
I compiled module for Arm Vertex board  and run it under  QEMU  with no problem
But on Android 9  with this exactly kernel I got Oops:
Unable to handle kernel paging request at virtual address fe002000
pgd = d8c14000
[fe002000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
 
I 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
 
 
 
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to