From owner-freebsd-stable@FreeBSD.ORG Fri Mar 30 04:13:34 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43311106567C for ; Fri, 30 Mar 2012 04:13:34 +0000 (UTC) (envelope-from janm@transactionware.com) Received: from midgard.transactionware.com (mail2.transactionware.com [203.14.245.36]) by mx1.freebsd.org (Postfix) with SMTP id 4B5818FC1D for ; Fri, 30 Mar 2012 04:13:31 +0000 (UTC) Received: (qmail 15706 invoked by uid 907); 30 Mar 2012 04:06:47 -0000 Received: from pa114-73-77-4.pa.nsw.optusnet.com.au (HELO [192.168.1.102]) (114.73.77.4) (smtp-auth username janm, mechanism plain) by midgard.transactionware.com (qpsmtpd/0.84) with (AES128-SHA encrypted) ESMTPSA; Fri, 30 Mar 2012 15:06:46 +1100 From: Jan Mikkelsen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 30 Mar 2012 15:06:40 +1100 Message-Id: To: freebsd-stable@freebsd.org Mime-Version: 1.0 (Apple Message framework v1257) X-Mailer: Apple Mail (2.1257) Cc: jhb@freebsd.org Subject: LSI MegaRAID SAS 9240 with mfi driver? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 04:13:34 -0000 Hi, I have a loan LSI MegaRAID SAS 9240-4i controller for testing. According to the LSI documentation, this device provides the MegaRAID = interface and the BIOS message mentions MFI. The LSI driver for this = device also lists support for the 9261 which I know is supported by = mfi(4). Based on all this, I was hopeful that mfi(4) would work with the = 9240. The pciconf -lv output is: none3@pci0:1:0:0: class=3D0x010400 card=3D0x92411000 = chip=3D0x00731000 rev=3D0x03 hdr=3D0x00 vendor =3D 'LSI Logic / Symbios Logic' device =3D 'MegaRAID SAS 9240' class =3D mass storage subclass =3D RAID I added this line to src/sys/dev/mfi/mfi_pci.c {0x1000, 0x0073, 0xffff, 0xffff, MFI_FLAGS_GEN2, "LSI MegaRAID = SAS 9240"}, It gave this result (tried with hw.mfi.msi set to 0 and to 1): mfi0: port 0xdc00-0xdcff mem = 0xfe7bc000-0xfe7bffff,0xfe7c0000-0xfe7fffff irq 16 at device 0.0 on pci1 mfi0: Using MSI mfi0: Megaraid SAS driver Ver 3.00=20 mfi0: Frame 0xffffff8000285000 timed out command 0x26C8040 mfi0: failed to send init command The firmware is package 20.10.1-0077, which is the latest on the LSI = website. Is this path likely to work out? Any suggestions on where to go from = here? Thanks, Jan Mikkelsen