From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754248AbZBRC3V (ORCPT ); Tue, 17 Feb 2009 21:29:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751803AbZBRC3J (ORCPT ); Tue, 17 Feb 2009 21:29:09 -0500 Received: from hera.kernel.org ([140.211.167.34]:47251 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbZBRC3H (ORCPT ); Tue, 17 Feb 2009 21:29:07 -0500 Message-ID: <499B724A.2040408@kernel.org> Date: Tue, 17 Feb 2009 18:28:26 -0800 From: Yinghai Lu User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: david@lang.hm CC: Matthew Wilcox , linux-kernel , linux-scsi@vger.kernel.org, DL-MPTFusionLinux@lsi.com Subject: Re: mpt fusion broken sometime since 2.6.24 References: <20090217230050.GG16841@parisc-linux.org> <86802c440902171511s1abcc0eao560df4b8fcea0e7c@mail.gmail.com> <499B46B2.5040601@kernel.org> <499B6BF7.9090300@kernel.org> In-Reply-To: Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org david@lang.hm wrote: > On Tue, 17 Feb 2009, Yinghai Lu wrote: > >> david@lang.hm wrote: >>> On Tue, 17 Feb 2009, Yinghai Lu wrote: >>> >>>> david@lang.hm 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, wrote: >>>>>>> On Tue, 17 Feb 2009, Matthew Wilcox wrote: >>>>>>> >>>>>>>> On Tue, Feb 17, 2009 at 01:44:55PM -0800, david@lang.hm 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. > just check [ 24.921006] calling mptsas_init+0x0/0x119 @ 1 [ 24.925443] Fusion MPT SAS Host driver 3.04.07 [ 24.929928] mptsas 0000:0c:04.0: PCI INT A -> GSI 56 (level, low) -> IRQ 56 [ 24.936888] mptsas 0000:0c:04.0: using 64bit DMA mask [ 24.941931] mptsas 0000:0c:04.0: using 64bit consistent DMA mask [ 24.948099] mptbase: ioc0: Initiating bringup [ 25.660009] ioc0: LSISAS1064 A3: Capabilities={Initiator} [ 25.665461] alloc irq_desc for 83 on cpu 0 node 0 [ 25.668374] alloc kstat_irqs on cpu 0 node 0 [ 25.674778] mptsas 0000:0c:04.0: irq 83 for MSI/MSI-X [ 25.679826] mptbase: ioc0: PCI-MSI enabled [ 46.540010] mptbase: ioc0: Initiating recovery [ 59.330211] scsi2 : ioc0: LSISAS1064 A3, FwRev=01175a00h, Ports=1, MaxQ=286, IRQ=83 [ 59.357423] scsi 2:0:0:0: Direct-Access SEAGATE ST973401LSUN72G 0556 PQ: 0 ANSI: 3 [ 59.367116] sd 2:0:0:0: [sda] 143374738 512-byte hardware sectors: (73.4 GB/68.3 GiB) [ 59.376061] sd 2:0:0:0: [sda] Write Protect is off [ 59.380849] sd 2:0:0:0: [sda] Mode Sense: e3 00 10 08 [ 59.387169] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA [ 59.396296] sd 2:0:0:0: [sda] 143374738 512-byte hardware sectors: (73.4 GB/68.3 GiB) [ 59.405237] sd 2:0:0:0: [sda] Write Protect is off [ 59.410025] sd 2:0:0:0: [sda] Mode Sense: e3 00 10 08 [ 59.416349] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA that MSI does work on one system lsi sas...under PCI-X +-10.0-[0000:0b]--+-01.0 Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) | +-01.1 Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) | +-02.0 Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) | \-02.1 Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) +-10.1 Advanced Micro Devices [AMD] AMD-8132 PCI-X IOAPIC +-11.0-[0000:0c]--+-01.0 Intel Corporation 82546GB Gigabit Ethernet Controller | +-01.1 Intel Corporation 82546GB Gigabit Ethernet Controller | +-02.0 Intel Corporation 82546GB Gigabit Ethernet Controller | +-02.1 Intel Corporation 82546GB Gigabit Ethernet Controller | \-04.0 LSI Logic / Symbios Logic SAS1064 PCI-X Fusion-MPT SAS 0c:04.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1064 PCI-X Fusion-MPT SAS (rev 02) Subsystem: LSI Logic / Symbios Logic Device 3060 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- --- 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)");