[Bug 219857] panic in scsi_cd code

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 11 15:37:21 UTC 2018


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

--- Comment #10 from Kenneth D. Merry <ken at FreeBSD.org> ---
Created attachment 195055
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195055&action=edit
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 there
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.

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


More information about the freebsd-scsi mailing list