*BSD News Article 99356


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!news.mira.net.au!pumpkin.pangea.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.nacamar.de!fu-berlin.de!cs.tu-berlin.de!js
From: js@cs.tu-berlin.de (Joerg Schilling)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.bsd.netbsd.misc,comp.unix.bsd.openbsd.misc,comp.unix.bsd.misc
Subject: Re: Cdrecord-1.5a4 source available for testing
Date: 10 Jul 1997 13:28:16 GMT
Organization: Technical University of Berlin, Germany
Lines: 128
Message-ID: <5q2o1g$hkl$1@news.cs.tu-berlin.de>
References: <5pudlc$f07$1@news.cs.tu-berlin.de>
NNTP-Posting-Host: 130.149.25.72
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44212 comp.unix.bsd.netbsd.misc:6239 comp.unix.bsd.openbsd.misc:172 comp.unix.bsd.misc:3674

For those who are interested:

I got a report that cdrecord indeed works fine on FreeBSD.
However you may need to fiddle a bit with linking /dev/scgx to /dev/rworm0.ctl
or similar in order to make it woring on your machine. I hope that 
*BSD hackers will work on their system sources (mainly usability of the userland
SCSI interfaces) to make the installation more easier to do.

I forgot to change the file include/mconfig.h for  OpenBSD.
If you have problems compiling cdrecord on OpenBSD, you need to edit this file
and add a definition for OpenBSD on line 709

A second hint for all *BSD systems. mkisofs-1.11 has been reported to dump
core. This is because it is a specialized version that is able to 
read from a CD-R device un SunOS by using the /dev/scg generic SCSI interface.
The SCSI library need a special printf implementation that is currently
not able to print floating point numbers on *BSD systems because *BSD is the
only *NIX on the world that has no ecvt(),gcvt(),fcvt().
However the original mkisofs-1.11 will not compile either.
Use my hacked version with the included original Makfile or
remove the 
LIBS = -lschily
CPPOPTS += -DUSE_SCG 
line from the Makefile
and disable linking with all files from  scsi.c ..... in the CFILES
setion.

Note: you definitely need mkisofs-1.11 if you like to create multi-session
disks.

BSDmake has a buggy implementation of the percent macro expansion it will
not work! use Gmake or better my smake from the makefiles distribution
on ftp://ftp.fokus.gmd.de/pub/unix/makefiles


Joerg

In article <5pudlc$f07$1@news.cs.tu-berlin.de>,
Joerg Schilling <js@cs.tu-berlin.de> wrote:
>
>Cdrecord-1.5a4 has been released.

>*BSD has a userland SCSI ioctl(2) that is very similar to my /dev/scg* design
>that I made in 1986 for SunOS/Solaris. Unfortunately every other line of code
>seems to try to keep me away from using this code. See hints below
>for using cdrecord on *BSD systems.
>
>Cdrecord supports all major CD-R devices except the JVC line.
>Cdrecord supports all devices in single and multi-session.
>Cdrecord has a built in drive abstraction Layer and may easily
>ported to other Operationg systems and for use with other drives.
>JVC support is planned, Yamaha CDR-400 support was added in alpha
>state some days ago. Multisesion support for this drive will follow
>in some days. Other SCSI-3/mmc conformant drives should work also.
>
>I would be happy to get test reports ...
>
>Cdrecord runs on:
>
>	Philips CDD 522
>	Philips CDD 2000
>	Philips CDD 2600
>	HP C4324/C4325	 (HP SureStore 4020i/6020i)
>	Plasmon	RF-4100
>	Plasmon CDR 4220 (not tested)
>	Grundig CDR-100  (not tested)
>	Mitsumi	CR-2401-TS (not tested)
>	Yamaha	CDR-100
>	Yamaha	CDR-102
>	Ricoh	RO-1420S
>	Sony	CDU-924
>	Smart & Friendly CD-R2004
>	Taiyo Yuden CD-WO EW-50 (not tested)
>	Yamaha	CDR-200 (alpha supp. for single-session)
>	Yamaha	CDR-400 (alpha supp. for single-session)
>	Ricoh	MP-6200 (alpha supp. for single-session)
>
>
>Multi-session has not been tested with the Plasmon RF-4100
>
>NOTE:	These tar archives are 100% ansi compatible. Solaris 2.x tar and GNU
>	tar may get some minor trouble.
>
>The files are located on:
>
>ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha ...
>
>If you need mkisofs, it is located on:
>
>ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/mkisofs-1.11.tar.gz
>
>but it is also contained in cdrecord-1.4 and later
>
>Hints for installing/testing:
>
>Read the README.xxxBSD file in the disribution.
>
>If /dev/su0-0-0 ... do not work on your system, you may try
>to symlink /dev/scgx to the real driver entry for your device.
>If e.g. the CD-Recorder is on /dev/cd0a, you can do:
>
>cd /dev
>ln -s cd0a scgx
>
>You may also try to link /dev/scgx to /dev/cd0c  /dev/cd0d or /dev/cd0.ctl
>*BSD seems not to be well tested with user level SCSI commands.
>
>You then will be able to access the CD-Recorder as on other
>systems. If your CD-Recorder is on SCSI Bus 0, Target 2, lun 0
>type:
>
>cdrecord dev=0,2,0 .....
>
>I hope to get cdrecord work better with your help soon.
>
>Jörg
>-- 
>EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
>      js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
>      jes@fokus.gmd.de			(work) chars I am J"org Schilling
>URL:  http://www.fokus.gmd.de/usr/schilling    ftp://ftp.fokus.gmd.de/pub/unix


-- 
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
      js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
      jes@fokus.gmd.de			(work) chars I am J"org Schilling
URL:  http://www.fokus.gmd.de/usr/schilling    ftp://ftp.fokus.gmd.de/pub/unix