From owner-freebsd-hardware@FreeBSD.ORG Sat Nov 5 18:38:02 2011 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C18A106566B for ; Sat, 5 Nov 2011 18:38:02 +0000 (UTC) (envelope-from stephane.lapie@darkbsd.org) Received: from quasar.darkbsd.org (shinigami.darkbsd.org [82.227.96.182]) by mx1.freebsd.org (Postfix) with ESMTP id F32518FC14 for ; Sat, 5 Nov 2011 18:38:01 +0000 (UTC) Received: from quasar.darkbsd.org (localhost [127.0.0.1]) by quasar.darkbsd.org (Postfix) with ESMTP id 1C6337122; Sat, 5 Nov 2011 19:19:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=darkbsd.org; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type; s=selector1; bh=eTnEQU71oueEgjJrLSGoCd8v89w=; b=v VT/+FxMLk6pREFFygsGJagonZG+/qP5P1haNjRx22tZ0zEI4R0drY4KZgWaONMfw uj3zcKrBAvpvI18bCBXIm+VbYcX3coPlC9w09aExy1/YZwUjvwDl3ABIqMQioRkk d3SLgeHytiLEugw1o2v2FJ6h487LtUwldSABeSlSOA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=darkbsd.org; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type; q=dns; s=selector1; b=sH2BoCAU/3rRFi7ywtvWo6z1M/U pM3BO7y2FjY44k627SLkK+Swbgh+6X1M8Aqp2zi6PdcJC75BKmNWfU5Kz8npNzvm C8EBlOjATIDnyy3+0taJEEih/gui8/yOXGOL8hb7e93qXX/q0XKIwl/SIajjZViH 3TeGNTMIkZbEjvjg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=darkbsd.org; h= content-type:content-type:in-reply-to:references:subject:subject :mime-version:user-agent:from:from:date:date:message-id:received :received; s=selector1; t=1320517176; bh=evAA5egrEtC4wil1gm7ttqe pDuSPpRQ4sS/cF3uV2nU=; b=XDyHG+VYpp2MMpPmt4Mq0sQdCSxbFvCG2587ENM lTWRQh6picuFG89K8TgwxW9JSu40hMYydjkmWXPyywMPj1U0ilmCPwMAM9EBrNRw oIGXaHgP3rJE+h0KNf/R/FgPGYDwhJxztCE9otofYSEskiKSc6IzkVqCUMEgNfft fuI0= Received: from quasar.darkbsd.org ([127.0.0.1]) by quasar.darkbsd.org (quasar.darkbsd.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id m2lWEAJca4cR; Sat, 5 Nov 2011 19:19:36 +0100 (CET) Received: from [192.168.3.42] (archer.yomi.darkbsd.org [192.168.3.42]) (Authenticated sender: darksoul) by quasar.darkbsd.org (Postfix) with ESMTPSA id 71331711B; Sat, 5 Nov 2011 19:19:35 +0100 (CET) Message-ID: <4EB57E28.5090906@darkbsd.org> Date: Sun, 06 Nov 2011 03:19:20 +0900 From: Stephane LAPIE User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: linux freaker References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig948C9E8D67B03503B5F89B3E" Cc: freebsd-hardware@freebsd.org Subject: Re: Support for MegaRAID SAS on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2011 18:38:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig948C9E8D67B03503B5F89B3E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, The SAS 9240 controller works fine with the mfi driver provided by LSI, however there is no driver to my knowledge in the default FreeBSD tree that handles this controller, which is kind of annoying. So you have to build a custom kernel or module beforehand for it. I have two servers using this driver right now (one running on 8.2-STABLE and one on 9.0-RC1. (Yes, I know this does not help at all for installation time unless you have a full live filesystem, or engineer your own releases yourself... :/= ) However, for FreeBSD 9.X, it requires a quick modification to the source for it to build (following enclosed instructions) : - Remove the default /usr/src/sys/dev/mfi (by renaming it, for instance) - Put the driver source provided by LSI in its place - Modify mfi.c, the call to psignal() on line 1603 must be altered to kern_psignal() (only step required for FreeBSD 9.X) - After that modification : cd /usr/src/sys/dev/mfi; make - You can then kldload the resulting mfi.ko module. So, to sum up, the LSI driver works, yes. :) Cheers, On 11/06/2011 01:59 AM, linux freaker wrote: > I am facing issue while installing FreeBSD 9.1 RC1 on Dell PowerEdge Se= rver > with MegaRAID SAS 9240 driver. > It is unable to detect the controller.Any idea how to troubleshoot? > I can see that it has mfi.1 driver loaded.(I am not sure if thats mfi/m= ps). > Do I need to rebuilt the kernel with this new driver.If yes, what steps= I > need to follow. > I can see that LSI does provide the new 3.98_FreeBSD_x86_and_x64_driver= s > but uncertain if that would work. > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.= org" --=20 Stephane LAPIE, EPITA SRS, Promo 2005 "Even when they have digital readouts, I can't understand them." --MegaTokyo --------------enig948C9E8D67B03503B5F89B3E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk61fi0ACgkQ24Ql8u6TF2P+wgCfZmZRXJxfgJtvqnHZCTC8ooxp wosAn0tN2KoAetS4whlxyvHitQsUnRpF =ZqO+ -----END PGP SIGNATURE----- --------------enig948C9E8D67B03503B5F89B3E--