Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 00:12:56 +1100
From:      "Andrew Johns" <johnsa@kpi.com.au>
To:        <freebsd-questions@freebsd.org>
Subject:   cdrecord gives errors but known to work under <shame>win98</shame>
Message-ID:  <001301bf8c24$b16d39e0$d88427cb@kpi.com.au>

next in thread | raw e-mail | index | archive | help
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: <Adaptec 2940 Ultra2 SCSI adapter> 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: <MATSHITA CD-R   CW-7503 1.09> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301bf8c24$b16d39e0$d88427cb>