From: Richard Scobie <richard@sauce.co.nz>
To: 'Linux RAID' <linux-raid@vger.kernel.org>
Subject: Re: Raid 6 - TLER/CCTL/ERC
Date: Thu, 07 Oct 2010 09:14:50 +1300 [thread overview]
Message-ID: <4CACD8BA.2020106@sauce.co.nz> (raw)
In-Reply-To: <556404795.674.1286344296358.JavaMail.root@mail.networkmayhem.com>
Peter Zieba wrote:
> - AOC-USAS-L8i Controller
> I could not pass them through the controller I was using, but was able to connect the drives to the controller on the motherboard, set the erc values, and still have drives dropping out.
This controller uses the LSI 1068 controller chip and up until kernel
2.6.36, is likely to offline attached drives if smartctl or smartd is used.
If you update to this kernel or later , or apply the one line patch to
the LSI driver in earlier ones, you will be able to safely use these
monitoring utilities.
Patch as outined by the author on the bug list and subsequently
accepted by LSI:
"It seems the mptsas driver could use blk_queue_dma_alignment() to advertise
a stricter alignment requirement. If it does, sd does the right thing and
bounces misaligned buffers (see block/blk-map.c line 57). The following
patch to 2.6.34-rc5 makes my symptoms go away. I'm sure this is the wrong
place for this code, but it gets my idea across."
diff --git a/drivers/message/fusion/mptscsih.c
b/drivers/message/fusion/mptscsih.c
index 6796597..1e034ad 100644
--- a/drivers/message/fusion/mptscsih.c
+++ b/drivers/message/fusion/mptscsih.c
@@ -2450,6 +2450,8 @@ mptscsih_slave_configure(struct scsi_device *sdev)
ioc->name,sdev->tagged_supported, sdev->simple_tags,
sdev->ordered_tags));
+ blk_queue_dma_alignment (sdev->request_queue, 512 - 1);
+
return 0;
}
Regards,
Richard
next prev parent reply other threads:[~2010-10-06 20:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <904330941.660.1286340548064.JavaMail.root@mail.networkmayhem.com>
2010-10-06 5:51 ` Raid 6 - TLER/CCTL/ERC Peter Zieba
2010-10-06 11:57 ` Phil Turmel
2010-10-06 20:14 ` Richard Scobie [this message]
2010-10-06 20:24 ` John Robinson
2010-10-07 0:45 ` Michael Sallaway
[not found] <30914146.21286374217265.JavaMail.SYSTEM@ninja>
2010-10-06 14:12 ` Lemur Kryptering
2010-10-06 21:22 ` Stefan /*St0fF*/ Hübner
[not found] <6391773.361286404984328.JavaMail.SYSTEM@ninja>
2010-10-06 22:51 ` Lemur Kryptering
[not found] <8469417.401286406060921.JavaMail.SYSTEM@ninja>
2010-10-06 23:11 ` Lemur Kryptering
2010-10-08 5:47 ` Stefan /*St0fF*/ Hübner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CACD8BA.2020106@sauce.co.nz \
--to=richard@sauce.co.nz \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.