Created
May 20, 2023 22:38
-
-
Save pdp7/0524892ea319775ea70e43a54cc842a9 to your computer and use it in GitHub Desktop.
linux-riscv reference: boot failure for commit 3335068f8721 with oops decoded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 11.223362] Oops - store (or AMO) access fault [#1] | |
[ 11.228323] Modules linked in: | |
[ 11.231399] CPU: 0 PID: 1 Comm: systemd Not tainted 6.3.0-rc1-all-builtin-00003-g3335068f8721-dirty #161 | |
[ 11.240890] epc : __memset (/eng/dfustini/gitlab/linux/arch/riscv/lib/memset.S:67) | |
[ 11.244501] ra : kernel_init_pages (/eng/dfustini/gitlab/linux/mm/page_alloc.c:1392) | |
[ 11.248877] epc : ffffffff81122d6c ra : ffffffff80218504 sp : ffffaf8002e47500 | |
[ 11.256103] gp : ffffffff82695010 tp : ffffaf8002e2ec00 t0 : ffffaf8000000000 | |
[ 11.263328] t1 : 0000000000000080 t2 : 0000000000000001 s0 : ffffaf8002e47550 | |
[ 11.270555] s1 : ffff8d8200000040 a0 : ffffaf8000000000 a1 : 0000000000000000 | |
[ 11.277779] a2 : 0000000000001000 a3 : ffffaf8000001000 a4 : 0000000000000000 | |
[ 11.285003] a5 : 0000020000000000 a6 : 0000000000000981 a7 : 0000000000000000 | |
[ 11.292229] s2 : 0000000000000000 s3 : ffffaf0000000000 s4 : ffbfaf8000000000 | |
[ 11.299454] s5 : ffffffff82694861 s6 : ffffaf7000000000 s7 : ffff8f8000000000 | |
[ 11.306678] s8 : ffff8d8200000040 s9 : ffffaf8002e47720 s10: ffffaf807e62d800 | |
[ 11.313902] s11: ffff8d8200000000 t3 : 0000000000000000 t4 : 0000000000000000 | |
[ 11.321126] t5 : 0000000000000000 t6 : 0000000000000000 | |
[ 11.326441] status: 0000000200000120 badaddr: ffffaf8000000000 cause: 0000000000000007 | |
[ 11.334366] __memset (/eng/dfustini/gitlab/linux/arch/riscv/lib/memset.S:67) | |
[ 11.339256] get_page_from_freelist (/eng/dfustini/gitlab/linux/mm/page_alloc.c:2540 /eng/dfustini/gitlab/linux/mm/page_alloc.c:2552 /eng/dfustini/gitlab/linux/mm/page_alloc.c:4325) | |
[ 11.345621] __alloc_pages (/eng/dfustini/gitlab/linux/mm/page_alloc.c:5592) | |
[ 11.351028] alloc_pages (/eng/dfustini/gitlab/linux/mm/mempolicy.c:2288) | |
[ 11.356264] folio_alloc (/eng/dfustini/gitlab/linux/mm/mempolicy.c:2293) | |
[ 11.361408] filemap_alloc_folio (/eng/dfustini/gitlab/linux/mm/filemap.c:976) | |
[ 11.367427] page_cache_ra_unbounded (/eng/dfustini/gitlab/linux/mm/readahead.c:248) | |
[ 11.373705] page_cache_ra_order (/eng/dfustini/gitlab/linux/mm/readahead.c:561) | |
[ 11.379717] filemap_fault (/eng/dfustini/gitlab/linux/mm/filemap.c:3281) | |
[ 11.385212] __do_fault (/eng/dfustini/gitlab/linux/mm/memory.c:4163) | |
[ 11.390273] __handle_mm_fault (/eng/dfustini/gitlab/linux/mm/memory.c:4493 /eng/dfustini/gitlab/linux/mm/memory.c:4621 /eng/dfustini/gitlab/linux/mm/memory.c:4909 /eng/dfustini/gitlab/linux/mm/memory.c:5051) | |
[ 11.396200] handle_mm_fault (/eng/dfustini/gitlab/linux/mm/memory.c:5197) | |
[ 11.401865] do_page_fault (/eng/dfustini/gitlab/linux/./include/linux/sched/signal.h:433 /eng/dfustini/gitlab/linux/arch/riscv/mm/fault.c:329) | |
[ 11.407362] ret_from_exception (/eng/dfustini/gitlab/linux/arch/riscv/kernel/entry.S:252) | |
[ 11.413033] strncpy_from_user (/eng/dfustini/gitlab/linux/lib/strncpy_from_user.c:41 /eng/dfustini/gitlab/linux/lib/strncpy_from_user.c:139) | |
[ 11.418792] getname_flags.part.0 (/eng/dfustini/gitlab/linux/fs/namei.c:151) | |
[ 11.424815] getname_flags (/eng/dfustini/gitlab/linux/fs/namei.c:206) | |
[ 11.430134] user_path_at_empty (/eng/dfustini/gitlab/linux/fs/namei.c:2876) | |
[ 11.435890] do_faccessat (/eng/dfustini/gitlab/linux/fs/open.c:484) | |
[ 11.441211] sys_faccessat (/eng/dfustini/gitlab/linux/fs/open.c:529) | |
[ 11.446529] ret_from_syscall (/eng/dfustini/gitlab/linux/arch/riscv/kernel/entry.S:235) | |
[ 11.451943] Code: 1007 82b3 40e2 0797 0000 8793 00e7 8305 97ba 8782 (b023) 00b2 | |
All code | |
======== | |
0:* 07 (bad) <-- trapping instruction | |
1: 10 b3 82 e2 40 97 adc %dh,-0x68bf1d7e(%rbx) | |
7: 07 (bad) | |
8: 00 00 add %al,(%rax) | |
a: 93 xchg %eax,%ebx | |
b: 87 e7 xchg %esp,%edi | |
d: 00 05 83 ba 97 82 add %al,-0x7d68457d(%rip) # 0xffffffff8297ba96 | |
13: 87 23 xchg %esp,(%rbx) | |
15: b0 b2 mov $0xb2,%al | |
... | |
Code starting with the faulting instruction | |
=========================================== | |
0: 23 .byte 0x23 | |
1: b0 b2 mov $0xb2,%al | |
... | |
[ 11.459491] ---[ end trace 0000000000000000 ]--- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment