From owner-freebsd-questions Mon Jun 22 00:47:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA10572 for freebsd-questions-outgoing; Mon, 22 Jun 1998 00:47:10 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from top.worldcontrol.com (surf52.cruzers.com [205.215.232.52]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA10561 for ; Mon, 22 Jun 1998 00:47:04 -0700 (PDT) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 2590 invoked by uid 100); 22 Jun 1998 07:47:05 -0000 Message-ID: <19980622004701.A2547@top.worldcontrol.com> Date: Mon, 22 Jun 1998 00:47:01 -0700 To: freebsd-questions@FreeBSD.ORG Cc: freebsd-scsi@FreeBSD.ORG Subject: cdrecord and aic7880 broken! (works with aic7870) Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-scsi@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.91i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Summary: Using the 2940UW (aic 7880) controller burns fail 100% of the time. Using the 2940W (aic 7870) controller burns succeed 100% of the time. Details: I have a -current SMP 2xPP150 system with two Adaptec 2940 SCSI controllers (one is Wide, the other is UltraWide). I recently purchased a Ricoh 6200S CD-RW and have been failing to sucessfully burn a CD. When the CD-R is connected to the 2940UW (aic 7880) as follows: Jun 21 13:54:53 bls2 ahc0: rev 0x01 int a irq 18 on pci0.12.0 Jun 21 13:54:53 bls2 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs Jun 21 13:54:53 bls2 ahc0:A:1: refuses WIDE negotiation. Using 8bit transfers Jun 21 13:54:53 bls2 /kernel: cd0 at scbus0 target 1 lun 0 Jun 21 13:54:53 bls2 cd0: type 5 removable SCSI 2 Jun 21 13:54:53 bls2 cd0: CD-ROM cd present [400000 x 2048 byte records] the CD burns consistently fail (100% failure in 10 tries) at some time during the burn. The failure is included below. The timeout can occur at any point in the burn. Once it happened on block 416 out of 449. The failures occur in -dummy and in real burns. HOWEVER, when the CD-R is connected to the 2940W (aic 7870) as follows: Jun 21 14:46:22 bls2 ahc0: rev 0x03 int a irq 16 on pci0.14.0 Jun 21 14:46:22 bls2 ahc0: aic7870 Wide Channel, SCSI Id=7, 16 SCBs Jun 21 14:46:22 bls2 ahc0: waiting for scsi devices to settle Jun 21 14:46:22 bls2 /kernel: scbus0 at ahc0 bus 0 Jun 21 14:46:22 bls2 /kernel: sd0 at scbus0 target 0 lun 0 Jun 21 14:46:22 bls2 ahc0:A:1: refuses WIDE negotiation. Using 8bit transfers Jun 21 14:46:22 bls2 /kernel: cd0 at scbus0 target 1 lun 0 Jun 21 14:46:22 bls2 cd0: type 5 removable SCSI 2 Jun 21 14:46:22 bls2 cd0: CD-ROM cd present [400000 x 2048 byte records] The burns and -dummy burns work reliably 100% (6 tries) of the time. Here is the error that occurs when using the 2940UW (aic 7880): Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '0,1,0' scsibus: 0 target: 1 lun: 0 Device type : Removable CD-ROM Version : 2 Response Format: 2 Capabilities : Vendor_info : 'RICOH ' Identifikation : 'MP6200S ' Revision : '2.20' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : SWABAUDIO Track 01: data 442 MB Total size: 508 MB (50:22.68) = 226701 sectors Lout start: 508 MB (50:24/51) = 226701 sectors ATIP info from disk: Indicated writing power: 6 Is not unrestricted Is not erasable ATIP start of lead in: -11597 (97:27/28) ATIP start of lead out: 336601 (74:50/01) Disk type: Phthalocyanine or similar Manufacturer: Princo Corporation Blocks total: 336601 Blocks remaining: 336601 Starting to write CD at speed 2 in write mode for single session. Last chance to quit, starting real write in 1 seconds. Waiting for reader process to fill input-buffer ... input-buffer ready. Starting new track at sector: 0 Track 01: 0 of 442 MB written. ... Track 01: 416 of 442 MB written (fifo 100%). cdrecord: Undefined error: 0. write_g1: scsi sendcmd: cmd timeout after 42.033 (40) s CDB: 2A 00 00 03 40 26 00 00 1E 00 resid: 61440 cmd finished after 42.033s timeout 40s cdrecord: Undefined error: 0. request_sense: scsi sendcmd: cmd timeout after 42.036 (40) s write track data: error after 436285440 bytes CDB: 03 00 00 00 12 00 resid: 18 cmd finished after 42.036s timeout 40s cdrecord: Undefined error: 0. flush cache: scsi sendcmd: retryable error status: 0x2 (CHECK CONDITION) CDB: 35 00 00 00 00 00 00 00 00 00 Sense Bytes: 70 00 06 00 00 00 00 0A 00 00 00 00 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x6 Unit Attention, Segment 0 Sense Code: 0x29 Qual 0x00 (power on, reset, or bus device reset occurred) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.012s timeout 120s Trouble flushing the cache Writing time: 1514.012s Fixating... cdrecord: Undefined error: 0. close track/session: scsi sendcmd: retryable error status: 0x2 (CHECK CONDITION) CDB: 5B 00 02 00 00 00 00 00 00 00 Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 71 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x71 Qual 0x04 (decompression exception long algorithm id) [No matching qualifier] Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.008s timeout 480s cdrecord: fifo had 7169 puts and 7102 gets. cdrecord: fifo was 0 times empty and 7088 times full, min fill was 89%. Fixating time: 0.011s -- Brian Litzinger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message