Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2011 09:22:56 +0100
From:      Peter Maloney <peter.maloney@brockmann-consult.de>
To:        freebsd-fs@freebsd.org
Subject:   Re: AOC-USAS2-L8i zfs panics and SCSI errors in messages
Message-ID:  <4EF43A60.7080409@brockmann-consult.de>
In-Reply-To: <4EB7FAEF.30505@interlog.com>
References:  <82B38DBF-DD3A-46CD-93F6-02CDB6506E05@slu.se>	<20111025193302.GA30409@nargothrond.kdm.org>	<B4D81944-39F5-4053-ACBA-78EBB7DD70EB@slu.se>	<20111026101602.GA9768@icarus.home.lan>	<75BDE9FA-6130-4BB4-8518-275D68BB3E49@slu.se>	<CAOeNLuqFuA-Ewfj0xyNmfGdbznsoRAYb6GNgGDzN8PtPck0yUw@mail.gmail.com> <4EB7FAEF.30505@interlog.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/07/2011 04:36 PM, Douglas Gilbert wrote:
> On 11-11-07 03:56 AM, Rich wrote:
>> Observation - the LSI SAS expanders, in my experience, sometimes
>> misbehave when there are drives which respond slower than some timeout
>> to commands (as far as I've seen it's only SATA drives it does this
>> for, but I don't have many SAS drives for comparison), leading to all
>> further commands to that drive for a bit not working, and then what
>> happens depending on the OS varies dramatically.
>>
>> If you could try without an expander (e.g. with 1->4 SAS->SATA fanout
>> cables), you may be surprised (and/or annoyed) to find your life gets
>> better.
>
> SAS-2 expanders are better than the original generation.
> [LSI makes both.] SAS-2 added the CONFIGURE GENERAL SMP
> function which contains various timeout tweaks for the
> STP protocol (i.e. the protocol that tunnels (S)ATA
> commands between a SAS HBA (initiator) and an expander).
>
> If you are using SAS-2 expanders and FreeBSD 9.0 then you
> can fetch my smp_utils package and use the smp_conf_general
> utility to change those timeout settings. If you have SAS-2
> expanders but an older version of FreeBSD then you will
> need Solaris or Linux to run my smp_utils package in order
> to change those timeout values on the expander.
>
> Doug Gilbert
>
> BTW smp_rep_general will show the current settings of those
> STP timeouts.

Doug,

Thank you for your suggestion. I have a similar problem to Karli's, and
your suggestion is next on my list, but I have some questions.

If I boot off of a Linux/Solaris/FreeBSD 9 USB stick and run the tools,
does the change persist on reboot? (I would assume yes since you
suggested using Linux/Solaris)

For FreeBSD 9, do I get the package from ports?

If I run it from Linux, where do I get the package from?


Thanks,
Peter



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