Subject: kern/14714: Plextor CD-RW broken for recording under 1.5Y
To: None <gnats-bugs@gnats.netbsd.org>
From: g r <gr@grappa.eclipsed.net>
List: netbsd-bugs
Date: 11/24/2001 21:23:55
>Number: 14714
>Category: kern
>Synopsis: Plextor CD-RW broken for recording under 1.5Y
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 24 18:25:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: gabriel rosenkoetter
>Release: NetBSD 1.5Y
>Organization:
>Environment:
System: NetBSD grappa 1.5Y NetBSD 1.5Y (GRAPPA) #2: Fri Nov 23 11:25:03 EST 2001 gr@grappa:/usr/src/sys/arch/i386/compile/GRAPPA i386
Architecture: i386
Machine: i386
>Description:
Unfortunately, I'm not too sure when things went awry, though I'm
fairly certain I could use my CD-RW just fine under 1.5W. I recently
pulled my machine up to be far more current and now, when I attempt
to use it to record an ISO-9660 image at a speed significantly
lower than the drive is capable of (it's labeled 12/10/32, though
I've never recorded at more than 10x, nor ever re-written), I get
SCSI garbage:
grappa:~/tmp# cdrecord speed=2 dev=/dev/cd0d foo.iso
Cdrecord 1.10 (i386-unknown-netbsd1.5Y) Copyright (C) 1995-2001 Jörg Schilling
scsidev: '/dev/cd0d'
devname: '/dev/cd0d'
scsibus: -2 target: -2 lun: -2
Using libscg version 'schily-0.5'
cdrecord: Warning: using inofficial libscg transport code version (frueauf-scsi-bsd.c-1.40nb1 '@(#)scsi-bsd.c 1.40 01/03/18 Copyright 1997 J. Schilling').
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities : SYNC LINKED
Vendor_info : 'PLEXTOR '
Identifikation : 'CD-R PX-W1210S'
Revision : '1.01'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Starting to write CD/DVD at speed 1 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
cdrecord: Input/output error. read track info: scsi sendcmd: retryable error
CDB: 52 01 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 28
cmd finished after 0.001s timeout 240s
cdrecord: Input/output error. close track/session: scsi sendcmd: retryable error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 09 00 00 00 00 0A 00 00 00 00 80 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x9 Vendor Unique, Segment 0
Sense Code: 0x80 Qual 0x07 (vendor unique sense code 0x80) [No matching qualifier] Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 480s
cmd finished after 0.000s timeout 480s
The drive matches like this:
cd0 at scsibus0 target 1 lun 0: <PLEXTOR, CD-R PX-W1210S, 1.01> SCSI2 5/cdrom removable
cd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
It hangs off of this:
ahc0 at pci0 dev 17 function 0
ahc0: interrupting at irq 15
ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc0: 8 targets, 8 luns per target
I haven't had (nor will I soon have) time to look at what's changed
in the SCSI code lately, so I'm hoping someone who's been working on
it will recognize the above.
(Note that the drive works for *reading* just fine and that my
primary hard drive for this machine is on the same SCSI bus and
seems to be working just fine.)
>How-To-Repeat:
Use cdrecord with a Plextor CD-RW? I could probably scrounge up
another SCSI CD-R to do some testing, but it'd be nice not to have
to.
>Fix:
No clue. I don't speak SCSI-2.
>Release-Note:
>Audit-Trail:
>Unformatted: