Hi,
---

attached a way how I implemented support of IDE CD-writers under
Mandrake 7.0 compiling the kernel with both ide-cd.o and ide-scsi.o as
module, see my suggestions in the posting 'Bugs in Linux Mandrake 7.1
beta'.

   Till


Hi
--

David Aspinall wrote:
> 
>  >  - Compile the driver for IDE CD-ROM drives as module so that the driver
>  > can be unloaded and replaced by the IDE-SCSI
>  >    emulation. So IDE CD-writers can be used without recompiling the
>  > kernel.
> 
> Have you ever done this successfully?  I tried it a while ago but it
> didn't seem to work...

I have done exactly the following steps under Mandrake 7.0 and it works
perfectly, it should work in a similar way also in 7.1:

Configuring IDE CD-ROM drives (writers) for use under SCSI emulation
====================================================================

Red Hat Linux and derivatives, Kernel >= 2.2.14

 - Recompile kernel:

     Overtake distribution configuration:

        cd /usr/src/linux
        cp /usr/doc/kernel-doc*/config/kernel-xxx.config .config
        make menuconfig
     
     Only change in kernel configuration (the settings in brackets
should
     work, too, but I didn't test them, my settings are also the best
for
     universal distribution kernels):

        'Block Devices'/'IDE CD-ROM support' as module (or off)
        'Block Devices'/'IDE SCSI emulation' as module (or on)
        'SCSI'/'SCSI support' on (or as module)
        'SCSI'/'generic SCSI' as module (or on)

     Compile including the modules:

        time make dep clean bzImage modules modules_install bzlilo

 - Edit /etc/lilo.conf to include new kernel as default:

     # Entry for newly compiled kernel
     image=/vmlinuz
        label=linux
        root=/dev/hda6
        append=""
        read-only
     # Original entry with changed 'label'
     image=/boot/vmlinuz
        label=linux.old
        root=/dev/hda6
        append=""
        read-only 

   Activate changes:

      lilo

 - Create /etc/rc.d/rc.modules (or add line if file already exists):

      modprobe ide-scsi

   and make it executable so that the IDE SCSI emulation is loaded at
   boot time. Alternatively the loading of the module can be done
   before or after the loading of the sound modules in
   /etc/rc.d/rc.sysinit.

 - Redirect CD-ROM link:

      rm /dev/cdrom
      ln -s /dev/scd0 /dev/cdrom

 - Reboot, enter 'lsmod', 'dmesg', and 'cdrecord -scanbus' for further
   checking, CD-ROM should be supermounted on access to /mnt/cdrom.
   X-CD-Roast (both 0.96xxx and 0.98) should run out-of-the-box.


Reply via email to