CD-Burning

If your having an iBook with a CD-RW-drive you have to use the SCSI-interface for accessing your drive. This is because cdrecord only works with SCSI-drives.

Linux v2.4.x

You turn on SCSI-support for your CD-RW-drive by enabling the SCSI-emulation for IDE-devices when compiling the kernel. In addition to this you also have to select the following SCSI-modules:

<M> SCSI support
--- SCSI support type (disk, tape, CD-ROM)
<M>    SCSI disk support
(40) Maximum number of SCSI disks that can be loaded as modules
< >    SCSI tape support
< >    SCSI OnStream SC-x0 tape support
<M>    SCSI CD-ROM support
[*]     Enable vendor-specific extensions (for SCSI CDROM)
(2) Maximum number of CDROM devices that can be loaded as modules
<M>   SCSI generic support
--- Some SCSI devices (e.g. CD jukebox) support multiple LUNs
[ ]   Enable extra checks in new queueing code
[ ]   Probe all LUNs on each SCSI device
[*]   Verbose SCSI error reporting (kernel size +=12K)
[ ]   SCSI logging facility
SCSI low-level drivers  --->
PCMCIA SCSI adapter support  --->

Of course you can also compile everything into the kernel if you don't like modules. But if you choose modules, you also have to specify some options for the above modules. Especially you have to tell the ide-cd-module not to control your CD-drive. The options are:

options ide-cd  ignore=hdb

alias scd0 sr_mod

pre-install sg        modprobe ide-scsi # load ide-scsi before sg
pre-install sr_mod    modprobe ide-scsi # load ide-scsi before sr_mod
pre-install ide-scsi  modprobe ide-cd   # load ide-cd   before ide-scsi
                 
post-install sr_mod   modprobe sg       # load sg       after sr_mod

Inserting the sg-modules is important for cdparanoia. You also have to enable read-write access to the sg0-device:

 
chmod g+rw /dev/sg0 ; chgrp cdrom /dev/sg0

Of course the users who should be able to rip CDs must be in the group cdrom .

Finally you have to set /dev/cdrom to /dev/scd0 and everything should be ready to use cdrecord or xcdroast or whatever you prefer for burning CDs.

Linux v2.6.x

With kernel 2.6 you can directly access the IDE CDRW drive. All you have to do is install a sufficiently new version of cdrecord.