On Wed, 14 Mar 2001, Matt Stevenson wrote:

>
> This may be a simple question but I've not come across an answer in my
> web/deja searches.
>
> I've got a large linux with two SCSI controller cards, the first card is an
> IBM ServeRAID III RAID card which holds the raid mirror for my Linux core
> OS/boot partitions.
>
> The second is an Adaptec 2944UW card connected to an IBM Enterprise Storage
> server for about 800gig worth of storage. (The Enterprise Storage Server
> carves the 800gig into virtual LUNS of around 100gig each, so the SCSI card
> sees 8 "drives" on it)
>
> My problem is, Linux always wants to boot the Adaptec card first, so it
> assignes /dev/sda to the Adaptec card and tries booting off that.  Of course
> my /boot and / partition is on the internal ServeRAID III card, which it
> loads in second.
>
> My question is, is there a kernel/boot parameter I can pass to tell it to
> load the IBM ServeRAID III module (ips) first, and the Adaptect module
> (aic7xxx) second?  I've tried playing with the order in initrd, but it
> doesn't seem to help.
>
> "mkinitrd --preload ips --preload aic7xxx /boot/initrd-whatever.img 2.2.17"
> or whatever kernel I use.
>
>  Compiling both modules into the kernel always leads to the aic7xxx adapter
> loading first.
>
> Help!!:)
>
> Thanks,
>
> Matt
>
>
Matt,
        There are a couple of ways to do this.  The quickest is to edit
/etc/modules.conf or /etc/conf.modules and set up two aliases like this:

alias scsi_hostadapter ips
alias scsi_hostadapter1 aic7xxx

then run mkintrd and create a new RAMdisk.  Don't forget to run lilo.

Another way is to compile IBM ServeRAID III support into the kernel, and
have the Adaptec card sopport as a module.  Then you only need the
"alias scsi_hostadapter1 aic7xxx" in modules.conf.  You do not need to
pre-load the aic7xxx adapter in mkinitrd - you don't need it loaded to
boot the system.

I have not tried it, but with both compiled into the kernel, you can
probably make it work by using scsi_hostadapter=ips.

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



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

Reply via email to