Subject: problems with dvd burner
To: None <netbsd-help@netbsd.org>
From: None <murray@river-styx.org>
List: netbsd-help
Date: 01/12/2006 00:21:16
Hi Folks,
   I'm having bad problems with a dvd-burner using
NetBSD-3.0 (GENERIC.MPACPI) on i386 and the cdrtools-ossdvd-2.01.1.35
pkg from pkgsrc-2005Q4.
   Running the command...
      cdrecord -v dev=15,0,0 driveropts=burnfree MyDVD.iso
starts the burn process and gets some of the way through, then dies
badly. Console also reporting messages. Outputs below. Happy to test
code on this machine. If anyone wants more info, just ask.

Console....

Jan 11 23:56:34 ra /netbsd: cd0(viaide0:1:0):  Check Condition on CDB:
0x43 00 00 00 00 00 00 00 0c 40
Jan 11 23:56:34 ra /netbsd: SENSE KEY:  Illegal Request
Jan 11 23:56:34 ra /netbsd: ASC/ASCQ:  Illegal Field in CDB
Jan 11 23:56:34 ra /netbsd:
Jan 11 23:57:58 ra /netbsd: cd0(viaide0:1:0):  Check Condition on CDB:
0x43 00 00 00 00 00 00 00 0c 40
Jan 11 23:57:58 ra /netbsd: SENSE KEY:  Illegal Request
Jan 11 23:57:58 ra /netbsd: ASC/ASCQ:  Illegal Field in CDB
Jan 11 23:57:58 ra /netbsd:
Jan 11 23:57:58 ra /netbsd: cd0(viaide0:1:0):  Check Condition on CDB:
0x28 00 00 00 00 00 00 00 01 00
Jan 11 23:57:58 ra /netbsd: SENSE KEY:  Blank Check
Jan 11 23:57:58 ra /netbsd: ASC/ASCQ:  No Additional Sense Information
Jan 11 23:57:58 ra /netbsd:
Jan 11 23:57:58 ra /netbsd: cd0(viaide0:1:0):  Check Condition on CDB:
0x28 00 00 00 00 00 00 00 01 00
Jan 11 23:57:58 ra /netbsd: SENSE KEY:  Blank Check
Jan 11 23:57:58 ra /netbsd: ASC/ASCQ:  No Additional Sense Information
Jan 11 23:57:58 ra /netbsd:
Jan 11 23:57:58 ra /netbsd: cd0(viaide0:1:0):  Check Condition on CDB:
0x28 00 00 00 00 00 00 00 01 00
Jan 11 23:57:58 ra /netbsd: SENSE KEY:  Blank Check
Jan 11 23:57:58 ra /netbsd: ASC/ASCQ:  No Additional Sense Information
Jan 11 23:57:58 ra /netbsd:


Command Line.....

cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent
default
s.
cdrecord: Continuing in 5 seconds...
cdrecord: Fifo size 8 too small, turning fifo off.
Cdrecord-Clone 2.01.01a03 (i386-unknown-netbsd3.0) Copyright (C) 1995-2005
Jörg
Schilling
NOTE: this is OSS DVD extensions for cdrtools and thus may have bugs
   related to DVD issues that are not present in the original cdrtools. For
   more information see http://crashrecovery.org/oss-dvd.html. The original
   cdrtools author should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '15,0,0'
scsibus: 15 target: 0 lun: 0
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version
(frueauf-scsi-
bsd.c-1.42nb1 '@(#)scsi-bsd.c   1.42 04/01/15 Copyright 1997 J. Schilling').
Driveropts: '"burnfree"'
SCSI buffer size: 61440
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'PIONEER '
Identifikation : 'DVD-RW  DVR-110D'
Revision       : '1.17'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001B
Profile: 0x002B
Profile: 0x001B (current)
Profile: 0x001A
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
cdrecord: Found DVD media: using cdr_mdvd.
Using Session At Once (SAO) for DVD mode.
Using Session At Once (SAO) for DVD mode.
Using Session At Once (SAO) for DVD mode.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1605632 = 1568 KB
FIFO size      : 0 = 0 KB
Track 01: data  1929 MB
Total size:     2216 MB (219:35.04) = 988128 sectors
Lout start:     2216 MB (219:37/03) = 988128 sectors
Current Secsize: 2048
  ATIP start of lead in:  -150 (00:00/00)
  ATIP start of lead out: 157789 (35:05/64)
