Subject: Can't blank RW CD
To: NetBSD <port-i386@netbsd.org>
From: Steven Sartorius <ssartor@bellatlantic.net>
List: port-i386
Date: 07/20/2002 11:26:45
Hi,

In the past, using 1.5.2 on a Shuttle SV24 with a generic read/write CD
('cd0 at atapibus0 drive 0: <LITE-ON LTR-12101B, , LKU6> type 5 cdrom
removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)')
I've been able to use cdrecord to blank CD-RWs.  Since updating to
1.6_BETA4, however, I've been getting the following error(s) when running
cdrecord:

cdrecord -v blank=all dev=/dev/cd0d
Cdrecord 1.10 (i386-unknown-netbsd1.6.) Copyright (C) 1995-2001 J?Schilling
TOC Type: 1 = CD-ROM
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').
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'LITE-ON '
Identifikation : 'LTR-12101B      '
Revision       : 'LKU6'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Drive buf size : 1658880 = 1620 KB
Jul 20 11:24:18 localhost /netbsd: pciide0:1:0: lost interrupt
Jul 20 11:24:18 localhost /netbsd:      type: atapi tc_bcount: 0 tc_skip: 0
cdrecord: 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 06 00 00 00 00 0A 00 00 00 00 29 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x6 Unit Attention, Segment 0
Sense Code: 0x29 Qual 0x00 (power on, reset, or bus device reset occurred)
Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 3.274s timeout 40s
Current Secsize: 2048
Jul 20 11:25:01 localhost /netbsd: pciide0:1:0: lost interrupt
Jul 20 11:25:01 localhost /netbsd:      type: atapi tc_bcount: 8 tc_skip: 0
Trying to clear drive status.
cdrecord: Drive needs to reload the media to return to proper status.
Jul 20 11:25:14 localhost /netbsd: pciide0:1:0: lost interrupt
Jul 20 11:25:14 localhost /netbsd:      type: atapi tc_bcount: 32 tc_skip: 0
Jul 20 11:25:14 localhost /netbsd: cd0(pciide0:1:0): passthrough: adapter
inconsistency
Jul 20 11:25:22 localhost /netbsd: pciide0:1:0: lost interrupt
Jul 20 11:25:22 localhost /netbsd:      type: atapi tc_bcount: 32 tc_skip: 0
Jul 20 11:25:22 localhost /netbsd: cd0(pciide0:1:0): passthrough: adapter
inconsistency
  ATIP start of lead out: 1166730 (03:18/30)
Blocks total: 1166730 Blocks current: 1166730 Blocks remaining: 1166880
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Blanking entire disk
cdrecord: Input/output error. blank unit: scsi sendcmd: retryable error
CDB:  A1 00 00 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 02 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 65.688s timeout 9600s
cdrecord: Cannot blank disk, aborting.

Any idea if this is 1.6, cdrecord or a hardware failure?

Thanks,

Steve