From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 21 16:10:49 2014 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7202D8BB; Fri, 21 Mar 2014 16:10:49 +0000 (UTC) Received: from mtv-iport-1.cisco.com (mtv-iport-1.cisco.com [173.36.130.12]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 173ECE82; Fri, 21 Mar 2014 16:10:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2569; q=dns/txt; s=iport; t=1395418249; x=1396627849; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SsPQ9JFF6AaSns0Up1BDNYrzSklO+tflYl17TS+cSFc=; b=j9WMXsGnTqrO81dt41Sf/WHd6zo6Yf8/oe6veXg5fILQmiaJXxf4ysoR Fi2KWQ+WgXGk7dPA1rD3BPyzBS1YtoxV9GPLzlOVFWOnmaDP6yJsh7sPc Xc15HjDUNM+rvO4ER4y37mM4dxx6cedX2zHVLMye4535Vl36AqFqDpm1e c=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AikFADpjLFOrRDoJ/2dsb2JhbABZgwbAY4MOgRUWdIImAQEEOj8QCyElDwVJiAvPdxeOageDJIEUAQOJUo52AZIxg00 X-IronPort-AV: E=Sophos;i="4.97,704,1389744000"; d="scan'208";a="105407949" Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-1.cisco.com with ESMTP; 21 Mar 2014 16:10:47 +0000 Received: from dambriskodt.cisco.com (dambriskodt.cisco.com [171.71.230.115]) by mtv-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id s2LGAlWN013686 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Mar 2014 16:10:47 GMT Received: from dambriskodt.cisco.com (localhost [127.0.0.1]) by dambriskodt.cisco.com (8.14.7/8.14.3) with ESMTP id s2LG9twH099911; Fri, 21 Mar 2014 09:09:55 -0700 (PDT) (envelope-from ambrisko@dambriskodt.cisco.com) Received: (from ambrisko@localhost) by dambriskodt.cisco.com (8.14.7/8.14.3/Submit) id s2LG9sZM099910; Fri, 21 Mar 2014 09:09:54 -0700 (PDT) (envelope-from ambrisko) Date: Fri, 21 Mar 2014 09:09:54 -0700 From: Doug Ambrisko To: Borja Marcos Subject: Re: LSI - MR-Fusion controller driver patch and man page Message-ID: <20140321160954.GB99545@cisco.com> References: <8c423414ecc2421fbace3eb9f386be91@BN1PR07MB247.namprd07.prod.outlook.com> <20140106182935.GC93278@cisco.com> <20140107181139.GC2080@cisco.com> <20140124185356.GA28724@ambrisko.com> <20140124190047.GA34975@ambrisko.com> <9c3fd2b15e9b4c2cb967519a3b7f98ad@BN1PR07MB247.namprd07.prod.outlook.com> <20140318143738.GA65955@cisco.com> <20140320235534.GA92797@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Mailman-Approved-At: Fri, 21 Mar 2014 16:38:02 +0000 Cc: "scottl@netflix.com" , "Radford, Adam" , "sean_bruno@yahoo.com" , "Mankani, Krishnaraddi" , "dwhite@ixsystems.com" , "Maloy, Joe" , "jpaetzel@freebsd.org" , "freebsd-scsi@freebsd.org" , "Kenneth D. Merry" , "McConnell, Stephen" X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2014 16:10:49 -0000 On Fri, Mar 21, 2014 at 09:10:40AM +0100, Borja Marcos wrote: | | On Mar 21, 2014, at 12:55 AM, Doug Ambrisko wrote: | | > With mfi I see ~364128Kbytes writes and ~214817Kbytes reads. So | > something is strange. The firmware on card is: | > Name: LSI MegaRAID 9361-8i | > Serial Number: SV33505325 | > Firmware BIOS 6.13.00.1_4.14.05.00_0x06010600 | > Firmware CTLR 5.01-0005 | > Firmware APP 4.210.50-3015 | > Firmware NVDT 3.1310.00-0062 | > Firmware BTBL 3.00.00.00-0009 | > which was the lastest when I looks on the LSI web site a month ago or so. | | I've got an Invader here, | | mfi0: port 0x4f00-0x4fff mem 0x913f0000-0x913fffff,0x91400000-0x914fffff irq 34 at device 0.0 on pci22 | mfi0: Using MSI | mfi0: Megaraid SAS driver Ver 4.23 | mfi0: FW MaxCmds = 240, limiting to 128 | mfi0: MaxCmd = 240, Drv MaxCmd = 128, MaxSgl = 70, state = 0xb73c00f0 | mfi0: 11170 (448037009s/0x0020/info) - Shutdown command received from host | mfi0: 11171 (boot + 10s/0x0020/info) - Firmware initialization started (PCI ID 005d/1000/045b/1014) | mfi0: 11172 (boot + 10s/0x0020/info) - Firmware version 4.200.21-2840 | mfi0: 11173 (boot + 12s/0x0020/info) - Package version 24.0.2-0013 | mfi0: 11174 (boot + 12s/0x0020/info) - Board Revision 00AL055 | | let me know if I can help running any tests here. For now I am using it | just to boot and I have installed an LSI2008, as this invader corrupts | data on "syspd" or even plain passthrough disks. Do you have a simple test case for that? There were issues in the SCSI command translation which should have been fixed via switching it to use the CAM translation code. Can you try it via a RAID volume of one disk? | The server is not in production, so I have no problems to try drivers, etc. You could try the LSI mrsas and see if the corruption goes away and then we could try to isolate the difference. mrsas does not support CAM passthrough. If both drivers are loaded in the kernel, you can prevent mfi from attaching and let mrsas attach via the tunable: hw.mfi.mrsas_enable=1 The mrsas device come up /dev/da* there are no aliases yet to the mfi one's. Also mfiutil won't work with mrsas but MegaCli/StorCli should. If you want to use mfiutil, you can switch to mfi to set that up and then switch back to mrsas. I need to finish the mrsas compat work so mfiutil can work on it. It's a little more complicated then I hoped. This is under -current. This should run under 9.X by copying mfi etc. to it. Thanks, Doug A.