From owner-freebsd-questions@FreeBSD.ORG Sun Jan 15 10:34:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06E851065670 for ; Sun, 15 Jan 2012 10:34:58 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5888FC0A for ; Sun, 15 Jan 2012 10:34:57 +0000 (UTC) Received: by eeke53 with SMTP id e53so1106579eek.13 for ; Sun, 15 Jan 2012 02:34:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=TljOIm3f3V2r/AhDvDTi/21MsGkqzHyZexv3/l6nypk=; b=tDz/CrFNavXGqLi9b+k2tCOcZPCdzkxwTYf674HZJy3KRgIZoIShMTHoUwhZ3CXSxk Lm6MDYXPvFdEAJES6sxW2gJlQ4c14vZnjVyR2nq3eT5jDViMQDDlvCHkHvig1b1wUBJK IsYnLY2LYDQHNJwftKFlaHXJLb0nlOhjUgOxw= Received: by 10.213.34.80 with SMTP id k16mr1560085ebd.56.1326623695639; Sun, 15 Jan 2012 02:34:55 -0800 (PST) Received: from [192.168.1.12] (5ED0E470.cm-7-1d.dynamic.ziggo.nl. [94.208.228.112]) by mx.google.com with ESMTPS id s16sm56366488eef.2.2012.01.15.02.34.54 (version=SSLv3 cipher=OTHER); Sun, 15 Jan 2012 02:34:55 -0800 (PST) Message-ID: <4F12ABCC.6020804@gmail.com> Date: Sun, 15 Jan 2012 11:34:52 +0100 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: james@mansionfamily.plus.com References: <4F12A216.40708@mansionfamily.plus.com> <4F12AA95.90304@gmail.com> In-Reply-To: <4F12AA95.90304@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: Problem with mfi driver, 9.0-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 10:34:58 -0000 Johan Hendriks schreef: > james schreef: >> I transferred a PERC5/i controller to my NAS system, which is using a >> Sapphire mini-ITX board with an AMD M350 CPU. >> >> It seems the card is detected but driver initialisation fails: >> >> mfi0: mem 0xd0000000-0xd000ffff,0xfea00000-0xfea1ffff >> irq 96 at device 14.0 on pci2 >> mfi0: Megaraid SAS driver Ver 3.00 >> mfi0: 10970 (379716350s/0x0020/info) - Hibernate command received >> from host >> mfi0: 10971 (boot + 0s/0x0020/info) - Firmware initialization started >> (PCI ID 0015/1028/1f02/1028) >> mfi0: 10972 (boot + 0s/0x0020/info) - Firmware version 1.03.40-0232 >> mfi0: 10973 (boot + 0s/0x0020/info) - Firmware initialization started >> (PCI ID 0015/1028/1f02/1028) >> ... >> mfi0: 11056 (boot + 29s/0x0002/info) - Inserted: PD 00(e0/s0) Info: >> enclPd=ffff, scsiType=0, portMap=01, >> sasAddr=5000c5000046b6d5,0000000000000000 >> mfi0: 11057 (boot + 29s/0x0002/info) - Inserted: PD 01(e0/s1) >> mfi0: 11058 (boot + 29s/0x0002/info) - Inserted: PD 01(e0/s1) Info: >> enclPd=ffff, scsiType=0, portMap=02, >> sasAddr=5000c5000046b8cd,0000000000000000 >> mfi0: Cannot allocate interrupt >> device_attach: mfi0 attach returned 22 >> >> This would seem to be similar to discussions in November which >> eventually led to JHB committing change in r227580 (and perhaps >> earlier). >> >> I have downloaded the sources for 9.0-RELEASE and it looks like this >> commit did not get back-ported to the release branch. >> >> I'm a bit of a noob with FreeBSD. The instructions for tracking >> FreeBSD-STABLE seem a bit scary. Is that the only way that I would >> get the necessary fixes for the mfi driver? (Indeed, would I get >> those on FreeBSD stable?) >> >> James >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > If you do not want to use stable, you could try to import the diff to > your release src yourself. > The only change then is the mfi driver, the rest is just release. > > But stable is not that bad to run, i know many people that run a > stable release, just for this kind of things. > Many people runs 8.2 Stable for the latest ZFS version. > > regards > Johan > > > > Sorry replying to myself. Here you can download the raw diff at the end of the page. http://freshbsd.org/commit/freebsd/r227580 Well here is the link http://freshbsd.org/commit/freebsd/r227580/diff.txt So you can patch your own source. I do not know if it apply's cleanly, if not, maybe jhb knows why then. regards Johan