https://bugzilla.kernel.org/show_bug.cgi?id=212337 --- Comment #20 from Luis Chamberlain (mcgrof@xxxxxxxxxx) --- I've narrowed down that using this patch: http://lkml.kernel.org/r/20210508230745.27923-1-dgilbert@xxxxxxxxxxxx helps on older kernels. In particular, at least with kernel v5.3 one can eventually run into a situation where the recnt can be see in /sys/module/scsi_debug/refcnt as 0 and yet rmmod can fail. This is not possible with linux-next. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.