Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2004 14:39:36 +0100 (CET)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        Stefan Schwarzer <sschwarzer@sschwarzer.net>
Cc:        current@freebsd.org
Subject:   Re: Release 5.2: Write errors with cdrecord and burncd
Message-ID:  <20040202143344.Y47281@beagle.fokus.fraunhofer.de>
In-Reply-To: <20040201183420.GB1077@warpy.sschwarzer.net>
References:  <20040201183420.GB1077@warpy.sschwarzer.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 1 Feb 2004, Stefan Schwarzer wrote:

The autosense problem is not yet fixed. Maxime and Soeren are working on
this. The Pioneer recorder does flow control through the application by
returning Busy/Long write in progress when a write will take a long time,
althoug the write will succeed. The application needs to handle this
situation and in order to do so it needs the Sense code from the drive,
which it currently doesn't have (Look for the sense bytes below which are
all 0).

It seems also that burncd doesn't handle this pseudo-error and simply
treats this as an error.

harti

SS>Until recently, I had a 5.1-Release system here. After doing a fresh
SS>install with 5.2-Release I'm no longer able to burn CDs. cdrecord
SS>tells me:
SS>
SS>| root@warpy:/home/schwa/cdbackup# cdrecord -v driveropts=burnfree /usr/tmp/image.raw
SS>| Cdrecord 2.00.3 (i386-unknown-freebsd5.2) Copyright (C) 1995-2002 J?rg Schilling
SS>| TOC Type: 1 = CD-ROM
SS>| scsidev: '2,0,0'
SS>| scsibus: 2 target: 0 lun: 0
SS>| Using libscg version 'schily-0.7'
SS>| Driveropts: 'burnfree'
SS>| atapi: 0
SS>| Device type    : Removable CD-ROM
SS>| Version        : 0
SS>| Response Format: 2
SS>| Capabilities   :
SS>| Vendor_info    : 'PIONEER '
SS>| Identifikation : 'DVD-RW  DVR-105 '
SS>| Revision       : '1.30'
SS>| Device seems to be: Generic mmc2 DVD-R/DVD-RW.
SS>| cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
SS>| cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
SS>| Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
SS>| Driver flags   : MMC-3 SWABAUDIO BURNFREE
SS>| Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
SS>| Drive buf size : 1267712 = 1238 KB
SS>| FIFO size      : 4194304 = 4096 KB
SS>| Track 01: data     6 MB
SS>| Total size:        7 MB (00:43.44) = 3258 sectors
SS>| Lout start:        7 MB (00:45/33) = 3258 sectors
SS>| Current Secsize: 2048
SS>| ATIP info from disk:
SS>|   Indicated writing power: 2
SS>|   Reference speed: 6
SS>|   Is not unrestricted
SS>|   Is erasable
SS>|   Disk sub type: High speed Rewritable (CAV) media (1)
SS>|   ATIP start of lead in:  -11077 (97:34/23)
SS>|   ATIP start of lead out: 336075 (74:43/00)
SS>|   1T speed low:  4 1T speed high: 10
SS>|   2T speed low:  2 2T speed high: 10
SS>|   power mult factor: 2 6
SS>|   recommended erase/write power: 5
SS>|   A1 values: 24 2C DC
SS>|   A2 values: 14 A4 4A
SS>| Disk type:    Phase change
SS>| Manuf. index: 11
SS>| Manufacturer: Mitsubishi Chemical Corporation
SS>| Blocks total: 336075 Blocks current: 336075 Blocks remaining: 332817
SS>| Starting to write CD/DVD at speed 8 in real TAO mode for single session.
SS>| Last chance to quit, starting real write    0 seconds. Operation starts.
SS>| Waiting for reader process to fill input buffer ... input buffer ready.
SS>| BURN-Free is ON.
SS>| Performing OPC...
SS>| Starting new track at sector: 0
SS>| Track 01:    0 of    6 MB written.cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
SS>| CDB:  2A 00 00 00 01 B2 00 00 1F 00
SS>| status: 0x2 (CHECK CONDITION)
SS>| Sense Bytes: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SS>| Sense Key: 0xFFFFFFFF [], Segment 0
SS>| Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
SS>| Sense flags: Blk 0 (not valid)
SS>| cmd finished after 0.000s timeout 40s
SS>|
SS>| write track data: error after 888832 bytes
SS>
SS>| Sense Bytes: 70 00 02 00 00 00 00 0E 00 00 00 00 04 08 00 00 00 00
SS>| Writing  time:    9.029s
SS>| Average write speed   6.6x.
SS>| Fixating...
SS>| Fixating time:   40.547s
SS>| cdrecord: fifo had 78 puts and 15 gets.
SS>| cdrecord: fifo was 0 times empty and 3 times full, min fill was 90%.
SS>
SS>I found mails which may be related, starting from
SS>
SS>http://lists.freebsd.org/pipermail/freebsd-current/2003-December/016431.html
SS>http://lists.freebsd.org/pipermail/freebsd-current/2003-December/016690.html
SS>
SS>Unfortunately, the workaround to use the -force flag for cdrecord
SS>doesn't work here.
SS>
SS>burncd's output is
SS>
SS>| root@warpy:/home/schwa/cdbackup# burncd -f /dev/burncdwriter -v data /usr/tmp/image.raw fixate
SS>| adding type 0x08 file /usr/tmp/image.raw size 6512 KB 3256 blocks
SS>| next writeable LBA 0
SS>| addr = 0 size = 6668288 blocks = 3256
SS>| writing from file /usr/tmp/image.raw size 6512 KB
SS>| written this track 832 KB (12%) total 832 KB
SS>| only wrote -1 of 32768 bytes: Device busy
SS>|
SS>| fixating CD, please wait..
SS>
SS>burncd's -F flag doesn't help, either.
SS>
SS>There's already http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/57606 .
SS>I just wanted to add that I have this problem still with 5.2 (also
SS>with the ATA fixes from 2004-01-27).
SS>
SS>I have no problems with system panics, as mentioned in other mails.
SS>
SS>Stefan
SS>
SS>_______________________________________________
SS>freebsd-current@freebsd.org mailing list
SS>http://lists.freebsd.org/mailman/listinfo/freebsd-current
SS>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
SS>

-- 
harti brandt,
http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
brandt@fokus.fraunhofer.de, harti@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040202143344.Y47281>