Getting CD writing to work with SCSI-emulation for Debian users.
prerequesites to burn anything in any distro:
mkisofs
cdrecord
cdrdao (i think)
optional: burning app --> (K3b, cdbakeoven, X-CDroast)
1: enable scsi emulation.
go into modconf (modconf) and scroll down to kernel/drivers/scsi and select 'ide-scsi'.
2: view your cdrom drives.
type: dmesg | grep ATAPI
you will see your cdrom drives and at the end 'scsi0 : SCSI host adapter emulation for IDE ATAPI devices'
write down your cd burner, you'll need it for later.
3: use your fav text editor to go into /etc/lilo.conf (if you have grub i cant help you)
right after you specify your boot device (about 35 lines down) type this:
append="hdc=ide-scsi"
where i put hdc you put your cd writer drive.
4: reboot.
yes its one of the rare times you need to reboot. because lilo needs to do its dance over again and make sure to recognize hdc as a scsi device.
5: check.
type: dmesg | grep ATAPI
you should only see your cd writer device name once, and at the end it must say 'scsi0 : SCSI host ...."
6: check again.
type: cdrecord -scanbus
you should see something like this:
tuxbox:/home/kal# cdrecord -scanbus
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HP ' 'CD-Writer+ 9500 ' '1.0e' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
7: grab your fav burning app and lets go! you probably need to change permissions to burn a cd or run as root. other applications you'll prolly apt-get (for burning abilities) are:
mpg321 (or mpg123)
transcode
vcdtools
vcdimager
cdrdao
a note for the kernel modules: modconf is debian specific (AFAIK) however you should be able to do insmod ide-scsi instead.
hope this is helpful to people!
-Kal