Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 2015 18:02:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-scsi@FreeBSD.org
Subject:   [Bug 204298] xpt_release_device() panic: mutex CAM queue lock not owned
Message-ID:  <bug-204298-5312-JIxLNFwQvs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204298-5312@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204298-5312@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204298

--- Comment #8 from Scott M. Ferris <smferris@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204298-5312-JIxLNFwQvs>