Last update 10. June 2000

## CDRecord/2 - FAQ

Q1a: The -scanbus command does not work. Cdrecord says 'Can't lock memory'.
Q1b: The -scanbus command does not work. Cdrecord repeats the last found device for every bus.
Q1c: The -scanbus command does not work. Cdrecord beeps and throws out some strange characters.
Q2: The -fifo command seems not to work.
Q3: What's about the wildcards mentioned in the manual?
Q4: I want to copy a CD. cdrecord dev=1,0 speed=2 -isosize /dev/scd0 does not work. If I provide a drive letter or a directory I get the message 'no read access' or 'permission denied'.
Q5: How do I create an image file with mkisofs?
Q6: How do I create an image of my whole partition?
Q7: I can't read the documentation.
Q8: If I click the drives icon in the Warpcenter while burning my machine hangs.
Q9: I've got OS/2 Warp 3 (red) on floppy disks and want to create an installation CD.
Q10: I only see the first session of a multisession disk with my SCSI-drive.
Q11: How do I use pipes to tie mkisofs and cdrecord/2 together? See Q4.
Q12: How do I get the ISO-image of a CD?
Q13: How do I make a 1:1 copy of a CD?
Q14: OS/2 traps with a Yamaha CRW4416s
Q15: CDRecord/2 throws out an error in -dummy mode with a Symbios Logic host adapter
Q16: cdd2wav does not work with my writer and a Symbios Logic host adapter
Q17: CDRecord/2 can't allocate filehandles for more than about 13 tracks
Q18: There's a SIGTERM message every time I burn a CD!
Q19: CDRecord/2 complains about a wrong EMX option.
Q20: CDRecord/2 does not work anymore after installing my scanner software.
Q21: Is it possible to use ATAPI writers?
Q22: New Filenames do not have special characters like 'Umlaute'.

Q1a: The -scanbus command does not work. cdrecord says 'Can't lock memory'.
A: This is a bug in the OS/2 version of cdrecord 1.8a8. It's partly fixed in V1.8a15. Get a recent release for a fixed version.

Q1b: The -scanbus command does not work. Cdrecord repeats the last found device on every bus.
A: This is a bug in the OS/2 version of cdrecord. It's fixed with V1.8a23.

Q1c: The -scanbus command does not work. Cdrecord beeps and throws out some strange characters.
A: This is a bug in the OS/2 version of cdrecord. It's fixed with V1.8a23.

Q2: The -fifo command seems not to work.
A: That's right for all versions up to V1.8a23. This feature is supported with V1.8a24 and above.

Q3: What's about the wildcards mentioned in the manual?
A: They are not working with versions before V1.8a19. You should upgrade to a more recent release.

Q4: I want to copy a CD. cdrecord dev=1,0 speed=2 -isosize /dev/scd0 does not work. If I provide a drive letter or a directory I get the message 'no read access' or 'permission denied'.
A: You can't mount a CD as an ISO-image with OS/2. So you have to use mkisofs or mkhybrid to create such an image prior to burning. You can tie mkisofs and cdrecord together using pipes:

mkisofs -l -L -R x:/ | cdrecord dev=1,0 -data -

So there is no image file necessary. I highly recommend to raise the priority of the mkisofs process to prevent buffer underruns:

spe t28 mkisofs -l -L -R x:/ | cdrecord dev=1,0 -data -

Important: Use the version of mkisofs which is included in the cdrecord/2 distribution when working with pipes! Other versions may have got a bug which causes opening of stdout in textmode. Also use cdrecord V1.8a15 or above only.

Cdrecord/2 V1.8a15 runs with timecritical priority 31. The priority of mkisofs must be <=30 to ensure cdrecord gets the necessary processor time. V1.8a8 runs with normal priority 0. The versions V1.8a22 and above have got a dynamic priority scheme with a maximum of timecritical 31. Depending on your system you may adjust the priority of mkisofs.

As an alternative solution you may use READCD.EXE of V1.8a24 to get the image of the CD. Then write it on your CD-R.

Q5: How do I create an image file with mkisofs?
A: Use the following command line:

mkisofs -l -L -R -o image.raw x:/dir_with_data

Q6: How do I create an image of my whole partition?
A: Use the following command line:

mkisofs -l -L -R -o image.raw x:/

Q7: I can't read the documentation.
A:The documents are postscript files. Get ghostview/ghostscript from Hobbes or LEO. It's a free postscript renderer to view and print those files.

Q8: If I click the drives icon in the Warpcenter while burning my machine hangs.
A:Cdrecord writes to the CDR without telling OS/2 anything about it. It uses directly the SCSI-Bus on a rather low level. When opening the drives folder the Warpcenter checks every drive. When doing so the write requests of cdrecord and the read requests of the Warpcenter collide and the system gets confused.

