Panic] Alignment Fault in pf_state_insert on rpi 2 (ARM64)

Michał Purzyński <[email protected]> Mon, 12 Jan 2026 17:46:28 +0100
Newsgroups gmane.os.freebsd.devel.pf4freebsd,gmane.os.freebsd.devel.arm
Message-ID <CAJ6bFK32c3aNxPVwgbaDHp6ga362dbivwz5oD=ugcSUoLAucUQ@mail.gmail.com>
Hi everyone,

I am encountering a consistent kernel panic on boot with my Raspberry Pi 2
running FreeBSD 15 release.

The panic is an "Alignment Fault" that appears to trigger within
pf_state_insert during IPv6 output*.*

Fatal kernel mode data abort: 'Alignment Fault' on read
trapframe: 0xdb38b560
FSR=00000001, FAR=c4cec394, spsr=60000013
r0 =c4cec394, r1 =c09a48e4, r2 =00000001, r3 =00000000
r4 =00000000, r5 =dc6eccc0, r6 =c097293c, r7 =dc6f0f80
r8 =dc6f1000, r9 =dc6ecd80, r10=dc6f0f80, r11=db38b640
r12=dbd9d3f8, ssp=db38b5f0, slr=dbd3fb70, pc =dbd2e290

panic: Fatal abort
cpuid = 2
time = 1768162360
KDB: stack backtrace:
#0 0xc0385dd8 at kdb_backtrace+0x40
#1 0xc032e230 at vpanic+0x140
#2 0xc032e0f0 at vpanic+0
#3 0xc0684194 at abort_align+0
#4 0xc0684204 at abort_align+0x70
#5 0xc0683e8c at abort_handler+0x430
#6 0xc0662814 at exception_exit+0
#7 0xdbd2e290 at pf_state_insert+0xb90
#8 0xdbd3fb70 at $a+0x2c8
#9 0xdbd3d7b8 at $a+0x224
#10 0xdbd5a04c at $a+0x34
#11 0xc048b9b4 at pfil_mbuf_out+0x44
#12 0xc05182c4 at ip6_output+0x1184
#13 0xc05359a0 at udp6_send+0x85c
#14 0xc03e430c at sosend_dgram+0x4a8
#15 0xc03e535c at sousrsend+0x5c
#16 0xc03ef70c at kern_sendit+0x198
#17 0xc03efbd8 at sendit+0x330
Uptime: 38s

The panic happens +- every time I boot. I also tried unplugging for like 30
sec with the same effect. The installation was uneventful: I just flashed
the recent 15 release image, booted and restored my configuration files.
LMK what other info I could capture.

--

Michał Purzyński