Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on Sun T5220



On Tue, 30 Sep 2025 17:44:45 +0000 (UTC)
Palle Lyckegaard <palle%freeshell.org@localhost> wrote:

> 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
> 

Hi, I'll see if I can help out with debugging these issues. Does this
usually manifest itself as alignment errors?

I tried booting into single user mode, but init kept dying due
to /bin/sh crashing with alignment errors. After trial and error, I
realised if I copy /bin/sh from older NetBSD-9.4 system, the crash did
not occurs and init started correctly.

At this stage I'm not sure if this was the register corruption and
older /bin/sh just happened to avoid it by executing slightly different
code paths, or if there are some real alignment issues with /bin/sh in
-current.

Next step would be to try the same -current snapshot on sun4u system
and see if alignment issues show up there.

Thanks.


Home | Main Index | Thread Index | Old Index