This should be fixed by mfii.c rev. 1.26. Please update it and retry.

On 2022/09/14 6:14, Edgar Fuß wrote:
> I get a panic on shutdown:
> 
> netbsd:sysmon_envsys_unregister+0x128:        cmpq    0(%rdx),%r12
> sysmon_envsys_unregister
> mfii_detach
> config_detach
> config_detach_all
> cpu_reboot
> kern_reboot
> sys_reboot
> syscall
> ds    4da0
> es    0
> fs    1
> gs    c632
> rdi   ffffffff818f0510        sme_global_mtx
> rsi   ffffffff
> rbp   ffff9008514e4da0
> rbx   ffff90003d04c000
> rdx   0
> rcx   ffffd9e26f07b700
> rax   0
> r8    0
> r9    0
> r10   0
> r11   0
> r12   ffffd9e26d5b1c40
> r13   ffffd9e26d7a5a00
> r14   1
> r15   ffffffff81802c60        mfii_ca
> rip   ffffffff80a8c41e        sysmon_envsys_unregister+0x128
> cs    8
> rflags        10246
> rsp   ffff9008514e4d90
> ss    10
> 
> This is -current from around yesterday.
> I guess the problem is related to
>       mfii0: autoconfiguration error: unable to register with sysmon (rv = 86)
>       mfii0: autoconfiguration error: unable to create sensors
> So probably someone is trying to un-resgister something not registered.

-- 
-----------------------------------------------
                SAITOH Masanobu (msai...@execsw.org
                                 msai...@netbsd.org)

Reply via email to