Re: mpt fusion broken sometime since 2.6.24

From: david
Date: Tue Feb 17 2009 - 21:34:36 EST


On Tue, 17 Feb 2009, Yinghai Lu wrote:

david@xxxxxxx wrote:
On Tue, 17 Feb 2009, Yinghai Lu wrote:

david@xxxxxxx wrote:
On Tue, 17 Feb 2009, Yinghai Lu wrote:

david@xxxxxxx wrote:
On Tue, 17 Feb 2009, Yinghai Lu wrote:

Subject: Re: mpt fusion broken sometime since 2.6.24

On Tue, Feb 17, 2009 at 3:07 PM, <david@xxxxxxx> wrote:
On Tue, 17 Feb 2009, Matthew Wilcox wrote:

On Tue, Feb 17, 2009 at 01:44:55PM -0800, david@xxxxxxx wrote:

I got a picture of the failed boot at
http://linux.lang.hm/linux/IMG00052.jpg

The PCI-MSI line is probably indicative. Can you try booting with:

mptbase.mpt_msi_enable_sas=0

and also send us an lspci -v so we can update the blacklist?

is that disabling SAS for this system? if so, that's the wrong thing
to do
(the drives are SAS)

it only disable MSI with that mptsas.
and mptsas will use ioapic routing.

can you post whole bootlog?

unfortunantly it's booting from CD and the only drives in the
system are
the ones that are not being accessed.

i mean with kernel before 2.6.24..

Ok, attached.


so your lsi 1068 is under 8132... need to double check if that chip
really support MSI.
<SNIP>

I don't understand the section I snipped from the message above

do you have chance to try current tip/master
http://people.redhat.com/mingo/tip.git/readme.txt
or 2.6.29-rcX
plus following patch?

I will see about trying this.

or can you check if there is update fw for your LSI card?

this is more work, I'll look into that as well.

David Lang

[PATCH] mpt: fix enable lsi sas to use msi as default

Impact: fix bug

the third param in module_param(,,) is perm instead of default value.
we still need to assign default at first.

Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>

---
drivers/message/fusion/mptbase.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6/drivers/message/fusion/mptbase.c
===================================================================
--- linux-2.6.orig/drivers/message/fusion/mptbase.c
+++ linux-2.6/drivers/message/fusion/mptbase.c
@@ -90,8 +90,8 @@ module_param(mpt_msi_enable_fc, int, 0);
MODULE_PARM_DESC(mpt_msi_enable_fc, " Enable MSI Support for FC \
controllers (default=0)");

-static int mpt_msi_enable_sas;
-module_param(mpt_msi_enable_sas, int, 1);
+static int mpt_msi_enable_sas = 1;
+module_param(mpt_msi_enable_sas, int, 0);
MODULE_PARM_DESC(mpt_msi_enable_sas, " Enable MSI Support for SAS \
controllers (default=1)");


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/