From owner-freebsd-questions Sat Dec 19 13:31:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20613 for freebsd-questions-outgoing; Sat, 19 Dec 1998 13:31:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from elemental.alchemy.com (elemental.alchemy.com [206.58.126.23]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20592 for ; Sat, 19 Dec 1998 13:31:01 -0800 (PST) (envelope-from steve@alchemy.com) Received: from elemental.alchemy.com (elemental.alchemy.com [206.58.126.23]) by elemental.alchemy.com (8.9.1/8.9.1) with SMTP id NAA03570 for ; Sat, 19 Dec 1998 13:29:59 -0800 (PST) Date: Sat, 19 Dec 1998 13:29:58 -0800 (PST) From: Steve Willoughby To: freebsd-questions@FreeBSD.ORG Subject: problem with CD-R writing. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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