Re: Kernel crash before login prompt

From: <andrew_at_fubar.geek.nz>
Date: Thu, 29 Jun 2023 15:18:40 UTC
On 2023-06-29 16:03, Sha Faisal wrote:
> Hello Andrew,
> 
> The addr2line for the address points to,
> 
> [sfaisal@svl-bsdx-02 /b/sfaisal/stable_main/src]$ addr2line -e
> ../obj/arm64/juniper/kernels/JNPR-ARM64-WIT/kernel/kernel.full -f
> 0xffff0000002244dc
> 
> sched_add
> 
> /b/sfaisal/stable_main/src/sys/kern/sched_ule.c:1309
> 
> Sched_setcpu is the exact function which calls
> TDQ_LOCK(__mtx_lock_spin_flags) , and sched_setcpu is an inline called
> from sched_add()

What cpu is being passed in to sched_setcpu?

Andrew