Skip to contentSkip to conversation

kernel panic

DISCUSSION jinzhao at wingtech.com 2 participants 2 messages Oct 15, 2015 – Oct 16, 2015

lore
Share & tools
lore
#0 lore raw

Dear all:
I met a problem as below, what the function of walk_page_range??
Exception Class: Kernel (KE)
PC is at [<ffffffc00017fc90>] walk_page_range+0x3c/0x314

Current Executing Process:
[Binder_C, 3611][main, 354]

Backtrace: 
[<ffffffc0009f21dc>] __do_kernel_fault.part.5+0x70/0x84 
[<ffffffc0000942f4>] do_bad_area+0x90/0x94 
[<ffffffc000094340>] do_translation_fault+0x30/0x4c 
[<ffffffc0000813fc>] do_mem_abort+0x38/0x98 
[<ffffffc000083c58>] el1_da+0x1c/0x88 
[<ffffffc0001eb3e0>] show_smap+0x88/0x284 
[<ffffffc0001eb5e8>] show_pid_smap+0xc/0x18 
[<ffffffc0001aefb8>] seq_read+0x1a4/0x40c 
[<ffffffc00018e75c>] vfs_read+0x88/0x170 
[<ffffffc00018ebf0>] SyS_read+0x40/0x8c 
[<ffffffc000084308>] cpu_switch_to+0x48/0x4c 

[<ffffffffffffffff>] 0xffffffffffffffff

Thanks!

jinzhao at wingtech.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20151015/440e76ee/attachment.html

#1 lore raw
Quoted 20 lines · jinzhao at wingtech.com

Dear all:
I met a problem as below, what the function of walk_page_range??
Exception Class: Kernel (KE)
PC is at [<ffffffc00017fc90>] walk_page_range+0x3c/0x314

Current Executing Process:
[Binder_C, 3611][main, 354]

Backtrace:
[<ffffffc0009f21dc>] __do_kernel_fault.part.5+0x70/0x84
[<ffffffc0000942f4>] do_bad_area+0x90/0x94
[<ffffffc000094340>] do_translation_fault+0x30/0x4c
[<ffffffc0000813fc>] do_mem_abort+0x38/0x98
[<ffffffc000083c58>] el1_da+0x1c/0x88
[<ffffffc0001eb3e0>] show_smap+0x88/0x284
[<ffffffc0001eb5e8>] show_pid_smap+0xc/0x18
[<ffffffc0001aefb8>] seq_read+0x1a4/0x40c
[<ffffffc00018e75c>] vfs_read+0x88/0x170
[<ffffffc00018ebf0>] SyS_read+0x40/0x8c
[<ffffffc000084308>] cpu_switch_to+0x48/0x4c
Quoted 8 lines

[<ffffffffffffffff>] 0xffffffffffffffff

Thanks!
------------------------------
jinzhao at wingtech.cn

AFAIK, that's the function to get PTE of the related pages, then get the virtual address of them.

Maybe the caller hit invalid PTE ?

Signature · 10 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20151016/0ef8f374/attachment.html