Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] ATAPI CDRW devices and kernel options


I always take several goes to choose the right sets of config options
when building a kernel to support normal modern CD-RW devices.  So this
time I wrote it down, including where to find all the options (when
you do a "make xconfig" for 2.4 series kernels, anyway).  Then I thought
I may as well share it with others, so here it is FWIW:

Article in LJ Oct 1999.  To get cdrecord to work you need:
    In "SCSI support":
        Enable:   SCSI support, SCSI CD-ROM support, SCSI generic
    In "File systems":
        Enable:   ISO9660 cdrom fs support,
        Enable:   Microsoft Joliet extensions (may as well)
    In "ATA/IDE/MFM/RLL support": "IDE, ATA and ATAPI Block Devices":
        Enable:   SCSI emulation
***     DISABLE:  IDE/ATAPI CD-ROM support  ***
                  (since it disables SCSI emulation, needed for CDRW support!)
    In "Block devices":
        Enable: loopback device (a good idea).

I think I've also figured out why I've always failed at building kernels
with module version numbers compiled in until now - you have to have
genksyms etc. in your PATH for that to work, which means you must have
/sbin and /usr/sbin in your PATH (which may not be so, if you've only
su'd to root).

BTW, I had to manually "insmod ide-scsi" before cdrecord would work -
how should it happen?  Some kind of entry in /etc/modules.conf?

luke