FW: FW: [plug] Help Please

Bill Kenworthy billk at iinet.net.au
Fri Jul 27 20:17:03 WST 2001


As root, run the script following cut from the scsi howto.  it will test
and preload the proper modules - if they exist.  If not it will tell
you.  I had to build a custom kernel with scsi support as the cdrw was
fitted after the initial install.  I found that I had to maually load
the modules at bootup each time, so eventually just put the script in
rc.local (should have used modules.conf, but ...)

BillK


#_________________________________________________________
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

#______________________________________________________________

Simon Scott wrote:
> 
>         wow
> 
>         scsi=m means that you have scsi support compiled as a module. So no
> probs there
> 
>         I think your main problem is this cdrecord -scanbus problem.
> Obviously that is what the cd recording software is using to find the
> burner, and that is the response they are getting
> 
>         Have you checked for an update on mandrake's site?
>



More information about the plug mailing list