On Tue, May 26, 2020 at 07:33:07AM +0000, Mikolaj Kucharski wrote:
> >Synopsis:    panic: ieee80211_encrypt: key unset for sw crypto: 0
> >Category:    kernel
> >Environment:
>       System      : OpenBSD 6.7
>       Details     : OpenBSD 6.7-current (GENERIC.MP) #217: Sun May 24 
> 21:53:33 MDT 2020
>                        
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> 
> >Description:
>       APU-based access point paniced after new wireless client booted up and 
> started
> using wireless network for few minutes.
> 
> ddb{0}> show panic
> ieee80211_encrypt: key unset for sw crypto: 0
> 
> ddb{0}> trace
> db_enter() at db_enter+0x10
> panic(ffffffff81ca2fe1) at panic+0x128
> ieee80211_encrypt(ffff80000009b048,fffffd80cadc3000,ffff800000b981a0) at 
> ieee80211_encrypt+0x5f
> ar5008_tx(ffff80000009b000,fffffd80cadc3000,ffff800000b98000,0) at 
> ar5008_tx+0x172
> athn_start(ffff80000009b048) at athn_start+0x14c
> ar5008_intr(ffff80000009b000) at ar5008_intr+0x210
> intr_handler(ffff8000225b0350,ffff80000008c400) at intr_handler+0x6e
> Xintr_ioapic_level3_untramp() at Xintr_ioapic_level3_untramp+0x1a3
> acpicpu_idle() at acpicpu_idle+0x14d
> sched_idle(ffffffff81f20ff0) at sched_idle+0x225
> end trace frame: 0x0, count: -10

Were you running anything that would cause an 'ifconfig athn0 down/up' at
the time, such as /etc/netstart or something like that?

Could you enable 'ifconfig athn0 debug' and if the problem occurs again,
check which, if any, interface state changes were reported in dmesg around
the time the problem occurred?

Reply via email to