Date: Mon, 12 Apr 1999 23:28:40 +0200 (CEST) From: wilko@freebsd.org To: FreeBSD-gnats-submit@freebsd.org Subject: kern/11100: Pioneer SCSI CD changer not detected by scsi_cd.c probe Message-ID: <199904122128.XAA03559@yedi.iaf.nl>
index | next in thread | raw e-mail
>Number: 11100
>Category: kern
>Synopsis: Pioneer SCSI CD changer not detected by scsi_cd.c probe
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 12 14:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Wilko Bulte
>Release: 4.0-current
>Organization:
private FreeBSD site - Arnhem - The Netherlands
>Environment:
4.0-current / Pioneer DRM604X SCSI cdchanger w/ firmware
rev 2401
>Description:
Certain Pioneer SCSI cd changers do not return the standard ASC
codes during device probe. This makes the probe drop the device,
making it unusable under FreeBSD.
>How-To-Repeat:
You just need the right Pioneer f/w & device. No further
special environment is needed.
>Fix:
Apply the following patch to /sys/cam/scsi/scsi_cd.c
*** scsi_cd.c Mon Apr 12 22:36:04 1999
--- scsi_cd.c.orig Mon Apr 12 22:35:00 1999
***************
*** 1747,1757 ****
* not reportable), so we accept any "not
* ready" type errors as well. If the error
* is anything else, though, we shouldn't
! * attach. Pioneer drives can also return
0xb0
*/
if ((have_sense)
! && ((asc == 0x3a) || (asc == 0x04) ||
! (asc == 0xb0))
&& (error_code == SSD_CURRENT_ERROR))
snprintf(announce_buf,
sizeof(announce_buf),
--- 1747,1756 ----
* not reportable), so we accept any "not
* ready" type errors as well. If the error
* is anything else, though, we shouldn't
! * attach.
*/
if ((have_sense)
! && ((asc == 0x3a) || (asc == 0x04))
&& (error_code == SSD_CURRENT_ERROR))
snprintf(announce_buf,
sizeof(announce_buf),
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904122128.XAA03559>
