Skip to contentSkip to conversation

sbi_trap_error: hart4: trap handler failed (error -5)

DISCUSSION Andreas Schwab 2 participants 3 messages Feb 11, 2019 – Feb 12, 2019 RISC-V

lore
Share & tools
lore
#0 lore raw

I have been getting this error:

sbi_trap_error: hart4: trap handler failed (error -5)
sbi_trap_error: hart4: mcause=0xd mtval=0x155574e000
sbi_trap_error: hart4: mepc=0x80003dba mstatus=0x8000000a00027822
sbi_trap_error: hart4: ra=0x80001eaa sp=0x8000dd60
sbi_trap_error: hart4: gp=0x2aaaccdd18 tp=0x155573cb20
sbi_trap_error: hart4: s0=0x8000ddc0 s1=0x5e
sbi_trap_error: hart4: a0=0x20000 a1=0x8000ddf0
sbi_trap_error: hart4: a2=0x15555eee96 a3=0x8000000a00006022
sbi_trap_error: hart4: a4=0x8000dd6b a5=0x155574e001
sbi_trap_error: hart4: a6=0x0 a7=0x155574e001
sbi_trap_error: hart4: s2=0xee s3=0x3
sbi_trap_error: hart4: s4=0x96 s5=0x20
sbi_trap_error: hart4: s6=0x0 s7=0x15555eee96
sbi_trap_error: hart4: s8=0x74 s9=0x14774
sbi_trap_error: hart4: s10=0x58782b5b s11=0x34fe3e52
sbi_trap_error: hart4: t0=0x4 t1=0x155574dffd
sbi_trap_error: hart4: t2=0x55 t3=0x85a303
sbi_trap_error: hart4: t4=0x0 t5=0x0
sbi_trap_error: hart4: t6=0x15

What does that mean?

Andreas.

Signature · 8 lines
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#1 lore raw
Quoted 4 lines · Andreas Schwab

I have been getting this error:

sbi_trap_error: hart4: trap handler failed (error -5)
sbi_trap_error: hart4: mcause=0xd mtval=0x155574e000

Looks like you are getting a CAUSE_LOAD_PAGE_FAULT (0xd) on hart4.

Quoted 18 lines

sbi_trap_error: hart4: mepc=0x80003dba mstatus=0x8000000a00027822
sbi_trap_error: hart4: ra=0x80001eaa sp=0x8000dd60
sbi_trap_error: hart4: gp=0x2aaaccdd18 tp=0x155573cb20
sbi_trap_error: hart4: s0=0x8000ddc0 s1=0x5e
sbi_trap_error: hart4: a0=0x20000 a1=0x8000ddf0
sbi_trap_error: hart4: a2=0x15555eee96 a3=0x8000000a00006022
sbi_trap_error: hart4: a4=0x8000dd6b a5=0x155574e001
sbi_trap_error: hart4: a6=0x0 a7=0x155574e001
sbi_trap_error: hart4: s2=0xee s3=0x3
sbi_trap_error: hart4: s4=0x96 s5=0x20
sbi_trap_error: hart4: s6=0x0 s7=0x15555eee96
sbi_trap_error: hart4: s8=0x74 s9=0x14774
sbi_trap_error: hart4: s10=0x58782b5b s11=0x34fe3e52
sbi_trap_error: hart4: t0=0x4 t1=0x155574dffd
sbi_trap_error: hart4: t2=0x55 t3=0x85a303
sbi_trap_error: hart4: t4=0x0 t5=0x0
sbi_trap_error: hart4: t6=0x15

Quoted 2 lines

What does that mean?

It would help if you also give some more details about the platform and boot flow you are testing. Are you testing OpenSBI + U-Boot + Linux or OpenSBI + Linux (kernel image as a direct payload to OpenSBI).

Are you getting this error on QEMU or Unleashed ?

FYI: This is a OpenSBI specific issue. You can always create a github issue for a quick response.

Regards,
Atish

Quoted 2 lines

Andreas.

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#2 lore raw
Quoted 3 lines · Atish Patra

It would help if you also give some more details about the platform and boot flow you are testing. Are you testing OpenSBI + U-Boot + Linux or OpenSBI + Linux (kernel image as a direct payload to OpenSBI).

The latter.

Quoted 1 line

Are you getting this error on QEMU or Unleashed ?

On the unleashed.

Andreas.

Signature · 8 lines
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv