Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Dec 2004 23:50:10 +0100
From:      Federico Galvez-Durand Besnard <fico@del.ufrj.br>
To:        freebsd-usb@freebsd.org
Subject:   USB CDRW ScanLogic: Quirk does not work?
Message-ID:  <41B390A2.8000103@del.ufrj.br>

next in thread | raw e-mail | index | archive | help
Hello everyone, I have this 4 years old USB CDRW (Q-lity ECW-043) 
attached to a 4 years old Notebook (Toshiba 2805-302). I wonder whether 
someone here can give me advice about how to make it work (I guess I can 
try on my own with some hints). I have already tried different quirks on 
umass.c without success. Also, similar problems seem to be reported on 
NetBSD several years ago. There is a quirk in FreeBSD 5.3 umass.c; but 
it does not go well with this device.

Other possible solutions are:
a) Buy new hardware : it is under consideration;
b) Moving to Fedora Core 3. Well, I use BSD since NetBSD 0.8a... and 
Fedora will run much slower in this notebook;
c) Giving up on having stand alone CD backup... :(

Once attached, the device is not mounted:

# uname -a
FreeBSD a.org 5.3-STABLE FreeBSD 5.3-STABLE #14: Fri Dec  3 22:40:28 
GMT-1 2004     root@ME i386

# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000),rev 1.00
 port 1 powered
 port 2 addr 2: full speed, self powered, config 1, SL11R IDE 
Adapter(0x0002), ScanLogic(0x04ce), rev 2.61


short dmesg:

umass0: ScanLogic USBIDE ScanLogic USBIDE, rev 1.10/2.61, addr 2
umass0: 8070i (ATAPI) over Bulk-Only; quirks = 0x0400
umass0:1:0:-1: Attached to scbus1
umass0: Invalid CSW: tag 849 should be 1
umass0: Invalid CSW: tag 849 should be 2
umass0: Invalid CSW: tag 849 should be 3
umass0: Invalid CSW: tag 849 should be 4
umass0: Invalid CSW: tag 849 should be 5
umass0: Invalid CSW: tag 849 should be 6
(da0:umass-sim0:0:0:0): got CAM status 0x4
(da0:umass-sim0:0:0:0): fatal error, failed to attach to device
(da0:umass-sim0:0:0:0): lost device
umass0: Invalid CSW: tag 849 should be 7
umass0: Invalid CSW: tag 849 should be 8
umass0: Invalid CSW: tag 849 should be 9
umass0: Invalid CSW: tag 849 should be 10
umass0: Invalid CSW: tag 849 should be 11
(da0:umass-sim0:0:0:0): removing device entry
Opened disk da0 -> 5

Some extra info:

# camcontrol devlist
<  >                               at scbus0 target 0 lun 0 (pass0)

# camcontrol inquiry 0:0:0 -v
pass0: <  > Removable Direct Access SCSI-2 device
(pass0:umass-sim0:0:0:0): INQUIRY. CDB: 12 1 80 0 ff 0
(pass0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(pass0:umass-sim0:0:0:0): SCSI Status: Check Condition
(pass0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:24,0
(pass0:umass-sim0:0:0:0): Invalid field in CDB
pass0: 1.000MB/s transfers

I have a long dmesg here with debug ON:
http://www.del.ufrj.br/~fico/FreeBSD/debug/dmesg01

I have already wrongly posted to "bugs", sorry about that.
Thank you for any help.



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