From owner-freebsd-questions Sun Mar 12 5:12:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.31.83.86]) by hub.freebsd.org (Postfix) with ESMTP id B7D5B37BDC5 for ; Sun, 12 Mar 2000 05:12:47 -0800 (PST) (envelope-from johnsa@kpi.com.au) Received: from sleek (ws03.kpi.com.au [203.39.132.216]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id AAA02397 for ; Mon, 13 Mar 2000 00:13:21 +1100 (EST) (envelope-from johnsa@kpi.com.au) Message-ID: <001301bf8c24$b16d39e0$d88427cb@kpi.com.au> From: "Andrew Johns" To: Subject: cdrecord gives errors but known to work under win98 Date: Mon, 13 Mar 2000 00:12:56 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG NB: Please CC to me as I'm not on the list A few bits of relevant info: It works under 98 (I know, I know) but cdrecord doesn't want to know about it. In fact, all it says is: Unit (appears to be) hung and needs power-cycling. Not a useful condition, I must say. Of course it goes without saying that I can mount CD-Roms without a hitch at all. from dmesg: ahc0: rev 0x00 int a irq 9 on pci0.10.0 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs ... cd0 at ahc0 bus 0 target 3 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed %cdrecord -v speed=4 dev=0,3,0 ardent.raw Cdrecord 1.8 (i386-unknown-freebsd4.0) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM cdrecord: No such file or directory. WARNING: RR-scheduler not available, disabling. scsidev: '0,3,0' scsibus: 0 target: 3 lun: 0 Using libscg version 'schily-0.1' atapi: 0 cdrecord: Cannot do inquiry for CD/DVD-Recorder. cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error CDB: 00 00 00 00 00 00 status: 0x0 (GOOD STATUS) cmd finished after 0.000s timeout 40s cdrecord: The unit seems to be hung and needs power cycling. I can't help but notice that reference to freebsd4.0 and we've got: %uname -a FreeBSD some.domain.name 3.4-STABLE FreeBSD 3.4-STABLE #4: Tue Mar 7 23:10:10 EST 2000 This same error message appears irrespective of the command line. More info with -V: %cdrecord -v speed=4 dev=0,3,0 ardent.raw -VV Cdrecord 1.8 (i386-unknown-freebsd4.0) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM cdrecord: No such file or directory. WARNING: RR-scheduler not available, disabling. scsidev: '0,3,0' scsibus: 0 target: 3 lun: 0 Using libscg version 'schily-0.1' atapi: 0 Executing 'test unit ready' command on Bus 0 Target 3, Lun 0 timeout 40s CDB: 00 00 00 00 00 00 cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error CDB: 00 00 00 00 00 00 status: 0x0 (GOOD STATUS) cmd finished after 0.000s timeout 40s Executing 'test unit ready' command on Bus 0 Target 3, Lun 0 timeout 40s CDB: 00 00 00 00 00 00 cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error CDB: 00 00 00 00 00 00 status: 0x0 (GOOD STATUS) cmd finished after 0.000s timeout 40s Executing 'inquiry' command on Bus 0 Target 3, Lun 0 timeout 40s CDB: 12 00 00 00 24 00 cdrecord: Input/output error. inquiry: scsi sendcmd: retryable error CDB: 12 00 00 00 24 00 status: 0x0 (GOOD STATUS) cmd finished after 0.000s timeout 40s Got 36 (0x24), expecting 36 (0x24) bytes of data. Received Data: 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 00 00 00 00 error: 1 scb.chk: 0 sense_count: 32 sense.code: 0x0 cdrecord: Cannot do inquiry for CD/DVD-Recorder. Executing 'test unit ready' command on Bus 0 Target 3, Lun 0 timeout 40s CDB: 00 00 00 00 00 00 cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error CDB: 00 00 00 00 00 00 status: 0x0 (GOOD STATUS) cmd finished after 0.000s timeout 40s cdrecord: The unit seems to be hung and needs power cycling. TIA -- Andrew Johns BSc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message