panic: alignment fault

Dennis Clarke <[email protected]> Wed, 25 Mar 2026 18:21:37 -0400
Newsgroups gmane.os.netbsd.ports.sparc
Organization GENUNIX
Message-ID <[email protected]>
On my SPARCStation 20 I was surprised today to see very bad things :



deimos# [5.1822708] trap type 0x7: pc=0xf02557d0 npc=0xf02557a4 
psr=0x1e0000c5<S,PS>
[ 9756.2632194] panic: alignment fault
[ 9756.3027946] cpu1: Begin traceback...
[ 9756.3527956] 0x0(0xf0403078, 0xfb68fb80, 0xf04cff00, 0x104, 
0xf04d0000, 0xf04cf000) at ne
tbsd:panic+0x20
[ 9756.4722608] panic(0xf0403078, 0xf03fda90, 0xf02557d0, 0xf02557a4, 
0xfb68fb98, 0xf04c3400
) at netbsd:trap+0x278
[ 9756.5923910] trap(0x1c, 0x1e0000c5, 0xf02557d0, 0xfb68fcb0, 0x0, 
0x70b7af) at netbsd:memfault_sun4m+0x2cc
[ 9756.7132327] memfault_sun4m(0xf12afec0, 0xededa000, 0xfb68fdb8, 
0xf2058240, 0x6, 0x0) at netbsd:uvm_fault_internal+0x100
[ 9756.8523140] uvm_fault_internal(0xf12afec0, 0xededa000, 0x4, 0x0, 
0xf04c9790, 0xf0682000) at netbsd:mem_access_fault4m+0x2f0
[ 9756.9830385] mem_access_fault4m(0x1, 0x346, 0xededa430, 0xfb68ffb0, 
0xf1fb9840, 0xf205824
0) at netbsd:memfault_sun4m+0xec
[ 9757.1226278] cpu1: End traceback...
[ 9757.1632536] Frame pointer is at 0xfb68f938
[ 9757.1632536] Call traceback:
[ 9757.1632536]   pc = 0xf002e818  args = (0xf04d009c, 0x0, 0x0, 
0xfb68f9a7, 0xf04aa800, 0xf
0002000) fp = 0xfb68f9a8
[ 9757.1632536]   pc = 0xf0299ef8  args = (0x104, 0x0, 0xf2058240, 0x0, 
0x1e4000e1, 0xf04cb000) fp = 0xfb68fa10
[ 9757.1632536]   pc = 0xf02d17ac  args = (0x104, 0x0, 0x0, 0xf0002000, 
0xf0414458, 0x0) fp = 0xfb68fa70
[ 9757.1632536]   pc = 0xf02d1860  args = (0xf0403078, 0xfb68fb80, 
0xf04cff00, 0x104, 0xf04d0000, 0xf04cf000) fp = 0xfb68fad0
[ 9757.1632536]   pc = 0xf003e3b4  args = (0xf0403078, 0xf03fda90, 
0xf02557d0, 0xf02557a4, 0
xfb68fb98, 0xf04c3400) fp = 0xfb68fb38
[ 9757.1632536]   pc = 0xf0008708  args = (0x1c, 0x1e0000c5, 0xf02557d0, 
0xfb68fcb0, 0x0, 0x70b7af) fp = 0xfb68fc50
[ 9757.1632536]   pc = 0xf0250c1c  args = (0xf12afec0, 0xededa000, 
0xfb68fdb8, 0xf2058240, 0x6, 0x0) fp = 0xfb68fd00
[ 9757.1632536]   pc = 0xf003f2c8  args = (0xf12afec0, 0xededa000, 0x4, 
0x0, 0xf04c9790, 0xf0682000) fp = 0xfb68fe68
[ 9757.1632536]   pc = 0xf0008528  args = (0x1, 0x346, 0xededa430, 
0xfb68ffb0, 0xf1fb9840, 0xf2058240) fp = 0xfb68ff50
[ 9757.1632536]   pc = 0xeded1350  args = (0xb53, 0xedec8400, 
0xefffbd64, 0x1, 0x0, 0x0) fp = 0xefffbd00
[ 9757.1632536] rebooting

�esetting ...
Available Memory 0x20000000
Allocating SRMMU Context Table
Context Table allocated, Available Memory 0x1fffc000
Setting SRMMU Context Register
Context Table allocated, Available Memory 0x1fffc000
Setting SRMMU Context Table Pointer Register
RAMsize allocated, Available Memory 0x1ffec000
Allocating SRMMU Level 1 Table
Level 1 Table allocated, Available Memory 0x1ffebc00
Mapping RAM @ 0xffef0000
RAM mapped, Available Memory 0x1ffeba00
Mapping ROM @ 0xffd00000
ROM mapped, Available Memory 0x1ffeb800
Mapping ROM @ 0x00000000
ROM mapped, Available Memory 0x1ffeb000
ttya initialized
Cpu #0 Ross,RT626
Cpu #1 Nothing there
Cpu #2 Ross,RT626
Cpu #3 Nothing there
Probing Memory Bank #0 64 Megabytes of DRAM
Probing Memory Bank #1 64 Megabytes of DRAM
Probing Memory Bank #2 64 Megabytes of DRAM
Probing Memory Bank #3 64 Megabytes of DRAM
Probing Memory Bank #4 64 Megabytes of DRAM
Probing Memory Bank #5 64 Megabytes of DRAM
Probing Memory Bank #6 64 Megabytes of DRAM
Probing Memory Bank #7 64 Megabytes of DRAM
Probing /iommu@f,e0000000/sbus@f,e0001000 at f,0  espdma esp sd st ledma 
le SUNW,bpp
Probing /iommu@f,e0000000/sbus@f,e0001000 at e,0  SUNW,DBRIe
Probing /iommu@f,e0000000/sbus@f,e0001000 at 0,0  qec qe qe qe qe
Probing /iommu@f,e0000000/sbus@f,e0001000 at 1,0  SUNW,hme
Probing /iommu@f,e0000000/sbus@f,e0001000 at 2,0  Nothing there
Probing /iommu@f,e0000000/sbus@f,e0001000 at 3,0  qec be
SPARCstation 20 MP (2 X RT626), No Keyboard
ROM Rev. 2.25, 512 MB memory installed, Serial #57005.
Ethernet address 8:0:20:0:de:ad, Host ID: 7200dead.



Rebooting with command:
Boot device: none  File and args:
Type  help  for more information
<#0> ok

I was running a compile of the libGMP code when this happened.

Any thoughts ?


-- 
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken