Matt Stevenson wrote:
> 
> Wow, I totally forgot to look in modules.conf.  Thanks for the great answer!
> That's why I love this list :)
> 
> Matt
> 
> On Wednesday 14 March 2001 10:54am, you wrote:
> > 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

Two other ways:

1) Compile the IBM into the kernel and make the Adaptec a module.  If you 
_don't_ make a RAM disk (and you don't need one for this), the system will 
only find the IBM and boot from that.  I know this works as I've used this
method on several machines.

2) Shut off the bios on the Adaptec.  This keeps devices on the card from 
being bootable.  You do this by going into the Adaptec at boot time 
(CTRL-A??) and reconfiguring it.  Even if the system finds it, it will not 
boot from that controller.  I've used this also.

3) (I know I said two) Check the bios on the mother board and see if you can
set which controller to boot from.  My Tyan allows me to select any of the 
add-in or the on-board controllers as the boot controller.  

Best

Cokey

-- 
------------------------------------------------------------------
F. 'Cokey' de Percin, DBA       Email:
CSC (formerly Mynd)              Work - [EMAIL PROTECTED]
Columbia, South Carolina         Home - [EMAIL PROTECTED]



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

Reply via email to