Freebsd Quest: CD burning ..

Since last week, I\'ve been searching on the net for a guide to configure my CD-Writer to work under Freebsd. Not much resources available, means a specific howto to do that. Freebsd Handbook, just covering a basic on how to set it up using either burncd (for ATAPI writer) and cdrecord for the SCSI. Mine is ATAPI (Matshita CD-R CW7585) so it should work with burncd but it\'s not. burncd keep giving an error message. Later I found that my writer is not supported yet with burncd ( www.freebsd.dk/ata ). So the only option (according to handbook) is to use ATAPI/CAM driver that will provide access to the cd-writer through a SCSI interface. Maybe somewhat similar to the ide-scsi emulation in linux. To use ATAPI/CAM driver, I have to recompile the kernel to include the driver into the kernel (which I\'d try to avoid in the first place). I had a bad experience compiling kernel under linux, so kinda like a nightmare for me. The Handbook has a step-by-step guide on how to compile the kernel. First I need to cd into the source dir and copy the GENERIC kernel config file:
# cd /usr/src/sys/i386/conf
# cp GENERIC MYKERNEL

The next step is to edit the kernel config file and include the CAM driver:
device atapicam
device scbus
device cd
device pass
Then I\'ve to run the config command:
# /usr/sbin/config MYKERNEL
Now I can start building the kernel:
# cd ../compile/MYKERNEL
# make depend
# make
# make install
Done. The new kernel is located at /kernel while the old one is rename to /kernel.old. I\'d only have to reboot my machine to load the new kernel. Praying for nothing would go wrong, I restart my machine and .. voila !! The new kernel boot up without any problem. Now I have support for my CD-Writer. For the burning purposes, the standard tools mkisofs and cdrecord is used. Since last night, I\'ve kept myself busy burning all the stuff on my harddrive.

Comments

oh, you are freebsd user? Great! :)

Well, FreeBSD handbook is really useful. We don\'t see Linux handbook, do we?

Compiling FreeBSD kernal is very easy and it it a frequent task most FreeBSD geek do (example: to get best performance).

well .. I\'m just a newbie. trying to understand how all these things work but I do agree with you. freebsd is really cool.

linux handbook ... ? remind me for these saying \'freebsd is what you get when a bunch of unix hackers sit down and trying to port unix os to the pc, while linux is what you get when a bunch of pc hackers sit down trying to write unix like operating system\'. it\'s a different world but fit each other. I\'m still watching my movies on Linux ..or windows :)