[Bug 249966] USB config SX lock

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Apr 2023 16:03:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249966

--- Comment #7 from Warner Losh <imp@FreeBSD.org> ---
(In reply to Hans Petter Selasky from comment #4)
> Looks like there are still issues with CAM refcounts.

Not as far as I know. I've not seen any ref count leaks in CAM in a long time
that weren't related to "stuttering" devices that came and went many times
quickly over the course of a few seconds. So this is 

Though sleeping in cam_free_sim() suggests that somebody hasn't kept proper
book somewhere...  Or that somehow we've missed a wakeup on the sim from
cam_sim_release...

If this is reproducible, I have some basic debugging tools that we can use with
kgdb to look at the state of CAM to see if this problem is caught by one of the
checks I have.

-- 
You are receiving this mail because:
You are the assignee for the bug.