CD burning with a 2.4 kernel: how to configure Debian properly?
Posted by istoyanov on Wed 25 Jan 2006 at 09:46
It is fairly clear how to burn CDs with a 2.6 kernel, but I wonder what is the correct way to configuring Debian Sarge to read/write CDs with the default 2.4.27-2 kernel.
Chris pointed out in his nice article, that:
Under the 2.4 series kernel - to be able to use an IDE CD burner we were forced to use SCSI emulation (via the kernel module ide-scsi).
However, I am still not sure what is the best way to configure a clean Debian install to use the CD-R functionality.
Yes, I know about The Linux CD-ROM HOWTO, but I feel it is quite generic and I am not so experienced to know if everything therein is valid for Debian.
Thank you all in advance for any hints or more profound advice![ Parent | Reply to this comment ]
Any more hints?
[ Parent | Reply to this comment ]
Me too, precisely why I don't run archaic software like 2.4 kernels without a very good reason.
This is well documented elsewhere, we'd do better spending our time telling people not to run...
sendmail
2.4 kernels
Apache 1.anything
Okay 2.6 is only just over two years old, but a lot of work was done to cdrecord and friends precisely to avoid the pain of specifying kernel options to write a CD.
The sensible way to configure Debian to do this, assuming you have an IDE CD recorder, is definitely to upgrade to a kernel that supports this without unneeded emulation layers.
The other day, I hot-plugged a USB CD recorder into my Debian Sarge box at work for the first time, one wget, and one cdrecord command to identify the correct CD device to use, and one cdrecord command to write the ISO, and I had a netinst disk for Etch. It is suppose to be this easy, lots of people sweated blood and tears to make it this easy to write CDs, and you want to go back to the 2003 way of doing things....
Simon, only too grateful to have removed all that ide-scsi rubbish from his desktop PC at home.
[ Parent | Reply to this comment ]
As this question probably appeals to newbies at least as much as administrators, I've created an answer to the equivalent question at the bottom of the FAQ on newbiedocs to record what I learned here -- I was careful not to copy any of the previous posts as the content is as far as I know the copyright of its authors: http://newbiedoc.berlios.de/wiki/FAQs
[ Parent | Reply to this comment ]
Adaptec 2940 Ultra2 SCSI adapter
aic7890/91: Ultra2 Wide Channel A,
Laurent
[ Parent | Reply to this comment ]
-Add "options ide-cd ignore-hdc" to /etc/modutils/cdburner and run update-modules, where hdc is your burner (it could be hda, etc.)
-Do not add any 'append="hdc=ide-scsi"' to /etc/lilo.conf
-Add these modules to /etc/modules in this order:
ide-detect
ide-cd
ide-scsi
Basically, you need to make sure that ide-detect (and ide-cd) is loaded before ide-scsi. Test with cdrecord -scanbus. Then link /dev/cdrom to /dev/scd0 and you should be all set.
I hope this helps.
[ Parent | Reply to this comment ]
Robert
[ Parent | Reply to this comment ]
Cheers!!!
[ Parent | Reply to this comment ]
could you pls provide step by step instructions if possible,
thanks in advance.
rs
[ Parent | Reply to this comment ]
HTH!
[ Parent | Reply to this comment ]