How to Use cdrecord on a 64 Bit Solaris 7 System (Ultra 5 or Ultra 10)

Download cdrecord-1.9, and smake.  Also download SCHILYscg.sparc.tar.Z, and both of the drivers, scg-sparc-sol2.7 and scg-sparcv9-sol2.7.beta.  Uncompress and untar the cdrecord source archive, and use smake as the make command to compile and install cdrecord version 1.9.1.  Follow the directions given in the cdrecord source archive exactly in order to have a successful compilation of cdrecord.  The normal installation point is /opt/schily and I do not see any reason why that should be altered.  Of course, you will need to be root to do the install.

After you have compiled cdrecord, you must install the scsii general drivers, scg.  The following steps work for root:

  1. In an appropriate directory, uncompress and untar SCHILYscg.sparc.tar.Z as follows:
          zcat SCHILYscg.sparc.tar.Z | tar -xvf -
     
  2. Install this with:
          pkgadd -d .
     
  3. Copy the true scg drivers to their kernel locations and eliminate the old driver module with:
          cp scg-sparc-sol2.7 /kernel/drv/scg
          cp scg-sparcv9-sol2.7.beta /kernel/drv/sparcv9/scg
          sync
          sync
          modunload -i 0
     
  4. Check to be sure that the old driver module is not loaded, which means that the command given below does not return a line containing scg.
          modinfo | grep scg
     
  5. Activate the correct drivers with the commands:
          rm /dev/scg*
          drvconfig
          devlinks
     
  6. The command used in step 4 above should now return a line with scg in it.
     
  7. On an Ultra 5 or an Ultra 10, /etc/vold.conf does not contain any entries for CD drives on an external SCSII bus.  Therefore, volume management does not need to be stopped.
     
  8. Check the version of cdrecord with the command:
          /opt/schily/bin/cdrecord -version
     
  9. Check the SCSII bus id of the CD-R or CD-RW with:
          /opt/schily/bin/cdrecord -scanbus
     
  10. Create the file /etc/default/cdrecord with the following lines where # is an appropriate speed for the CD-R or CD-RW you are using, and #,#,# is the location determined in step 9:
          CDR_FIFOSIZE=8m
          CDR_SPEED=#
          CDR_DEVICE=#,#,#
     
  11. With appropriate media in the drive, test the system with:
          /opt/schily/bin/cdrecord -v -dummy -eject -data CD_image_here
     
  12. To write data CD's I use:
          /opt/schily/bin/cdrecord -v -eject -data CD_image_here
     
  13. I create CD images with:
          /opt/schily/bin/mkisofs -v -l -L -r -o CD_image_here
     
  14. I have not tried to create other kinds of images or write other kinds of CD's.  The manual pages at the cdrecord home site should give enough information on that.