Subject: Re: Can't blank RW CD
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Steven Sartorius <ssartor@bellatlantic.net>
List: port-i386
Date: 07/22/2002 22:28:25
on 7/22/02 16:41, Manuel Bouyer at bouyer@antioche.eu.org wrote:

> Thanks. Can you try the attached patch and see if it helps for you ?
> Otherwise we'll have to look at the VIA code.

Manuel,

I applied the patch and rebuilt my kernel but no luck -- I get the same
error messages (see below) from cdrecord as I was getting before:

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
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Reference speed: 2
  Is not unrestricted
  Is erasable
  ATIP start of lead in:  -11745 (97:25/30)
  ATIP start of lead out: 335972 (74:41/47)
  speed low: 0 speed high: 4
  power mult factor: 4 6
  recommended erase/write power: 5
  A2 values: 4A D8 5A
Disk type:    Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Trying to clear drive status.
cdrecord: Drive needs to reload the media to return to proper status.
Jul 22 22:26:31 localhost /netbsd: pciide0:1:0: lost interrupt
Jul 22 22:26:31 localhost /netbsd:      type: atapi tc_bcount: 32 tc_skip: 0
Jul 22 22:26:31 localhost /netbsd: cd0(pciide0:1:0): passthrough: adapter
inconsistency
Jul 22 22:26:38 localhost /netbsd: pciide0:1:0: lost interrupt
Jul 22 22:26:38 localhost /netbsd:      type: atapi tc_bcount: 32 tc_skip: 0
Jul 22 22:26:38 localhost /netbsd: cd0(pciide0:1:0): passthrough: adapter
inconsistency
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 67.867s timeout 9600s
cdrecord: Cannot blank disk, aborting.

If there's anything more I can do to help you debug this please let me know.

Thanks,

Steve