From owner-freebsd-current@FreeBSD.ORG Wed May 18 12:47:55 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1233) id D97381065670; Wed, 18 May 2011 12:47:55 +0000 (UTC) Date: Wed, 18 May 2011 12:47:55 +0000 From: Alexander Best To: Andriy Gapon Message-ID: <20110518124755.GA8500@freebsd.org> References: <20110518082459.GA71662@freebsd.org> <20110518082747.GA75790@freebsd.org> <4DD39296.2090805@FreeBSD.org> <20110518102448.GA88446@freebsd.org> <4DD3AC1B.9080208@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DD3AC1B.9080208@FreeBSD.org> Cc: freebsd-scsi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: issues with new sata dvd-drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2011 12:47:55 -0000 On Wed May 18 11, Andriy Gapon wrote: > on 18/05/2011 13:24 Alexander Best said the following: > > i dug into this a little further and it appears that this only happens with > > CD-Rs. using CD-ROMs, DVDs or DVD+Rs this doesn't happen. i tested this with > > CD-Rs recorded under windows and freebsd (created with burncd(1), growisofs(1) > > and cdrecord(1)) and they all suffer the same issue. > > Are the CD-Rs from the same vendor/batch? > Could it possibly be that there is some problem with firmware recognizing those disks? > > > i also tried this with audio cds and here recoverdisk(1) fails no matter, if > > it's a CD-R or a CD-ROM: > > I think that it's not supposed to work for Audio-CDs with cd(4) [unlike acd(4) and > then with bs of 2352]. > To digitally extract audio data you have to go via pass(4) and appropriate > SCSI/MMC commands. btw i also got an error when trying to blank an entire CD-RW: otaku% clear ; sudo cdrecord -v blank=all Cdrecord-ProDVD-ProBD-Clone 3.01a04 (amd64-unknown-freebsd9.0) Copyright (C) 1995-2010 Joerg Schilling TOC Type: 1 = CD-ROM Using libscg version 'schily-0.9'. SCSI buffer size: 65536 No target specified, trying to find one... Using dev=2,0,0. atapi: 0 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'HL-DT-ST' Identifikation : 'DVDRAM GH24NS50 ' Revision : 'XP02' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: CD-RW Profile: DVD-RAM Profile: DVD-R sequential recording Profile: DVD-R/DL sequential recording Profile: DVD-R/DL layer jump recording Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD+RW Profile: DVD+R Profile: DVD+R/DL Profile: DVD-ROM Profile: CD-R Profile: CD-RW (current) Profile: CD-ROM (current) Profile: Removable Disk Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R LAYER_JUMP Drive buf size : 1053696 = 1029 KB Drive pbuf size: 1966080 = 1920 KB Drive DMA Speed: 16803 kB/s 95x CD 12x DVD 3x BD Current Secsize: 2048 ATIP info from disk: Indicated writing power: 6 Reference speed: 2 Disk Is not unrestricted Disk Is erasable ATIP start of lead in: -11078 (97:34/22) ATIP start of lead out: 359849 (79:59/74) 1T speed low: 0 (reserved val 0) 1T speed high: 4 2T speed low: 0 (reserved val 5) 2T speed high: 0 (reserved val 12) power mult factor: 3 5 recommended erase/write power: 3 A1 values: 02 3A B0 A2 values: 5C C6 26 Disk type: Phase change Manuf. index: 11 Manufacturer: Mitsubishi Chemical Corporation Capacity Blklen/Sparesz. Format-type Type 5122 2048 0x00 Formatted Media Starting to write CD/DVD/BD at speed 4 in real BLANK mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Performing OPC... Blanking entire disk cdrecord: Input/output error. blank unit: scsi sendcmd: cmd timeout after 1010.067 (9600) s CDB: A1 00 00 00 00 00 00 00 00 00 00 00 cmd finished after 1010.067s timeout 9600s cdrecord: Cannot blank disk, aborting. dmesg says: (cd0:ahcich2:0:0:0): READ(10). CDB: 28 0 0 5 70 80 0 0 3c 0 (cd0:ahcich2:0:0:0): CAM status: SCSI Status Error (cd0:ahcich2:0:0:0): SCSI status: Check Condition (cd0:ahcich2:0:0:0): SCSI sense: ILLEGAL REQUEST csi:28,a,0,80 asc:64,0 (Illegal mode for this track) (cd0:ahcich2:0:0:0): cddone: got error 0x6 back ahcich2: Timeout on slot 4 ahcich2: is 00000000 cs 00000010 ss 00000000 rs 00000010 tfd c0 serr 00000000 cheers. alex > > > otaku% recoverdisk /dev/cd0 ./test10.iso > > Bigsize = 1048576, medsize = 65536, minsize = 2048 > > start size block-len state done remaining % done > > 0 1048576 243052544 0 0 243052544 0.00000 > > 0 1048576 failed (Device not configured) > > > -- > Andriy Gapon -- a13x