From owner-freebsd-ports Sat Jul 10 15:21:49 1999 Delivered-To: freebsd-ports@freebsd.org Received: from pop3.ids.net (pop3.ids.net [155.212.1.107]) by hub.freebsd.org (Postfix) with ESMTP id 835B914DB6 for ; Sat, 10 Jul 1999 15:21:42 -0700 (PDT) (envelope-from CGiordano@ids.net) Received: from ids.net (dyn149a.sco-ri.ids.net [155.212.204.149]) by pop3.ids.net (8.9.3/8.9.3) with ESMTP id SAA25848; Sat, 10 Jul 1999 18:21:36 -0400 (EDT) Message-ID: <3787C68D.BFAAF622@ids.net> Date: Sat, 10 Jul 1999 18:17:49 -0400 From: "Christopher M. Giordano" Reply-To: CGiordano@ids.net X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-ports@FreeBSD.ORG Cc: cdwrite@lists.debian.org Subject: cdrecord / SCSI cmd timeouts Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org After using cdrecord for over a year without incident, I have recently begun to see SCSI command timeouts during the fixating portion of writing a CD9660 data disk. The disk is still mountable upon completion, but only on a CD-RW drive. The output from cdrecord is below. These errors occur with both CD-R and CD-RW disks from different manufacturers. The hardware configuration has not been changed at all, and I have checked the SCSI cabling many times. The CD-RW drive has been flashed to the latest firmware release. I don't know whether this is at all relevant, but the problem seemed to begin shortly after the changes to libcam in May-99, after remaking world and updating the cdrecord port. I have also seen similar command timeouts while trying to blank a CD-RW disk with the "blank=fast" option. I would be interested if anyone else is experiencing similar problems. Chris Giordano cgiordano@ids.net ---------------------------------------------------------------------------------- FreeBSD 4.0-CURRENT #0: Tue Jun 22 09:09:55 EDT 1999 ahc0: irq 10 at device 14.0 on pci0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs cd1: Removable CD-ROM SCSI-2 device ----------------------------------------------------------------------------------- Script started on Sat Jul 10 15:14:39 1999 Warning: imported path contains relative components boston# rtprio 5 cdrecord -v fs=6m speed=2 dev=0,6,0 -data ./backup-28_Dec_98-cdimage.cd0 Cdrecord release 1.8a22 Copyright (C) 1995-1999 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '0,6,0' scsibus: 0 target: 6 lun: 0 atapi: 0 Device type : Removable CD-ROM Version : 2 Response Format: 2 Capabilities : Vendor_info : 'YAMAHA ' Identifikation : 'CRW4260 ' Revision : '1.0q' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : SWABAUDIO Drive buf size : 1176000 = 1148 KB FIFO size : 6291456 = 6144 KB Track 01: data 119 MB Total size: 136 MB (13:33.37) = 61003 sectors Lout start: 137 MB (13:35/28) = 61003 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 4 Is not unrestricted Is not erasable ATIP start of lead in: -11580 (97:27/45) ATIP start of lead out: 333226 (74:05/01) Disk type: Phthalocyanine or similar Manuf. index: 9 Manufacturer: Kodak Japan Limited Blocks total: 333226 Blocks current: 333226 Blocks remaining: 272223 RBlocks total: 343358 RBlocks current: 343358 RBlocks remaining: 282355 Starting to write CD/DVD at speed 2 in write mode for single session. Last chance to quit, starting real write in 9 seconds. Waiting for reader process to fill input-buffer ... input-buffer ready. Starting new track at sector: 0 Track 01: 0 of 119 MB written Track 01: 1 of 119 MB written (fifo 100%). Track 01: 119 of 119 MB written (fifo 100%). Track 01: Total bytes read/written: 124930048/124930048 (61001 sectors). Writing time: 427.990s Fixating... cdrecord: Input/output error. close track/session: scsi sendcmd: cmd timeout after 50.419 (480) s CDB: 5B 00 02 00 00 00 00 00 00 00 cmd finished after 50.419s timeout 480s Fixating time: 692.118s cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: retryable error CDB: 1E 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00 00 00 00 00 00 08 00 00 00 00 00 00 08 00 01 06 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.003s timeout 40s cdrecord: fifo had 1968 puts and 1968 gets. cdrecord: fifo was 0 times empty and 1858 times full, min fill was 95%. boston# ^Dexit Script done on Sat Jul 10 15:34:01 1999 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message