[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-scsi
Subject:    Re: mfi timeout issues and patch that seems to work (PERC H800)
From:       Csillag Tamas <cstamas () digitus ! itk ! ppke ! hu>
Date:       2012-02-28 8:05:11
Message-ID: 20120228080511.GN29886 () rivendell
[Download RAW message or body]

On Sat, Feb 25, 2012 at 12:04:05PM +1100, Jan Mikkelsen wrote:
> On 24/02/2012, at 10:59 AM, Csillag Tamas wrote:
> > Hi,
> > 
> > I had the same issues with the Perc H800 controller as it is described
> > here: 
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/140416
> > (Just for google I include the error here:
> > mfi0: COMMAND 0xffffff80009c4b90 TIMEOUT AFTER 41 SECONDS)
> > [ … ]
> > however getting and compiling the newest kernel did NOT fix it for me.
> > Issuing commands with mfiutils still fixed the hang and everything
> > returned to normal.
> > 
> > It seems that intensive read triggers the issue, but if you have write
> > concurrently you are fine (mostly). Restarting rsync is ideal for
> > triggering this buggy condition.
> > 
> > I tried to poke around in the source code and in the end tweaked the
> > patch (seen here before
> > http://lists.freebsd.org/pipermail/freebsd-scsi/2011-March/004839.html):
> > 
> > replacing
> > (void)sc->mfi_read_fw_status(sc);
> > with
> > mfi_get_controller_info(sc);
> > around line 933
> > 
> > and after testing it for a day it seems to be solid.
> > (The original patch did not help me.)
> > 
> > Can someone expert in the topic can confirm if any of this is correct?
> 
> The default value for hw.mfi.msi is 0. I had to set it to 1 in
> /boot/loader.conf when using a 9261-8i controller. It might be worth
> retesting with that setting and the standard kernel.

I am not sure if I will have enough time for this (others starts to
work on this machine), but will make a try.

Thanks

Regards,
  cstamas
-- 
CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas

_______________________________________________
freebsd-scsi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic