Lee wrote:
> ...
> just make sure you've got the scsi emulation etc. settings to Y as the howto
> suggests..
>
> ALSO:
>  you must insert the following into /etc/profile ( starting with test and
> ending with cdrecord -scanbus )
> -------------------------------------
> 
> test `whoami` = 'root' || echo "You must be root to execute the commands."
>        cdrecord -scanbus > /dev/null
>        if ! (pidof kerneld || test -f "/proc/sys/kernel/modprobe"); then
>            echo "Neither kerneld nor kmod are running to automatically load
> modules".
>        fi
>        report_no_autoload() {
>            echo "Ensure the module $1 is loaded automatically next time."
>        }
>        if test ! -f "/proc/scsi/scsi"; then
>            report_no_autoload scsi_mod  &&  insmod scsi_mod
>        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

This is not required, and I would not suggest doing it. All this is
doing is attempting to load a bunch of modules, and if you have compiled
them into the kernel (as you said you did above) then this is not
necessary. If the CDRW doesn't work unless you run this, it means you
have one or more of the above drivers compiled as modules, not into the
kernel.

With an out of the box RH system, only the ide-scsi module needs to be
loaded as a module. And that can be loaded with the single command
"insmod ide-scsi", rather than the entire script, or with an entry in
conf.modules (at least with RH 6.1).

-Duane



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to