KOnCD

Tips & tricks for KOnCD

Installation

- ./configure
- make
- make install (as root !)


ATAPI CD-Writer

The ATAPI standard describes method of sending SCSI commands over IDE
with some small limitations to the "real" SCSI standard.
For this reason ATAPI-SCSI emulation is the native method of
supporting ATAPI devices.

Many people ask why I use ATAPI-SCSI emulation.
The use of the naming convention "ATAPI-SCSI emulation" is a
litle bit misleading. It should rather be called:
"SCSI host adapter emulation"

Make your kernel ready for ATAPI CD-Writers:

1) run 'make menuconfig' or 'make xconfig', then choose "load config
from alternate file" to restore the original configuration

2) In "Block Devices", disable "IDE/ATAPI CD-ROM
support" and enable instead "scsi emulation"
In any case, you need to disable generic IDE/ATAPI CDROM support in
order to make ATAPI SCSI emulation working !

3) in "SCSI support" enable "SCSI support", "SCSI CD-ROM support" and
"SCSI generic support", everything directly in the kernel or as module

4) compile, install kernel/modules, reboot. Now, if everything went
fine, your CDROM units should show up with a message like:
"hdb: HP CD-Writer+ 7100, ATAPI CDROM drive - enabling SCSI emulation"

5) run "cdrecord -scanbus" to make sure cdrecord can see the unit and
talk to it. Or use the Setup of KOnCD to see the devices !

Don't forget that now -all- of your CD drives are seen as -SCSI- units
by all programs (/dev/scd0 or /dev/sr0 etc.), so you might want to relink
/dev/cdrom to the proper scd<n> / sr<n> in order to get xcdplay or whatever
to work again.

On SuSE Linux the atapi to scsi emulation is an modul. You don't need recompile your kernel !
Load the modul as root:

modprobe -k ide-scsi

This should be work ! Show the output of cdrecord and verify, if your devices are displayed (as root):

cdrecord -scanbus


Your permissions

Make sure you have enough permissions to cdrecord !
To make this, type at the console 'as root':

chown root /usr/bin/cdrecord
chmod 4711 /usr/bin/cdrecord

'/usr/bin/cdrecord' is the default path. When you don't know, where cdrecord is
located, type 'whereis cdrecord' ! Then you have the complete path of them !

You must have enough permissions to the cd-reader and cd-writer devices:
At least read permissions to the cd-reader and write permissions to the
cd-writer device ! Better you set read AND write permissions to the writer !
That is '/dev/scd0' or so. You must set this 'as root' with 'chmod' !

Look at the README and FAQ file in the KOnCD package !!!

Have fun with it !

 

(C)opyright 2001 Kai Heitkamp