Subject: port-i386/12106: USB Archos CDRW not working
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ksulliva@psc.edu>
List: netbsd-bugs
Date: 02/01/2001 16:17:24
>Number:         12106
>Category:       port-i386
>Synopsis:       USB Archos CDRW not working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 01 16:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Sullivan
>Release:        NetBSD 1.5
>Organization:
Pittsburgh Supercomputing Center
>Environment:
System: NetBSD balrog.wv.cc.cmu.edu 1.5 NetBSD 1.5 (BALROG) #2: Wed Jan 31 22:51:39 EST 2001 ksulliva@balrog.wv.cc.cmu.edu:/home/ksulliva/kern/BALROG i386

>Description:

I have an Archos MiniCDRW with a USB connector.  NetBSD finds the
drive with the umass driver, but gives errors when I try to mount
anything.  Following are the messages from the mount:

umass0 at uhub0 port 1 configuration 1 interface 0
umass0: In-System Design USB Storage Adapter, rev 1.10/1.00, addr 2
umass0: using SCSI over BBB-P
umass0: Get Max Lun
umass0: Max Lun 0
scsibus0 at umass0: 2 targets, 1 luns per target
scsibus0: waiting 2 seconds for devices to settle...
umass0: umass_scsi_cmd:  1:0 xs=0xc08b9000 cmd=0x12 (quirks=0x1000, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=6 datalen=74
umass0: umass_bbb_transfer cmd=0x12
umass0: CBW 42: cmd = 6b (0x120000004a00), data = 74 bytes, dir = in
umass0: start xfer buffer=0xc08afe5c buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc07dd700, NORMAL_COMPLETION
umass0: start xfer buffer=0xce22d000 buflen=74 flags=0x5 timeout=10403
umass0: Handling BBB state 2 (BBB Data), xfer=0xc0886a00, NORMAL_COMPLETION
umass0: 0x 0580002133000000415243484f532020 buffer=0xcdf094a8, buflen=74
umass0: 0x 4d696e69434452572058533434323420
umass0: 0x 41312e39303030303030303030303030 ...
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc0886200, STALLED
umass0: Failed to read CSW, STALLED, retrying
umass0: Clear endpoint 0x82 stall
umass0: Handling BBB state 5 (BBB CSW bulk-in clear stall), xfer=0xc0886800, NORMAL_COMPLETION
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 6 (BBB CSW, 2nd attempt), xfer=0xc0886c00, NORMAL_COMPLETION
umass0: CSW 42: sig = 0x53425355 (valid), tag = 42, res = 18, status = 0x00 (good)
umass_scsipi_cb: xs=0xc08b9000 residue=18 status=0
umass_scsipi_cb: return xs->error=0, xs->xs_status=0x1 xs->resid=18
cd0 at scsibus0 target 1 lun 0: <ARCHOS, MiniCDRW XS4424, A1.9> SCSI0 5/cdrom removable
umass0: Attach finished
umass0: umass_scsi_cmd:  1:0 xs=0xc08b9000 cmd=0x1b (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass0: umass_bbb_transfer cmd=0x1b
umass0: CBW 43: cmd = 6b (0x1b0000000100), data = 0 bytes, dir = out
umass0: start xfer buffer=0xc08afe5c buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc07dd700, NORMAL_COMPLETION
umass0: no data phase
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc0886200, NORMAL_COMPLETION
umass0: CSW 43: sig = 0x53425355 (valid), tag = 43, res = 0, status = 0x01 (failed)
umass0: Command Failed, res = 0
umass_scsipi_cb: xs=0xc08b9000 residue=0 status=2
umass0: umass_bbb_transfer cmd=0x03
umass0: CBW 44: cmd = 6b (0x030000002000), data = 32 bytes, dir = in
umass0: start xfer buffer=0xc08afe5c buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc07dd700, NORMAL_COMPLETION
umass0: start xfer buffer=0xce22d000 buflen=32 flags=0x5 timeout=10403
umass0: Handling BBB state 2 (BBB Data), xfer=0xc0886a00, NORMAL_COMPLETION
umass0: 0x 700006aaaaaaaa130000000029000000 buffer=0xc08b905c, buflen=32
umass0: 0x 00000800000000000000000000000000
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc0886200, STALLED
umass0: Failed to read CSW, STALLED, retrying
umass0: Clear endpoint 0x82 stall
umass0: Handling BBB state 5 (BBB CSW bulk-in clear stall), xfer=0xc0886800, NORMAL_COMPLETION
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 6 (BBB CSW, 2nd attempt), xfer=0xc0886c00, NORMAL_COMPLETION
umass0: CSW 44: sig = 0x53425355 (valid), tag = 44, res = 4, status = 0x00 (good)
umass_scsipi_sense_cb: xs=0xc08b9000 residue=4 status=0
umass_scsipi_sense_cb: return xs->error=2, xs->xs_status=0x1 xs->resid=0
umass0: umass_scsi_cmd:  1:0 xs=0xc08b9000 cmd=0x1b (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass0: umass_bbb_transfer cmd=0x1b
umass0: CBW 45: cmd = 6b (0x1b0000000100), data = 0 bytes, dir = out
umass0: start xfer buffer=0xc08afe5c buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc07dd700, NORMAL_COMPLETION
umass0: no data phase
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc0886200, NORMAL_COMPLETION
umass0: CSW 45: sig = 0x53425355 (valid), tag = 45, res = 0, status = 0x00 (good)
umass_scsipi_cb: xs=0xc08b9000 residue=0 status=0
umass_scsipi_cb: return xs->error=0, xs->xs_status=0x1 xs->resid=0
umass0: umass_scsi_cmd:  1:0 xs=0xc08b9000 cmd=0x1e (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass0: umass_bbb_transfer cmd=0x1e
umass0: CBW 46: cmd = 6b (0x1e0000000100), data = 0 bytes, dir = out
umass0: start xfer buffer=0xc08afe5c buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc07dd700, NORMAL_COMPLETION
umass0: no data phase
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc0886200, NORMAL_COMPLETION
umass0: CSW 46: sig = 0x53425355 (valid), tag = 46, res = 0, status = 0x00 (good)
umass_scsipi_cb: xs=0xc08b9000 residue=0 status=0
umass_scsipi_cb: return xs->error=0, xs->xs_status=0x1 xs->resid=0
umass0: umass_scsi_cmd:  1:0 xs=0xc08b9000 cmd=0x25 (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=10 datalen=8
umass0: umass_bbb_transfer cmd=0x25
umass0: CBW 47: cmd = 10b (0x250000000000...), data = 8 bytes, dir = in
umass0: start xfer buffer=0xc08afe5c buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc07dd700, NORMAL_COMPLETION
umass0: start xfer buffer=0xce22d000 buflen=8 flags=0x5 timeout=10403
umass0: Handling BBB state 2 (BBB Data), xfer=0xc0886a00, NORMAL_COMPLETION
umass0: 0x 0003103400000800 buffer=0xce248c70, buflen=8
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc0886200, NORMAL_COMPLETION
umass0: CSW 47: sig = 0x53425355 (valid), tag = 47, res = 0, status = 0x00 (good)
umass_scsipi_cb: xs=0xc08b9000 residue=0 status=0
umass_scsipi_cb: return xs->error=0, xs->xs_status=0x1 xs->resid=0
umass0: umass_scsi_cmd:  1:0 xs=0xc08b9000 cmd=0x43 (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=10 datalen=12
umass0: umass_bbb_transfer cmd=0x43
umass0: CBW 48: cmd = 10b (0x430000000000...), data = 12 bytes, dir = in
umass0: start xfer buffer=0xc08afe5c buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc07dd700, NORMAL_COMPLETION
umass0: start xfer buffer=0xce22d000 buflen=12 flags=0x5 timeout=10403
umass0: Handling BBB state 2 (BBB Data), xfer=0xc0886a00, NORMAL_COMPLETION
umass0: 0x 000a01010014010000000000 buffer=0xce248658, buflen=12
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc0886200, NORMAL_COMPLETION
umass0: CSW 48: sig = 0x53425355 (valid), tag = 48, res = 0, status = 0x00 (good)
umass_scsipi_cb: xs=0xc08b9000 residue=0 status=0
umass_scsipi_cb: return xs->error=0, xs->xs_status=0x1 xs->resid=0
umass0: umass_scsi_cmd:  1:0 xs=0xc08b9000 cmd=0x08 (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=6 datalen=2048
umass0: umass_bbb_transfer cmd=0x08
umass0: CBW 49: cmd = 6b (0x080000100100), data = 2048 bytes, dir = in
umass0: start xfer buffer=0xc08afe5c buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc07dd700, NORMAL_COMPLETION
umass0: start xfer buffer=0xce22d000 buflen=2048 flags=0x5 timeout=10403
umass0: Handling BBB state 2 (BBB Data), xfer=0xc0886a00, NORMAL_COMPLETION
umass0: 0x 5589e553e88ff5ffff8b58146a03e891 buffer=0xcc714000, buflen=2048
umass0: 0x f5ffff25ffff000080cc80c643088389
umass0: 0x 430c8b5dfcc9c3905589e556538b7508 ...
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc0886200, STALLED
umass0: Failed to read CSW, STALLED, retrying
umass0: Clear endpoint 0x82 stall
umass0: Handling BBB state 5 (BBB CSW bulk-in clear stall), xfer=0xc0886800, NORMAL_COMPLETION
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 6 (BBB CSW, 2nd attempt), xfer=0xc0886c00, NORMAL_COMPLETION
umass0: CSW 49: sig = 0x53425355 (valid), tag = 49, res = 2048, status = 0x01 (failed)
umass0: Command Failed, res = 2048
umass_scsipi_cb: xs=0xc08b9000 residue=2048 status=2
umass0: umass_bbb_transfer cmd=0x03
umass0: CBW 50: cmd = 6b (0x030000002000), data = 32 bytes, dir = in
umass0: start xfer buffer=0xc08afe5c buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc07dd700, NORMAL_COMPLETION
umass0: start xfer buffer=0xce22d000 buflen=32 flags=0x5 timeout=10403
umass0: Handling BBB state 2 (BBB Data), xfer=0xc0886a00, NORMAL_COMPLETION
umass0: 0x 70000500000000130000000020000000 buffer=0xc08b905c, buflen=32
umass0: 0x 00000800000000000000000000000000
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc0886200, STALLED
umass0: Failed to read CSW, STALLED, retrying
umass0: Clear endpoint 0x82 stall
umass0: Handling BBB state 5 (BBB CSW bulk-in clear stall), xfer=0xc0886800, NORMAL_COMPLETION
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 6 (BBB CSW, 2nd attempt), xfer=0xc0886c00, NORMAL_COMPLETION
umass0: CSW 50: sig = 0x53425355 (valid), tag = 50, res = 4, status = 0x00 (good)
umass_scsipi_sense_cb: xs=0xc08b9000 residue=4 status=0
umass_scsipi_sense_cb: return xs->error=2, xs->xs_status=0x1 xs->resid=2048
cd0(umass0:1:0):  Check Condition on CDB: 0x08 00 00 10 01 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Invalid Command Operation Code

umass0: umass_scsi_cmd:  1:0 xs=0xc08b9000 cmd=0x1e (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass0: umass_bbb_transfer cmd=0x1e
umass0: CBW 51: cmd = 6b (0x1e0000000000), data = 0 bytes, dir = out
umass0: start xfer buffer=0xc08afe5c buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc07dd700, NORMAL_COMPLETION
umass0: no data phase
umass0: start xfer buffer=0xc08afe7b buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc0886200, NORMAL_COMPLETION
umass0: CSW 51: sig = 0x53425355 (valid), tag = 51, res = 0, status = 0x00 (good)
umass_scsipi_cb: xs=0xc08b9000 residue=0 status=0
umass_scsipi_cb: return xs->error=0, xs->xs_status=0x1 xs->resid=0


>How-To-Repeat:

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: