Date: Thu, 24 Sep 1998 15:05:00 +0200 (MEST) From: Werner Griessl <croot@btp1da.phy.uni-bayreuth.de> To: Werner Griessl <croot@btp1da.phy.uni-bayreuth.de> Cc: (Edwin Culp) <eculp@webwizard.org.mx>, current@FreeBSD.ORG, "Kenneth D. Merry" <ken@plutotech.com> Subject: Re: burn cd ? Message-ID: <XFMail.980924150500.croot@btp1da.phy.uni-bayreuth.de> In-Reply-To: <XFMail.980924125517.croot@btp1da.phy.uni-bayreuth.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24-Sep-98 Werner Griessl wrote: > > 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 ---------------------------------- Shame on me and sorry for the noise, but forget my last mail, I forgot the "-" in front of toc . "cdrecord dev=0,2,0 -toc" works for me with current from today: Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling scsidev: '0,2,0' scsibus: 0 target: 2 lun: 0 Device type : Removable CD-ROM Version : 2 Response Format: 2 Capabilities : Vendor_info : 'PHILIPS ' Identifikation : 'CDD2600 ' Revision : '1.07' Device seems to be: Philips CDD-2600. Using driver for Philips CDD-522 (philips_cdd522). Driver flags : cdrecord: Drive needs to reload the media to return to proper status. first: 1 last 1 track: 1 lba: 0 ( 0) 00:02:00 adr: 1 control: 4 mode: 1 track:lout lba: 323547 ( 1294188) 71:55:72 adr: 1 control: 4 mode: -1 Werner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980924150500.croot>