[aclug-L] Re: Driver load order, two scsi adapters
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
This is actually the recommended method. Note that you don't have to
go to all that work, just making it a module will be fine.
If you absolutely have to avoid modules, edit drivers/scsi/host.c and
rearrange the lines under builtin_scsi_hosts[].
-- John
"Greg House" <ghouse@xxxxxxxxxxxxx> writes:
> I have an interesting question (at least, interesting to me...)
>
> At work I have a system with two SCSI host adapters in it. One is a Symbios
> 8751S running a local disk, which is my boot device, and a Qlogic ISP2100
> attached to a disk array.
>
> My problem is that when I compile in the qlogicfc driver for that host
> adapter, it loads it before the sym driver for the 8751, so it configures
> the logical units on the array before the boot disk. That messes up the
> mounting of the root device, which was sda before and ends up being like sdg
> or whatever (depends on how many logical units I create).
>
> Now, I talked to someone else who recommended compiling the sym driver into
> the kernel & the qlogic driver as a module, turning off kernel auto loading
> of modules and manually loading the module (with insmod) after the other
> driver has configured the boot disk. I did that in one of the rc.d scripts
> and it works fine.
>
> This doesn't seem like a very elegant solution to me. Is there a better way
> to select the sequence drivers are loaded?
>
> Thanks,
> Greg
>
>
--
John Goerzen Linux, Unix consulting & programming jgoerzen@xxxxxxxxxxxx |
Developer, Debian GNU/Linux (Free powerful OS upgrade) www.debian.org |
----------------------------------------------------------------------------+
The 96,180,056th prime number is 1,956,280,597.
|
|