[Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 9 18:02:33 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298

--- Comment #8 from Scott M. Ferris <smferris at gmail.com> ---
Latest patch doesn't work.  SCSI_STATUS_BUSY does RELSIM_RELEASE_AFTER_TIMEOUT
| RELSIM_RELEASE_AFTER_CMDCMPLT, and expects a single freeze to be undone by
either the timeout or a command completion, whichever happens first.
xpt_done_process() for a command completion needs to be able to stop the device
callout and xpt_release_device the refcount the callout had, or make the
callout do nothing.  I'll see if I can come up with a fix.

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


More information about the freebsd-scsi mailing list