From owner-freebsd-hardware@FreeBSD.ORG Sat Nov 5 19:22:46 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 66802106564A for ; Sat, 5 Nov 2011 19:22:46 +0000 (UTC) (envelope-from linuxfreaker@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1C45B8FC14 for ; Sat, 5 Nov 2011 19:22:45 +0000 (UTC) Received: by vws11 with SMTP id 11so49646vws.13 for ; Sat, 05 Nov 2011 12:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=F6suRSAecqn5/0Mr9ED0e880qG/0kZ/yltYttH634z4=; b=afqbdOm8BnyDe8tC4XQBtasR5q5XhtcAcV1yCGyUsB4nOeQPBJaDvOJ4smeSIJ3UTo bZaJN9Ainzy3BUZu3RhTTYlPeamzPJ5YLCPT8+kO//PzaaNTjixMs+KvdX+pnPrw86DQ dTyCJeYYhSd4rMGU7OjF0DDumHOGbKg2x8IlQ= MIME-Version: 1.0 Received: by 10.52.115.74 with SMTP id jm10mr20077920vdb.40.1320520965253; Sat, 05 Nov 2011 12:22:45 -0700 (PDT) Received: by 10.52.187.201 with HTTP; Sat, 5 Nov 2011 12:22:45 -0700 (PDT) In-Reply-To: <4EB57E28.5090906@darkbsd.org> References: <4EB57E28.5090906@darkbsd.org> Date: Sun, 6 Nov 2011 00:52:45 +0530 Message-ID: From: linux freaker To: freebsd-hardware@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 19:22:46 -0000 Hi Stephane, Thanks for your response. Since I am unable to install FreeBSD 9.0 RC1 how shall I proceed? As you said you need to build a custom kernel or module beforehand, do you mean I need to install FreeBSD 9.0 RC1(or earlier) on VM or other supported hardware.Though I can install it on other hardware or VM, will it be useful to build this kernel there? The Instruction which you provided is nice but which FreeBSD version I need to run on? Well, it would be appreciated if you can provide me with custom ISO Image, if possible.. If not, suggest me and I will follow the steps. On Sat, Nov 5, 2011 at 11:49 PM, Stephane LAPIE wrote: > 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 > Server > > 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/mps). > > 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_drivers > > 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" > > -- > Stephane LAPIE, EPITA SRS, Promo 2005 > "Even when they have digital readouts, I can't understand them." > --MegaTokyo > >