usb/117893: Lacie USB DVD writing failing

Jim Barker jimbark at attglobal.net
Wed Nov 7 12:00:05 PST 2007


>Number:         117893
>Category:       usb
>Synopsis:       Lacie USB DVD writing failing
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 07 20:00:04 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jim Barker
>Release:        6.1
>Organization:
>Environment:
bash-2.05b# uname -a
FreeBSD dudiable.cq.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:42:56 UTC 2006     root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
>Description:
While using growisofs from dvd+rw-tools 7.0.....
I get output of.....

bash-2.05b# growisofs -dvd-compat -Z /dev/cd0=dvd.iso
:-( unable to GET CONFIGURATION: Input/output error
:-( non-MMC unit?

I have entries in /var/log/messages of.....

Nov  7 14:40:18 dudiable jbarker: local1.info About to run growisofs
Nov  7 14:40:25 dudiable kernel: umass0: Unsupported ATAPI command 0x46

If I try to run cdrecord (from cdrtools-2.01.01a36) I get......
bash-2.05b# cdrecord -v dev=0,0,0 dvd.iso
cdrecord: No write mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a36 (i386-unknown-freebsd6.1) Copyright (C) 1995-2007 Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 0
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identifikation : 'CD/DVDW SH-S162L'
Revision       : 'LC02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
cdrecord: Input/output error. get performance: scsi sendcmd: retryable error
CDB:  AC 00 00 00 00 00 00 00 00 01 03 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 200s
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1048576 = 1024 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  2592 MB        
Total size:     2592 MB = 1327360 sectors
Current Secsize: 2048
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 967744
cdrecord: Input/output error. get performance: scsi sendcmd: retryable error
CDB:  AC 00 00 00 00 00 00 00 00 01 03 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 100s
cdrecord: MMC-3 speed select did not work.
Starting to write CD/DVD/BD at speed 16 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
cdrecord: Input/output error. reserve_track_rzone: scsi sendcmd: retryable error
CDB:  53 00 00 00 00 00 14 41 00 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 100s
cdrecord: Cannot open next track.
Writing  time:    0.044s
Average write speed 999.0x.
Fixating...
Fixating time:    0.000s
cdrecord: fifo had 64 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

with entries in /var/log/messages of.....

Nov  7 14:45:08 dudiable jbarker: local1.info About to run cdrecord
Nov  7 14:45:25 dudiable kernel: umass0: Unsupported ATAPI command 0x46
Nov  7 14:45:25 dudiable last message repeated 2 times
Nov  7 14:45:25 dudiable kernel: umass0: Unsupported ATAPI command 0xac
Nov  7 14:45:25 dudiable kernel: umass0: Unsupported ATAPI command 0x46
Nov  7 14:45:28 dudiable kernel: umass0: Unsupported ATAPI command 0x4d
Nov  7 14:45:28 dudiable kernel: umass0: Unsupported ATAPI command 0x46
Nov  7 14:45:28 dudiable kernel: umass0: Unsupported ATAPI command 0xac
Nov  7 14:45:28 dudiable kernel: umass0: Unsupported ATAPI command 0xac
Nov  7 14:45:37 dudiable kernel: umass0: Unsupported ATAPI command 0x53

I also ran scgcheck and the output is below.

bash-2.05b# scgcheck
Scgcheck 2.01.01a36 (i386-unknown-freebsd6.1) SCSI user level transport library ABI checker.
Copyright (C) 1998,2001 Jörg Schilling
Checking if your implementation supports to scan the SCSI bus.
Trying to open device: '(NULL POINTER)'.
Using libscg version 'schily-0.9'
Max DMA buffer size: 65536
scsibus0:
        0,0,0     0) 'TSSTcorp' 'CD/DVDW SH-S162L' 'LC02' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
----------> SCSI scan bus test PASSED
For the next test we need to open a single SCSI device.
Best results will be obtained if you specify a modern CD-ROM drive.
Enter SCSI device name [0,6,0]: 0,0,0
Trying to open device: '0,0,0'.
Using libscg version 'schily-0.9'
Max DMA buffer size: 65536
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identifikation : 'CD/DVDW SH-S162L'
Revision       : 'LC02'
Ready to start test for second SCSI open? Enter <CR> to continue: 
First SCSI open OK - device usable
Checking for second SCSI open.
Second SCSI open for same device succeeded, 1 file descriptor(s) used.
Second SCSI open is usable
Closing second SCSI.
Checking first SCSI.
First SCSI open is still usable
Second SCSI open test passed.
Ready to start test for succeeded command? Enter <CR> to continue: 

Executing 'inquiry' command on Bus 0 Target 0, Lun 0 timeout 40s
CDB:  12 00 00 00 24 00
cmd finished after 0.000s timeout 40s
Inquiry Data   : 05 80 00 32 5B 00 00 00 54 53 53 54 63 6F 72 70 43 44 2F 44 56 44 57 20 53 48 2D 53 31 36 32 4C 4C 43 30 32
----------> SCSI succeeded command test PASSED
Ready to start test for failing command? Enter <CR> to continue: 
Inquiry did not fail.
This may be because the firmware in your drive is buggy.
If the current drive is not a CD-ROM drive please restart
the test utility. Otherwise remove any medium from the drive.
Ready to start test for failing command? Enter <CR> to continue: 
scgcheck: Input/output error. test unit ready: scsi sendcmd: retryable error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.001s timeout 40s
---------->     SCSI Transport return != SCG_NO_ERROR (1)
----------> SCSI failed command test FAILED
Ready to start test for sense data count? Enter <CR> to continue: 
Testing if at least CCS_SENSE_LEN (18) is supported...
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00
---------->     Method 0x00: expected: 18 reported: 32 max found: 14
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00
---------->     Method 0xFF: expected: 18 reported: 32 max found: 18
---------->     Wanted 18 sense bytes, got it.
---------->     Libscg says 32 sense bytes but got (18)
Testing for 32 bytes of sense data...
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
---------->     Method 0x00: expected: 32 reported: 32 max found: 14
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
---------->     Method 0xFF: expected: 32 reported: 32 max found: 32
---------->     Wanted 32 sense bytes, got it.
----------> Got a maximum of 32 sense bytes
----------> SCSI sense count test FAILED
----------> SCSI status byte test NOT YET READY
Ready to start test for working DMA residual count? Enter <CR> to continue: 
**********> Testing for working DMA residual count == 0.
CDB cnt: 36 DMA cnt: 36 got really: 36 (System says: RDMA cnt: 36 resid 0)
CDB cnt: 36 DMA cnt: 36 got really: 36 (System says: RDMA cnt: 36 resid 0)
---------->     Wanted 36 bytes, got it.
----------> SCSI DMA residual count == 0 test PASSED
Ready to start test for working DMA residual count == DMA count? Enter <CR> to continue: 
resid: 36
CDB cnt: 0 DMA cnt: 36 got really: 0 (System says: RDMA cnt: 0 resid 36)
resid: 36
CDB cnt: 0 DMA cnt: 36 got really: 0 (System says: RDMA cnt: 0 resid 36)
---------->     Wanted 0 bytes, got it.
----------> SCSI DMA residual count == DMA count test PASSED
Ready to start test for working DMA residual count == 1? Enter <CR> to continue: 
resid: 1
CDB cnt: 36 DMA cnt: 37 got really: 36 (System says: RDMA cnt: 36 resid 1)
resid: 1
CDB cnt: 36 DMA cnt: 37 got really: 36 (System says: RDMA cnt: 36 resid 1)
---------->     Wanted 36 bytes, got it.
----------> SCSI DMA residual count == 1 test PASSED
**********> Testing for working DMA overrun test.
CDB cnt: 36 DMA cnt: 35 got really: 35 (System says: RDMA cnt: 35 resid 0)
CDB cnt: 36 DMA cnt: 35 got really: 35 (System says: RDMA cnt: 35 resid 0)
----------> SCSI DMA overrun test FAILED
----------> SCSI transport code test NOT YET READY

I also ran usbdevs -v since I saw that output in another bug report.

bash-2.05b# 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 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
 port 7 addr 2: high speed, self powered, config 1, LaCie DVD Drive USB2(0x0623), LaCie(0x059f), rev 0.00
 port 8 powered
>How-To-Repeat:
run growisofs or cdrecord for a dvd.
>Fix:
I thought I saw an unsupported patch for another dvd burner on the internet, but I didn't try it.

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


More information about the freebsd-usb mailing list