You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, March 23rd 2003, 6:28pm

getting cdwriting to work under debian gnu/linux.

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