From: kwhite@austin.ibm.com
To: "Richard F. Rebel" <rrebel@whenu.com>
Cc: linux-scsi@vger.kernel.org, kwhite@austin.ibm.com
Subject: Re: Boot order of LSI MPT Fusion devices controllable?
Date: Tue, 30 Nov 2004 21:31:38 -0600 (CST) [thread overview]
Message-ID: <200412010331.VAA21676@catalyst.austin.ibm.com> (raw)
In-Reply-To: <1101835224.1779.1040.camel@rebel.corp.whenu.com> from "Richard F. Rebel" at Nov 30, 2004 12:20:24 PM
> I am running mdk 10.0 with kernel 2.6.3-16 out of box on a dual opteron
> 250 system. The system has a LSI logic U320 controller with 7 internal
> disks on two channels.
>
>
> Well, the difference is that the fiber channel card seems to boot first,
> and thus reorders the scsi bus. If I attach the fiber channel cables to
> the switch (making all of our storage visible) and re-probe the scsi bus
> by hand using the /dev interface, access to the SAN is fine etc. Upon
> reboot with the fc connected, my system panics because now the root
> drive is no longer where it thinks it should be (sda is now a device on
> the fiber channel switch fabric).
>
> Is there a way to control this process or to mitigate the problem? I
> really need the system to boot properly off of local disk whether or not
> the fc is connected or the devices available.
You need to force the LSI U320 scsi driver to load before the fibre-channel
driver loads.
To do this you need to modify the /etc/modules.conf file and ensure your
scsi adapter driver loads first. You then have to rebuild your ramdisk, if
you are using one, to ensure the modules.conf file is picked up at boot time.
Note: The load order is not determined by the entry order in modules.conf. It is
determined by "scsi_hostadapter" field. If you want a scsi driver to load last,
make it have the highest numbered suffix. Here is an example of entries in
modules.conf that would load the sym5c38xx driver first, and the Emulex lpfc
fibre-channel driver second:
alias scsi_hostadapter sym53c8xx
alias scsi_hostadapter1 lpfc
On future installs of the machine, if your fibre-channel cables are plugged in,
to ensure local disks are discovered before fibre attached disks, you need to
install using the "noprobe" option and then load the scsi and fibre channel
drivers by hand. Making sure to load the scsi adapter driver first. e.g:
linux noprobe
Thanks,
Karen White
next prev parent reply other threads:[~2004-11-30 19:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-30 17:20 Boot order of LSI MPT Fusion devices controllable? Richard F. Rebel
2004-11-30 17:54 ` Matthew Wilcox
2004-12-01 3:31 ` kwhite [this message]
2004-11-30 19:40 ` Christoph Hellwig
2004-11-30 19:43 ` Richard F. Rebel
2004-11-30 19:59 ` Matthew Wilcox
2004-11-30 20:48 ` Mike Anderson
2004-11-30 21:55 ` Richard F. Rebel
-- strict thread matches above, loose matches on Subject: below --
2004-11-30 22:15 todd.reichert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200412010331.VAA21676@catalyst.austin.ibm.com \
--to=kwhite@austin.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=rrebel@whenu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox