# Captured serial-console output of the FIX-VALIDATION run of # ata_detach_race on channel 1 (guest running the PATCHED kernel, # DragonFly 6.5-DEVELOPMENT #1: Sun Sep 20 16:48:58 UTC 2026). # The ioctl-level serialization in fix.diff removes the racing # IOCATADETACH/ATTACH/REINIT entries, but the panic still occurs via # the asynchronous disk-core thread racing the newbus child teardown, # i.e. the same unserialized-teardown root cause has a second actor # (disk_msg_core) not covered by the ioctl lock. => fix is PARTIAL. login: panic: assertion "(sr->flags & SRF_PUTAWAY) == 0" failed in sysref_put at /usr/src/sys/sys/sysref2.h:85 cpuid = 2 Trace beginning at frame 0xfffff8008d1f4a60 destroy_only_dev() at destroy_only_dev+0xde 0xffffffff8062c42e destroy_only_dev() at destroy_only_dev+0xde 0xffffffff8062c42e disk_msg_core() at disk_msg_core+0x1ef 0xffffffff80693dff Debugger("panic") CPU2 stopping CPUs: 0x0000003b stopped Stopped at Debugger+0x7c: movb $0,0xbdaea9(%rip) db>