From owner-freebsd-current Thu Sep 24 03:55:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA10058 for freebsd-current-outgoing; Thu, 24 Sep 1998 03:55:49 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from btp1da.phy.uni-bayreuth.de (btp1da.phy.uni-bayreuth.de [132.180.20.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA10053 for ; Thu, 24 Sep 1998 03:55:47 -0700 (PDT) (envelope-from croot@btp1da.phy.uni-bayreuth.de) Received: (from root@localhost) by btp1da.phy.uni-bayreuth.de (8.8.8/8.7.3) id MAA02839; Thu, 24 Sep 1998 12:55:19 +0200 (MEST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199809240153.TAA26067@panzer.plutotech.com> Date: Thu, 24 Sep 1998 12:55:17 +0200 (MEST) Organization: university of bayreuth From: Werner Griessl To: "Kenneth D. Merry" Subject: Re: burn cd ? Cc: current@FreeBSD.ORG, (Edwin Culp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 24-Sep-98 Kenneth D. Merry wrote: > Edwin Culp wrote... >> "Kenneth D. Merry" wrote: >> >> > Werner Griessl wrote... >> > > How can I burn cd's now in current/cam/elf ? >> > > I used the worm-device and team ("burncd.sh") before. >> > > Werner >> > >> > You have to use cdrecord. Try the port: >> > >> > ftp://ftp.kdm.org/pub/FreeBSD/cam/cdrecord-1.6-cam.980709.tar.gz >> > >> > or a binary with the latest CAM fixes: >> > >> > ftp://ftp.kdm.org/pub/FreeBSD/cam/test/cdrecord-1.6.1a3.test > > Okay, there are several things going on here: > >> With a this morning's elf world, kernel and the above binary, I get >> p400:/usr/local/sbin # ./cdrecord.test dev=0,3,0 blank=all >> Cdrecord release 1.6.1a3 Copyright (C) 1995-1998 Jörg Schilling >> ./cdrecord.test: Undefined error: 0. WARNING: RR-scheduler not available, >> disabl >> ing. >> scsidev: '0,3,0' >> scsibus: 0 target: 3 lun: 0 >> ./cdrecord.test: No such file or directory. Cannot open SCSI driver. > > My guess is that one of the following is true: > > - you haven't made the xpt or pass devices in /dev > - you don't have the passthrough device in your kernel config file > > Please make sure that both of those devices are there, and that you've got > the passthrough device in your kernel. > > Try typing: > > ./cdrecord.test -scanbus > > You'll probably get a more verbose error message. > >> with cdrecord 1.6.a12 >> >> p400:/usr/local/sbin # /var/ftp/incoming/cdrecord dev=0,3,0 speed=2 >> driver=mm > >> Cdrecord release 1.6a12 Copyright (C) 1995-1998 Jörg Schilling >> scsidev: '0,3,0' >> scsibus: 0 target: 3 lun: 0 >> /var/ftp/incoming/cdrecord: Inappropriate ioctl for device. Cannot get >> SCSI addr >> . >> /var/ftp/incoming/cdrecord: Cannot do inquiry for CD-Recorder. >> /var/ftp/incoming/cdrecord: Undefined error: 0. test unit ready: scsi >> sendcmd: f >> atal error >> cmd finished after 0.000s timeout 40s > > You must be using a cdrecord binary build under the old SCSI subsystem. It > won't work, the CAM SCSI passthrough interface is completely different. > >> They will all work with an old kernel. > > What worked with an old kernel? How old of a kernel? > > > Ken > -- > Kenneth Merry > ken@plutotech.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message ---------------------------------- Have the same problem now. "cdrecord dev=0,2,0 toc" was definitly working for me Sep 22 with cdrecord build from "cdrecord-1.6-cam.980709.tar.gz" also Sep 22 . cdrecord -scanbus give today: Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling scsibus0: lookup for 0,0,0 failed attempt to reference invalid unit -1 0) * 1) 'IBM ' 'DCAS-34330 ' 'S65A' Disk 2) 'PHILIPS ' 'CDD2600 ' '1.07' Removable CD-ROM 3) 'SEAGATE ' 'ST15230N ' '0298' Disk 4) 'DEC ' 'RRD42 (C) DEC ' '4.5d' Removable CD-ROM 5) 'SONY ' 'SDT-9000 ' '0123' Removable Tape lookup for 0,6,0 failed attempt to reference invalid unit -1 6) * lookup for 0,7,0 failed attempt to reference invalid unit -1 7) * Looking in the cvsup history there are changes Sep 23: Edit src/sys/cam/cam_xpt.c Add delta 1.11 98.09.22.20.41.12 ken Add delta 1.12 98.09.23.03.03.19 gibbs Edit src/sys/cam/scsi/scsi_cd.c Add delta 1.4 98.09.23.03.17.08 ken I tried also a (smp)-kernel from yesterday (Sep 23) and a (up)-kernel from Sep 22 and the rest of the system from today (SEP 24) with no luck, so maybe a change in the libraries (camlib ?) could be the reason. Werner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message