3
cd /lib/modules/*/kernel/drivers/scsi
4
/bin/modprobe scsi_mod.o.gz > /dev/null 2>&1
5
/bin/modprobe sd_mod.o.gz > /dev/null 2>&1
6
/bin/modprobe sr_mod.o.gz > /dev/null 2>&1
7
/bin/modprobe sg.o.gz > /dev/null 2>&1
8
/bin/modprobe libata.o.gz > /dev/null 2>&1
9
echo "Trying cpqarray";
10
if /bin/modprobe cpqarray > /dev/null 2>&1; then
11
echo "cpqarray.o.gz" > /scsidriver;
15
if /bin/modprobe cciss > /dev/null 2>&1; then
16
echo "cciss.o.gz" > /scsidriver;
20
if /bin/modprobe DAC960 > /dev/null 2>&1; then
21
echo "DAC960.o.gz" > /scsidriver;
24
/bin/modprobe ataraid.o.gz > /dev/null 2>&1
26
if /bin/modprobe medley > /dev/null 2>&1; then
27
echo "medley.o.gz" > /scsidriver;
30
echo "Trying hptraid";
31
if /bin/modprobe hptraid > /dev/null 2>&1; then
32
echo "hptraid.o.gz" > /scsidriver;
35
echo "Trying pdcraid";
36
if /bin/modprobe pdcraid > /dev/null 2>&1; then
37
echo "pdcraid.o.gz" > /scsidriver;
40
echo "Trying silraid";
41
if /bin/modprobe silraid > /dev/null 2>&1; then
42
echo "silraid.o.gz" > /scsidriver;
45
for i in * message/fusion/mptscsih.o.gz ;
47
# Skip the generic scsi modules and ancillary support modules
48
# Added eata_dma to skip list because it crashes some machines. Probe last.
49
if [ $i != "scsi_mod.o.gz" -a $i != "sd_mod.o.gz" -a $i != "sg.o.gz" -a $i != "sr_mod.o.gz" -a $i != "53c700.o.gz" -a $i != "NCR53C9x.o.gz" -a $i != "eata_dma.o.gz" -a $i != "libata.o.gz" ]; then
50
DRIVER=`echo $i | sed 's/.o.gz//'`
51
echo "Trying $DRIVER";
52
if /bin/modprobe $DRIVER > /dev/null 2>&1; then
53
echo $i > /scsidriver;
54
/bin/cat /proc/scsi/scsi;
59
echo "Trying eata_dma";
60
if /bin/modprobe eata_dma > /dev/null 2>&1; then
61
echo "eata_dma.o.gz" > /scsidriver;