public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Boot order of LSI MPT Fusion devices controllable?
@ 2004-11-30 17:20 Richard F. Rebel
  2004-11-30 17:54 ` Matthew Wilcox
  2004-12-01  3:31 ` kwhite
  0 siblings, 2 replies; 9+ messages in thread
From: Richard F. Rebel @ 2004-11-30 17:20 UTC (permalink / raw)
  To: linux-scsi

[-- Attachment #1: Type: text/plain, Size: 3110 bytes --]


Hello,

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.

We are upgrading our system by adding an identical server and a small
SAN so we can have an active passive failover cluster for MySQL.

I purchased quad port 2gbps fc cards from LSI as I have been very happy
with the performance of the SCSI cards we already own.  Upon install,
dmesg shows:

Fusion MPT base driver 3.00.03
Copyright (c) 1999-2003 LSI Logic Corporation
mptbase: Initiating ioc0 bringup
ioc0: FC929X: Capabilities={Initiator,Target,LAN}
mptbase: Initiating ioc1 bringup
ioc1: FC929X: Capabilities={Initiator,Target,LAN}
mptbase: Initiating ioc2 bringup
ioc2: FC929X: Capabilities={Initiator,Target,LAN}
mptbase: Initiating ioc3 bringup
ioc3: FC929X: Capabilities={Initiator,Target,LAN}
mptbase: Initiating ioc4 bringup
ioc4: 53C1030: Capabilities={Initiator}
mptbase: Initiating ioc5 bringup
ioc5: 53C1030: Capabilities={Initiator}
SCSI subsystem initialized
Fusion MPT SCSI Host driver 3.00.03
scsi0 : ioc0: LSIFC929X, FwRev=01010b00h, Ports=1, MaxQ=1023, IRQ=25
scsi1 : ioc1: LSIFC929X, FwRev=01010b00h, Ports=1, MaxQ=1023, IRQ=26
scsi2 : ioc2: LSIFC929X, FwRev=01010b00h, Ports=1, MaxQ=1023, IRQ=27
scsi3 : ioc3: LSIFC929X, FwRev=01010b00h, Ports=1, MaxQ=1023, IRQ=24
scsi4 : ioc4: LSI53C1030, FwRev=01013d00h, Ports=1, MaxQ=255, IRQ=29
  Vendor: SEAGATE   Model: ST336753LC        Rev: 0006
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SEAGATE   Model: ST336753LC        Rev: 0006
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SEAGATE   Model: ST336753LC        Rev: 0006
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SEAGATE   Model: ST336753LC        Rev: 0006
  Type:   Direct-Access                      ANSI SCSI revision: 03
scsi5 : ioc5: LSI53C1030, FwRev=01013d00h, Ports=1, MaxQ=255, IRQ=30
  Vendor: SEAGATE   Model: ST336753LC        Rev: 0006
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SEAGATE   Model: ST336753LC        Rev: 0006
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: SEAGATE   Model: ST336753LC        Rev: 0006
  Type:   Direct-Access                      ANSI SCSI revision: 03

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.

Thanks,

Richard F. Rebel

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Boot order of LSI MPT Fusion devices controllable?
@ 2004-11-30 22:15 todd.reichert
  0 siblings, 0 replies; 9+ messages in thread
From: todd.reichert @ 2004-11-30 22:15 UTC (permalink / raw)
  To: rrebel, andmike; +Cc: kwhite, linux-scsi

I ran into a similar issue with a Dell 2600 with an imbedded LSI controller
on the motherboard.  I never did get the problem resolved to my satisfaction
but the folks at LSI support steered me to the SDMS utility which is
included with the onboard bios.  Using that utility you can disable the FC
board bios.

 -----Original Message-----
From: 	Richard F. Rebel [mailto:rrebel@whenu.com] 
Sent:	Tuesday, November 30, 2004 1:56 PM
To:	Mike Anderson
Cc:	kwhite@austin.ibm.com; linux-scsi@vger.kernel.org
Subject:	Re: Boot order of LSI MPT Fusion devices controllable?

 << File: signature.asc >> On Tue, 2004-11-30 at 12:48 -0800, Mike Anderson
wrote:
> Richard F. Rebel [rrebel@whenu.com] wrote:
> > Earlier someone responded to the tune that I needed to change the PCI
> > boot order, and unless the bios allows me to change that,  I have to
> > move the cards around in the chassis.  I have a cage monkey trying that
> > now.
> > 
> 
> Relying on pci / device probe order will always leave you open to possible
> name slippage issues in the future. You mentioned that you are running mdk
> so you may want to look at using udev for your device naming.

Umm, what is udev?  Is this the /dev/scsi/<host>/* mapping???

BTW, I was able to resolve the problem of the fiber channel being
identified first by moving the pci-x cards around.  Now when the fiber
fabric is visible my box still boots off the local scsi disks.




> 
> 
> -andmike
> --
> Michael Anderson
> andmike@us.ibm.com
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-11-30 22:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox