Port-sparc64 archive

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

Re: Tracing NetBSD sun4v issues



On Fri, 16 Oct 2026, Sad Clouds wrote:

Let's enable trap debug, see src/sys/arch/sparc64/sparc64/trap.c

# sysctl -w hw.cnmagic=12345
# 12345
db{0}> write/l trapdebug 0x8b

I wasn't aware of cnmagic(9) - thanks for enlightening me :-)

And it looks like the faulting virtual address could be wrong. It would
appear the upper bits have been set to zero causing it to be
0xffffc011. As far as I know sparc64 stack addresses start at the upper
end of the memory e.g. 0xffffffffffffc011.

Any ideas?


Interresting - no ideas so far but will look at the code with this observation in mind.



Home | Main Index | Thread Index | Old Index