> Date: Sun, 12 Jan 2025 16:18:34 +0100
> From: Jeremie Courreges-Anglas <[email protected]>
>
> Whenever I leave dpb run on this mac mini m2 pro, I get the following
> crash. Typed by hand, the machine is still in ddb(4) waiting for
> possibly useful commands.
>
> SError: 20bf445228 esr be000000 far 20bf445228
> l2c_err_sts 0x80
> l2c_err_adr 0x3030002a3e59480
> l2c_err_inf 0x100000002
I think that is the result of os some access to the SMC SRAM with the
wrong memory attributes. I thought I eliminated all of those already,
but I'll have another look.
No point in keeping this machine in DDB.
> panic: do_el0_error
> Stopped at panic+0x140: cmp w21, #0x0
> TID PID UID PRFLAGS PFLAGS CPU COMMAND
> 32448 95426 55 0x1000040 0 0 riscv64-unknown-elf-gcc
> *143274 3941 55 0x1000002 0 4 perl
> 452101 77879 55 0x1000002 0 9 c++
> 286721 39121 55 0x1000002 0 7 cc
> 457707 71634 55 0x1000002 0x40000000 1 rustc
> 477236 76220 55 0x1000002 0 8 c++
> 414461 56314 55 0x1000002 0 3 c++
> 503649 61351 55 0x3200002 0 6 python3.12
> 190805 3825 55 0x1000002 0x40000000 5 rustc
> 95219 4348 55 0x1000002 0x40000000 2 rustc
> db_enter() at panic+0x13c
> panic() at do_el0_error+0x18
> serror() at at handle_el0_error+0x70
> handle_el0_error() at 0x20bf445224
> end of kernel
> ...
> ddb{4}>
>
> --
> jca
>
>