Applying a Kernel Patch to FreeNAS for LSI MegaRAID 9260-8i

Status
Not open for further replies.

zyphex

Cadet
Joined
Jul 21, 2012
Messages
1
I'm posting this in the n00b forum because I'm lost on how to do this and I'm not the most experienced with Unix-like operating systems.

I have a LSI MegaRAID 9260-8i in my freenas box. From time to time, the controller will spontaneously timeout and lock up the operating system. The specific error appears like -

mfi0: COMMAND 0xffffff8000b216c8 TIMEOUT AFTER 150 SECONDS
mfi0: COMMAND 0xffffff8000b216c8 TIMEOUT AFTER 180 SECONDS
mfi0: COMMAND 0xffffff8000b216c8 TIMEOUT AFTER 210 SECONDS
mfi0: COMMAND 0xffffff8000b216c8 TIMEOUT AFTER 240 SECONDS
mfi0: COMMAND 0xffffff8000b216c8 TIMEOUT AFTER 271 SECONDS

After updating FreeNAS, the firmware on my raid controller, and doing extensive research, I found out the problem isn't due to faulty firmware, a driver, or a faulty card, but is relatively common with FreeBSD and LSI controller cards.

As described here -

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/140416
http://lists.freebsd.org/pipermail/freebsd-scsi/2011-March/004839.html


My specific question is - how do I apply the kernel patch file that was posted on the FreeBSD site (testperc.c)

Would it use something like the patch command? And does that require a specific target file to patch?
 
Status
Not open for further replies.
Top