Re: BCM5301x SMP

Christoph Badura <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
On Thu, Jun 26, 2025 at 10:45:47AM +0900, Mori Hiroki wrote:
> BCM5301x SMP is work now.

Cool progress!

> But I have problem that is boot stop at init.
> [   3.4799782] root on sd0a dumps on sd0b
> [   3.5199804] kern.module.path=/stand/evbarm/10.1/modules
> [   3.5345361] WARNING: no TOD clock present
> [   3.5345361] WARNING: using filesystem time
> [   3.5429274] WARNING: CHECK AND RESET THE DATE!
> init: fatal sign

This is printed by https://nxr.netbsd.org/xref/src/sbin/init/init.c#486
Installed via this: https://nxr.netbsd.org/xref/src/sbin/init/init.c#305

Bummer you don't see the signal number.

I would set a breakpoint in DDB on `kpsignal2' or `sigpost' or add a printf
to those functions in sys/kern/kern_sig.c and print the signal number.

I would also check whether init(8) is running on the boot (primary) CPU or
on one of the others.  If it is not running on the boot CPU I would suspect
cache synchronization issues similar to what I ran into with
https://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/fdt/cpu_fdt.c.diff?r1=1.28;r2=1.29

--chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.