Click to See Complete Forum and Search --> : CD-RW kernel compiling howto


complication
08-24-2001, 12:14 AM
does anyone know a good howto on how to get your CDRW drive working? I know there used to be a good one at www.maximumlinux.com (http://www.maximumlinux.com) but I guess that it was closed down. I am looking for kernel config parameters to set. Thanks to anyone who helps.

complication
08-24-2001, 01:10 AM
nevermind, i found a usefull guide.
http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO.html

Malakin
08-24-2001, 01:17 AM
Here's a quick howto :)

This assumes you have an ide burner.

Non obvious kernel options:

scsi support, scsi cdrom support, scsi generic support, scsi emulation support (under "ide/ata and atapi block devices" in the recent kernels).

You need the "append=" hdd=ide-scsi"" line in lilo if you have "ide/atapi cdrom support" enabled so that it will use scsi emulation instead which is required for cd burners. Change "hdd" to whatever your cd burner is ("dmesg | grep hd" in case you're not sure). My lilo entry looks like this:

image=/boot/vmlinuz label=linux root=/dev/hda2 initrd=/boot/initrd.img append=" hdd=ide-scsi"
read-only

If it's your only scsi device (remember it's emulating scsi so it's treated as one) then it will show up as /dev/scd0, you can make the following link for it "ln /dev/scd0 /dev/cdrom" assuming you don't have anything on /dev/cdrom already.

Add an entry for it in fstab:

/dev/cdrom /mnt/cdrom iso9660 ro,exec,user,nodev 0 0

or if you use supermount:
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,ro,exec,user,nodev,dev=/dev/cdrom 0 0

That's about it.

You can also read this howto: http://linuxnewbie.org/nhf/intel/software/cdrecord_cdr.html