Q9: I've got OS/2 Warp 3 (red) on floppy disks and want to create an installation CD.
A: An installation CD may be done by simply copying the disks on the CD. Create for every disk a directory and name it

DISK_0 | DISK_1 | DISK_2 | DISK_3 | DISK_4
DISK_5 | DISK_6 | DISK_7 | DISK_8 | DISK_9
DISK_10 | DISK_11 | DISK_12 | DISK_13 |
DISP_1 | DISP_2 | DISP_3 | DISP_4 |
PMDD_1 | PMDD_2 | PMDD_3 |  |

On disk 1 of your floppy installation boot disks modify the config.sys in the following way:

SET OS2_SHELL=sysinst2.exe x:\disk_root_dir_on_CD

The same way you may install from a HD partition.

Q10: I only see the first session of a multisession disk with my SCSI-drive.
A: Seems to be a problem with the way SCSI-drives access the second session. There're AFAIK different methods to do that and if the OS2*.DMD doesn't know the name of the drive you're lost. I've read in a newsgroup that's possible to patch the *.DMD so it knows the right name afterwards to solve this problem. But I don't know how to do that exactly. You can usualy read the disk with an IDE-drive without problems.

Q12: How do I get the ISO-image of a CD?
A: Use READCD.EXE included in V1.8a24 to read the contents of the CD into an image file. See AN-1.8a19 for a description. The versions in V1.8a22/V1.8a23 are buggy so you can't use them.

Q13: How do I make a 1:1 copy of a CD?
A: Use READCD.EXE included in V1.8a24 to read the contents of the CD into an image file. See AN-1.8a19 for a description. The versions in V1.8a22/V1.8a23 are buggy so you can't use them.

Q14: OS/2 traps with a Yamaha CRW4416s
A: This problem is fixed with V1.8a24b.

Q15: CDRecord/2 throws out an error in -dummy mode with a Symbios Logic host adapter
A: Upgrade to V1.8a24b.
If this doesn't work try a driver version prior to V4.09/V4.10. V4.06 works well and I had reports that V4.00 and V4.01 also work without problems.

Q16: cdd2wav does not work with my writer and a Symbios Logic host adapter
A: See answer for Q15.

Q17: CDRecord/2 can't allocate filehandles for more than about 13 tracks
A: Should be fixed with V1.8a15 and above!. Put the following statement in your config.sys:

SET EMXOPT=-h255

Q18: There's a SIGTERM message every time I burn a CD!
A: The message is coming from the FIFO process being killed when CDRecord/2 is exiting. Since the CD is already burned nothing happens except this message. The CD is not damaged! This is normal behaviour with the current implementation.

Q19: CDRecord/2 complains about a wrong EMX option.
The following line is found in config.sys:

SET EMXOPT= -C -N -H1024

A: Change the H to h.

CDRecord/2 does not work anymore after installing my scanner software.
A: Some software changes the /ALL switch to /SHARE in the line

BASEDEV=OS2ASPI.DMD /ALL

Cdrecord/2 only works if /ALL is present!

Is it possible to use ATAPI writers?
A: Yes, if you install the driver DaniATAPI.flt. AFAIK it's also necessary to install DaniS506.add. Read the documentation coming with DaniATAPI.flt for more information. Both drivers are (c) D. Engert and somewhere on Hobbes.

I got an E-mail from Roderick Klein with some hints on usage:

    [...]
    You also need the latest release of Danis506.zip which can also be
    hobbes. For the router you need Daniatapi.zip. Instructions on how to
    install can be found in the readme files.

    [...]

    IBMIDECD.FLT  must be remmed out!

    I have not been able to get the driver going with my SCSI burner and
    RSJ (which should work) But I have been messing up with some installed
    RSJ drivers. Installing daniatapi.flt is great because you can then use
    CD read to read music with your IDE CD rom player (if I got it right )

    The following lines must be included in the config.sys in the following
    order:

    basedev=daniatapi.flt
    basedev=os2aspi.dmd /ALL
    device=x:\x\aspirout.sys

    Roderick

Filenames do not have special characters like 'Umlaute'.
A: Umlaute like Ä, Ö, Ü and other special characters may get lost when writing Joliet CDs. You have to tell mkisofs which codepage you're using. For german users this is codepage 850:

mkisofs -l -L -R -jcharset cp850 -o image.raw x:/

The following codepages are avaiable with mkisofs from V1.8.1a5 and above:

cp437 cp737 cp775 cp850 cp852 cp855 cp857 cp860 cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 iso8859-1 iso8859-2 iso8859-3 iso8859-4 iso8859-5 iso8859-6 iso8859-7 iso8859-8 iso8859-9 iso8859-14 iso8859-15 koi8-r

Back to main page