Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 1998 13:29:58 -0800 (PST)
From:      Steve Willoughby <steve@alchemy.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   problem with CD-R writing.
Message-ID:  <Pine.BSF.4.01.9812191312430.3532-100000@elemental.alchemy.com>

next in thread | raw e-mail | index | archive | help
I have a generic SCSI CD-R drive (the brand is Smart and Friendly, which I'd
never heard of, but I (naively?) thought that SCSI drives were SCSI drives
were SCSI drives)...

The drive works fine under Win95, so I don't think the problem is that the
hardware's broken, but when I try to run it in my FreeBSD 2.2.7 system,
I get the following.  I hope someone out there has a clue to help.
Thanks in advance.

Okay, here are the gory details...

The drive is recognized at boot time:
    (ahc0:4:0): "SAF CD-RW226 1.12" type 5 removable SCSI 2
    cd0(ahc0:4:0): CD-ROM cd present [400000 x 2048 byte records]

The second line is puzzling since there was no cd present, but I didn't
think much of that.

When using cdrecord, I consistently get the following, no matter what operation
I try to perform:

    # cdrecord -inq dev=4,0
    Cdrecord release 1.6 Copyright (C) 1995-1998 Jvrg Schilling
    scsidev: '4,0'
    scsibus: 0 target: 4 lun: 0
    cdrecord: Cannot do inquiry for CD-Recorder.
    cdrecord: Undefined error: 0. test unit ready: scsi sendcmd: fatal error
    CDB:  00 00 00 00 00 00
    cmd finished after 0.000s timeout 40s

SCSI scans don't find anything:

    # cdrecord -scanbus
    Cdrecord release 1.6 Copyright (C) 1995-1998 Jvrg Schilling
    cdrecord: No target found.

I also tried cd-write, but that just spews Tk errors about undefined variables
(TkPriv, etc.), and that's running it with freshly-compiled Tcl/Tk 8.0.3+ libs
and Tix 4.1.8.0, so I don't think that's the problem.   But one thing that does
manage to come up with cd-write is the following which I get from the 
"copy cd" command:

It IDs the drive as "SAF CD-RW226 1.12", which I believe is the SCSI ID string
(since that came up at the boot-time scan too), but I get the TEST UNIT READY
failure message:

    TEST UNIT READY command failed
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    flags=0x1 senselen_used=32 status=0x02 retsts=0x03 error=0x0
    70 00 02 00 00 00 00 0a 00 00 00 00 3a 00 00 00 00 00 00 ff 94 3e 63 00 00 00 00 00 00 00 00 00

Do I just have a hopelessly incompatible CD-R drive, or can I do something
to the cdrecod sources, or did I miss something obvious?

TIA,
Steve Willoughby
steve@alchemy.com


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?Pine.BSF.4.01.9812191312430.3532-100000>