panic: trap type 13, code=0, pc=ffffffff811f11dc Starting stack trace... panic(ffffffff82854005) at panic+0x16f sys/kern/subr_prf.c:229 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 254 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 234 End of stack trace. dump to dev 4,1 not possible panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 219 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 204 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 189 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 174 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 159 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 144 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 129 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 114 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 99 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 84 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 69 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 54 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 39 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 24 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6f sys/kern/kern_acct.c:359 vfs_shutdown(ffff80002a205210) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffff800029ceb730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 9 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:260 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:424 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x2e5 sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:538 sdstrategy(fffffd8069331e58) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800029ceb0f8) at spec_strategy+0x3c sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807efa55e8,fffffd8069331e58) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:634 bwrite(fffffd8069331e58) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 ffs_update(fffffd807e729770,1) at ffs_update+0x27f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd807e729770,0,0,ffffffffffffffff) at ffs_truncate+0x987 ufs_inactive(ffff800029ceb488) at ufs_inactive+0x16a sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80794ebc30,ffff80002a205210) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:495 vput(fffffd80794ebc30) at vput+0xaf sys/kern/vfs_subr.c:779 vn_close(fffffd80794ebc30,2,ffffffffffffffff,ffff80002a205210) at vn_close+0x81 sys/kern/vfs_vnops.c:294 end trace frame: 0xffff800029ceb5a0, count: 0 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 end trace frame: 0xffff800029ceaf50, count: 0 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231