Re: NetBSD on Sun T5220

Palle Lyckegaard <[email protected]> Tue, 30 Sep 2025 17:44:45 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Tue, 30 Sep 2025, Sad Clouds wrote:

>
> However /bin/sh seems very unstable and keeps crashing:
>
> # /etc/rc.d/motd XXX
> [ 605.1768095] pid 359 (sh), uid 0: exited on signal 11 (core dumped)
> [1]   Segmentation fault (core dumped) /etc/rc.d/motd status
>
> It should have printed usage:
>
> /etc/rc.d/motd: unknown directive 'XXX'.
> Usage: /etc/rc.d/motd [fast|force|one](start stop restart rcvar)
>
> GDB is also crashing the entire system:
>
> # gdb /bin/sh ./sh.core
> gdb: warning: Couldn't determine a path for the index cache directory.
> GNU gdb (GDB) 16.3
> ...
> Reading symbols from /bin/sh...
> (No debugging symbols found in /bin/sh)
> [ 2033.3467176] trap type 0x34: cpu 0, pc=1009804 npc=1009808 pstate=0x110014<MM_TSO,PEF,PRIV>
> [ 2033.3467176] kernel trap 34: mem address not aligned
>
> ERROR: Last Trap: Watchdog Reset
>


This looks similar to the register corruption issue I am trying to track 
down: https://mail-index.netbsd.org/port-sparc64/2025/09/30/msg003334.html