Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2018 15:37:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        scsi@FreeBSD.org
Subject:   [Bug 219857] panic in scsi_cd code
Message-ID:  <bug-219857-5313-e5xKEJaA5a@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219857-5313@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219857-5313@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=3D219857

--- Comment #10 from Kenneth D. Merry <ken@FreeBSD.org> ---
Created attachment 195055
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195055&action=
=3Dedit
Proposed patch to make the media check async

Here is a proposed patch against FreeBSD/head as of revision 335477 on June
21st, 2018.

This makes the media check process asynchronous, so we no longer block in
cdstrategy() to check for media.

This still needs some additional testing in various situations.  I think th=
ere
may still be one panic (GEOM assertion I believe) I saw with an audio CD in=
 a
drive, and I have not tested this with a SCSI CD/DVD drive.

I have only tested so far with a SATA drive running ATAPI.

In any case, give this a try and let me know if it improves things for you.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219857-5313-e5xKEJaA5a>