Disk type:    unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 1306976
scsi_set_streaming
Speed set to 8310 KB/s
Starting to write CD/DVD at speed   6.0 in real unknown mode for single
session.
Last chance to quit, starting real write    0 seconds. Operation starts.
trackno=0
BURN-Free is ON.
Turning BURN-Free off
BURN-Free is OFF.
cdrecord: Bad driver opts '"burnfree"'.
Driver options:
burnfree        Prepare writer to use BURN-Free technology
noburnfree      Disable using BURN-Free technology
root@ra: {18} vi /usr/pkg/etc/cdrecord.conf
root@ra: {19} cdrecord -v MyDVD.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent
default
s.
cdrecord: Continuing in 5 seconds...
cdrecord: Fifo size 8 too small, turning fifo off.
Cdrecord-Clone 2.01.01a03 (i386-unknown-netbsd3.0) Copyright (C) 1995-2005
Jörg
Schilling
NOTE: this is OSS DVD extensions for cdrtools and thus may have bugs
   related to DVD issues that are not present in the original cdrtools. For
   more information see http://crashrecovery.org/oss-dvd.html. The original
   cdrtools author should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: '15,0,0'
scsibus: 15 target: 0 lun: 0
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version
(frueauf-scsi-
bsd.c-1.42nb1 '@(#)scsi-bsd.c   1.42 04/01/15 Copyright 1997 J. Schilling').
Driveropts: 'burnfree'
SCSI buffer size: 61440
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'PIONEER '
Identifikation : 'DVD-RW  DVR-110D'
Revision       : '1.17'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001B
Profile: 0x002B
Profile: 0x001B (current)
Profile: 0x001A
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
cdrecord: Found DVD media: using cdr_mdvd.
Using Session At Once (SAO) for DVD mode.
Using Session At Once (SAO) for DVD mode.
Using Session At Once (SAO) for DVD mode.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1605632 = 1568 KB
FIFO size      : 0 = 0 KB
Track 01: data  1929 MB
Total size:     2216 MB (219:35.04) = 988128 sectors
Lout start:     2216 MB (219:37/03) = 988128 sectors
Current Secsize: 2048
  ATIP start of lead in:  -150 (00:00/00)
  ATIP start of lead out: 157789 (35:05/64)
Disk type:    unknown dye (reserved id code)
Manuf. index: -1
Manufacturer: unknown (not in table)
Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 1306976
scsi_set_streaming
Speed set to 8310 KB/s
Starting to write CD/DVD at speed   6.0 in real unknown mode for single
session.
Last chance to quit, starting real write    0 seconds. Operation starts.
trackno=0
BURN-Free is OFF.
BURN-Free is OFF.
cdrecord: Turning BURN-Free on
Performing OPC...
cdrecord: Input/output error. read track info: scsi sendcmd: retryable error
CDB:  52 02 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 24 00 00 00 00 00 00 00
00 00 0
0 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.005s timeout 240s
Starting new track at sector: 0
Track 01:  157 of 1929 MB written [buf  85%]  49.4x.cdrecord: Input/output
error
. write_g1: scsi sendcmd: retryable error
CDB:  2A 00 00 01 3A 2E 00 00 1E 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0E 00 00 00 00 08 03 00 00 00 00 00 00
00 00 0
0 00 00 00 00 00 00 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x03 (logical unit communication crc error
(ultra-dma/32))
 Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 61440
cmd finished after 0.002s timeout 40s

write track data: error after 164720640 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing  time:   51.872s
Average write speed 514.8x.
Min drive buffer fill was 41%
Fixating...
Fixating time:    0.362s

Thanks in advance,
    Murray Armfield