Solved:: Help:get_user_pages_remote - succeed on QEMU, Oops on Android 9 board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
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 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
 
 
 
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux