Date: Mon, 16 Apr 2012 19:31:58 +1000 From: Jan Mikkelsen <janm@transactionware.com> To: Doug Ambrisko <ambrisko@ambrisko.com> Cc: freebsd-stable@freebsd.org Subject: Re: LSI MegaRAID SAS 9240 with mfi driver? Message-ID: <EBA4C7CF-DB99-40EF-B5B3-BD44CF6279DB@transactionware.com> In-Reply-To: <201203301414.q2UEEiNb078707@ambrisko.com> References: <201203301414.q2UEEiNb078707@ambrisko.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 31/03/2012, at 1:14 AM, Doug Ambrisko wrote: > John Baldwin writes: > | On Friday, March 30, 2012 12:06:40 am Jan Mikkelsen wrote: > | > Hi, > | > ... >=20 > | > I have a loan LSI MegaRAID SAS 9240-4i controller for testing. > | > The pciconf -lv output is: > | >=20 > | > 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 > | >=20 > | > I added this line to src/sys/dev/mfi/mfi_pci.c > | >=20 > | > {0x1000, 0x0073, 0xffff, 0xffff, MFI_FLAGS_GEN2, "LSI MegaRAID = SAS 9240"}, > | >=20 > | > It gave this result (tried with hw.mfi.msi set to 0 and to 1): > | >=20 > | > mfi0: <LSI MegaRAID SAS 9240> 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 > | >=20 > | > The firmware is package 20.10.1-0077, which is the latest on the = LSI website. > | >=20 > | > Is this path likely to work out? Any suggestions on where to go = from here? > |=20 > | You should try the updated mfi(4) driver that Doug (cc'd) is going = to soon > | merge into HEAD. It syncs up with the mfi(4) driver on LSI's = website which > | supports several cards that the current mfi(4) driver does not. = (I'm not > | fully sure if the 9240 is in that group or not. Doug might know = however.) >=20 > Yes, this card is supported with the mfi(4) in projects/head_mfi. = Looks > like we fixed a couple of last minute found bugs when trying to create = a > RAID wth mfiutil. This should be fixed now. I'm going to start the > merge to -current today. The version in head_mfi can run on older > versions of FreeBSD with the changes that Sean did. I have just imported the mfi(4) and mfiutil(8) into a 9.0-RELEASE tree = to try this out. When booting up with two fresh drives attached, they show up as usable = JBOD disks. However, I cannot use mfiutil to create anything with them. = Every drive gives "mfiutil: Drive n not available" Is this expected behaviour? How can I create a raid1 volume using = mfiutil and clean disks? I tried using MegaCli from the LSI website (versions 8.02.16 and = 8.02.21), but they can't even detect the controller. I know you said at = some point that a very recent version of MegaCli was required. What = version is necessary? dmesg: mfi0: <Drake Skinny> port 0xdc00-0xdcff mem = 0xfe7bc000-0xfe7bffff,0xfe7c0000-0xfe7fffff irq 16 at device 0.0 on pci1 mfi0: Using MSI mfi0: Megaraid SAS driver Ver 4.23=20 mfi0: 7021 (387925223s/0x0020/info) - Shutdown command received from = host mfi0: 7022 (boot + 4s/0x0020/info) - Firmware initialization started = (PCI ID 0073/1000/9241/1000) mfi0: 7023 (boot + 4s/0x0020/info) - Firmware version 2.120.244-1482 mfi0: 7024 (boot + 5s/0x0020/info) - Package version 20.10.1-0077 mfi0: 7025 (boot + 5s/0x0020/info) - Board Revision 03A mfi0: 7026 (boot + 33s/0x0002/info) - Inserted: PD 32(e0xff/s1) mfisyspd0: <MFI System PD> on mfi0 mfisyspd0: 1907729MB (3907029168 sectors) SYSPD volume mfisyspd0: SYSPD volume attached mfisyspd1: <MFI System PD> on mfi0 mfisyspd1: 1907729MB (3907029168 sectors) SYSPD volume mfisyspd1: SYSPD volume attached Thanks, Jan Mikkelsen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EBA4C7CF-DB99-40EF-B5B3-BD44CF6279DB>