https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521
--- Comment #152 from Jesper Schmitz Mouridsen <j...@freebsd.org> --- (In reply to hlh from comment #151) lock order reversal: (Giant after non-sleepable) 1st 0xfffff80004e0fc00 rtsx0 (rtsx) @ rtsx.c:513 2nd 0xffffffff81802500 Giant (Giant) @ /usr/src/sys/kern/kern_synch.c:228 stack backtrace: #0 0xffffffff80c2acc1 at witness_debugger+0x71 #1 0xffffffff80b9c844 at __mtx_lock_flags+0x94 #2 0xffffffff80bca5c6 at _sleep+0x366 #3 0xffffffff8071c341 at mmcsd_detach+0xe1 #4 0xffffffff80bf63ee at device_detach+0x18e #5 0xffffffff80bf60c5 at device_delete_child+0x15 #6 0xffffffff8071a0c7 at mmc_delete_cards+0x97 #7 0xffffffff80712e43 at mmc_detach+0x23 #8 0xffffffff80bf63ee at device_detach+0x18e #9 0xffffffff80bf60c5 at device_delete_child+0x15 #10 0xffffffff82322b0f at rtsx_card_task+0x1bf #11 0xffffffff80c1d5fa at taskqueue_run_locked+0xaa #12 0xffffffff80c1d50d at taskqueue_run+0x4d #13 0xffffffff80b7f379 at ithread_loop+0x279 #14 0xffffffff80b7bec0 at fork_exit+0x80 #15 0xffffffff81031aae at fork_trampoline+0xe uma_zalloc_debug: zone "256" with the following non-sleepable locks held: exclusive sleep mutex rtsx0 (rtsx) r = 0 (0xfffff80004e0fc00) locked @ rtsx.c:513 unlocking before delete_device_child as you noted fixes it -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"