Specifications

fi
if ! grep "^........ sg_" /proc/ksyms > /dev/null; then
report_no_autoload sg && insmod sg
fi
if ! grep "^........ sr_" /proc/ksyms > /dev/null; then
report_no_autoload sr_mod && insmod sr_mod
fi
if ! grep "^........ loop_" /proc/ksyms > /dev/null; then
report_no_autoload loop && insmod loop
fi
if ! grep iso9660 /proc/filesystems > /dev/null; then
report_no_autoload iso9660 && insmod iso9660
fi
echo "The following is only needed for IDE/ATAPI CD−writers."
if ! grep ide−scsi /proc/ide/drivers > /dev/null; then
report_no_autoload ide−scsi && insmod ide−scsi
fi
cdrecord −scanbus
Listing: Testing for drivers
Please read the next chapter if insmod complains about missing module files. If you are in text mode
(console), the loading of modules may cause some messages to be printed on your screen. If you are in
graphics mode (X11, KDE, Gnome), you can recall these messages with the command dmesg.
There are several ways to load the modules next time you start up your Linux system:
(1) Put the relevant insmod command into the startup sequence
(a shell script named rc.local or equivalent).
(2a) Run kerneld or kmod and
(2b) configure them in /etc/modules.conf (to be more precise,
you configure the utility modprobe, which is called by the daemons)
People with a SCSI−writer can skip the rest of this section, because cdrecord will most likely already detect
their hardware. If not, then please send me an email with some information about your setup, so I can
improve the section about SCSI−writers.
Now to the people with CD−writers for IDE/ATAPI. As written in the previous chapter, you have to load the
compatibility driver ide−scsi. But this driver can only access your CD−Writer if no other driver has already
done so. In other words, you have to tell the regular IDE driver to leave your CD−writer unrecognized, so the
ide−scsi driver can grab it.
hda = IDE bus/connector 0 master device
hdb = IDE bus/connector 0 slave device
hdc = IDE bus/connector 1 master device
hdd = IDE bus/connector 1 slave device
Table: device file names of IDE/ATAPI devices
CD−Writing HOWTO
2.1 Quickstart 10