From owner-freebsd-bugs@FreeBSD.ORG Sat Nov 27 17:30:25 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D4D816A4CF for ; Sat, 27 Nov 2004 17:30:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40ACA43D68 for ; Sat, 27 Nov 2004 17:30:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iARHUPxf018995 for ; Sat, 27 Nov 2004 17:30:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iARHUPb9018989; Sat, 27 Nov 2004 17:30:25 GMT (envelope-from gnats) Resent-Date: Sat, 27 Nov 2004 17:30:25 GMT Resent-Message-Id: <200411271730.iARHUPb9018989@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Federico Besnard Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C36916A4CE for ; Sat, 27 Nov 2004 17:22:44 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BDAD43D1F for ; Sat, 27 Nov 2004 17:22:44 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iARHMh3h076417 for ; Sat, 27 Nov 2004 17:22:43 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id iARHMhEJ076416; Sat, 27 Nov 2004 17:22:43 GMT (envelope-from nobody) Message-Id: <200411271722.iARHMhEJ076416@www.freebsd.org> Date: Sat, 27 Nov 2004 17:22:43 GMT From: Federico Besnard To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/74453: Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) does not work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2004 17:30:25 -0000 >Number: 74453 >Category: kern >Synopsis: Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) does not work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 27 17:30:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Federico Besnard >Release: 5.3 Stable >Organization: DEL/UFRJ >Environment: % uname -a FreeBSD [...] 5.3-STABLE FreeBSD 5.3-STABLE #6: Sat Nov 27 16:20:31 GMT-1 2004 [...] i386 >Description: This problem seems to be solved before (kern/60389). There is a quirk there for SL11R, already implemented in umass.c. It just does not work on this device. pluging the USB CD-RW gives this messages: Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 1 Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 2 Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 3 Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 4 Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 5 Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 6 Nov 26 22:21:29 camelot kernel: (da0:umass-sim0:0:0:0): got CAM status 0x4 Nov 26 22:21:29 camelot kernel: (da0:umass-sim0:0:0:0): fatal error, failed to attach to device Nov 26 22:21:29 camelot kernel: (da0:umass-sim0:0:0:0): lost device Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 7 Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 8 Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 9 Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 10 Nov 26 22:21:29 camelot kernel: umass0: Invalid CSW: tag 849 should be 11 Nov 26 22:21:29 camelot kernel: (da0:umass-sim0:0:0:0): removing device entry Nov 26 22:21:29 camelot kernel: Opened disk da0 -> 5 I UNSUCCESFULY tried to hack /usr/src/sys/cam/scsi/scsi_da.c adding (just to see whether it goes... this is NOT a patch): { /* * Q-lity CD-RW ECW-043, Quanta Storage INC. * Chipset ScanLogic SL11R */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "*" , "*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE|DA_Q_NO_PREVENT }, may be another quirk is neede in umass.c. I can work on it with some clues... unfortunatelly scanlogic removed from their website technical info for this chipset. Thanks >How-To-Repeat: you need a Q-Lity ECW-043 CD-RW USB (Quanta Storage INC.) or maybe other device using ScanLogic SL11R chipset >Fix: >Release-Note: >Audit-Trail: >Unformatted: