Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2004 17:22:43 GMT
From:      Federico Besnard <fico@del.ufrj.br>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/74453: Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) does not work
Message-ID:  <200411271722.iARHMhEJ076416@www.freebsd.org>
Resent-Message-ID: <200411271730.iARHUPb9018989@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411271722.iARHMhEJ076416>