From owner-freebsd-bugs Mon Apr 12 14:42:28 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C3EF515605 for ; Mon, 12 Apr 1999 14:42:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id OAA90404; Mon, 12 Apr 1999 14:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 7406215542 for ; Mon, 12 Apr 1999 14:38:25 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: (from uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id XAA29289 for FreeBSD-gnats-submit@freebsd.org; Mon, 12 Apr 1999 23:22:58 +0200 (MET DST) Received: (from wilko@localhost) by yedi.iaf.nl (8.8.8/8.6.12) id XAA03559; Mon, 12 Apr 1999 23:28:40 +0200 (CEST) Message-Id: <199904122128.XAA03559@yedi.iaf.nl> Date: Mon, 12 Apr 1999 23:28:40 +0200 (CEST) From: wilko@freebsd.org Reply-To: wilko@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/11100: Pioneer SCSI CD changer not detected by scsi_cd.c probe Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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