Re: [SLUG] Loading a driver permanently

From: Mario Lombardo (mario@alienscience.com)
Date: Mon Sep 02 2002 - 20:35:59 EDT


In short, what I need answers to are in paragraphs two and four.

Ok, I have an update with my driver issues. First, in case it wasn't
clear, my card is an ISA card, and I'm running RH7.1. It's an
Advansys ABP-5140/42 SCSI II card with internal and external SCSI II
ports. It is plug-n-play, and I have the isapnptools-1.22-2 loaded
as well as the default Advansys driver that came with my system
(advansys.o).

Unfortunately, even though I have "options -k advansys" at the bottom
of my /etc/modules.conf, the silly thing still doesn't load
automatically. In fact, if I do a "modprobe advansys" it will load,
but /proc/isapnp still says the board is not active even though
everything seems functional and I can mount my CD-ROM and SCSI
drives! Why is that?

Sooo what I've done, which I don't think is satisfactory, in rc.local
(thanks guys) is add the following lines before the touch command,
which is the very last line by default:

isapnp /etc/isapnp.conf
modprobe advansys

Now, when I check /proc/isapnp, it says the board is active, and when
I do a lsmod, it shows the driver loaded, so after I boot up, I'm
ready to use my SCSI stuff. GOOD!

One problem, I have RAID1 running on the only two SCSI disks on the
internal ribbon. I would like to have these included in the autoraid
detection during the boot cycle and in my fstab for fsck (I can put
those in myself). I don't know which rc script, if any, is
responsible for the autoraid detection, but I see it happen. I feel
if that can be accomplished, if I have a power failure or something,
my system will start up again and repair *all* the drives that were
improperly shut down.

/mario



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:32:55 EDT