Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2012 11:34:52 +0100
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        james@mansionfamily.plus.com
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Problem with mfi driver, 9.0-RELEASE
Message-ID:  <4F12ABCC.6020804@gmail.com>
In-Reply-To: <4F12AA95.90304@gmail.com>
References:  <4F12A216.40708@mansionfamily.plus.com> <4F12AA95.90304@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Dell PERC 5/i> 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







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F12ABCC.6020804>