From: Tejun Heo <htejun@gmail.com>
To: Soeren Sonnenburg <kernel@nn7.de>
Cc: linux-ide@vger.kernel.org,
Linux Kernel <linux-kernel@vger.kernel.org>,
Jeff Garzik <jeff@garzik.org>, Bernd Schubert <bs@q-leap.de>
Subject: Re: sata sil3114 vs. certain seagate drives results in filesystem corruptions
Date: Mon, 22 Oct 2007 11:12:44 +0900 [thread overview]
Message-ID: <471C071C.2010202@gmail.com> (raw)
In-Reply-To: <1192863324.5720.162.camel@localhost>
Helo,
Soeren Sonnenburg wrote:
> I finally managed to find a *reproducible* setup and way to trigger
> random corruptions using a sata sil 3114 controller connected to 4
> seagate drives
>
> port 1: ST3400832AS sda
> port 2: ST3400620AS sdb
> port 3: ST3750640AS sdc
> port 4: ST3750640AS sdd
>
> sda & sdb form md0 via a raid1 setup followed by an additional
> devicemapper layer ( root ). sdc and sdb are separate and also have an
> additional device mapper layer ( public ) and ( backups ).
>
> Now when I write large files of zeros to root(sda&sdb) and read the file
> back in it contains a few nonzero entries:
>
> # dd if=/dev/zero of=/foo bs=1M count=2000
> # hexdump /foo
> 0000000 0000 0000 0000 0000 0000 0000 0000 0000
> *
> <after >1GB random parts, within large blocks of zeroes>
>
> I can reliably trigger this on the md0 / devmapper-root setup when I
> write about 2GB of data (note that this machine has 1.5G of memory - and
> still 1GB is often enough to see this problem). Here it does not matter
> where in the filesystem I do these writes.
Thanks. I'll try to reproduce the problem here. What's your motherboard?
> Now promise_sata is converted to new EH, so I simply gave it a go, i.e.
> I attached ST3400832AS and ST3400620AS to the promise controller and
> rebooted and redid the experiments from above.
>
> No data corruptions whatsoever. I even ran the dd on all three devmapped
> mount points simultaneously with a size of 30GB each, still no
> corruption. However the error messages I've seen a year ago are back for
> the ST3400832AS and ST3400620AS attached to the promise controller (see
> below).
[--snip--]
> ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x100 action 0x2
> ata1.00: port_status 0x20200000
> ata1.00: cmd 25/00:00:c0:b6:74/00:01:20:00:00/e0 tag 0 cdb 0x0 data 131072 in
> res 51/0c:00:c0:b6:74/0c:01:20:00:00/e0 Emask 0x10 (ATA bus error)
> ata1: soft resetting port
Yeah, still the same. Your drives don't like the way promise controller
speaks to them (e.g. promise generates signals which are ) but now that
sata_promise has proper EH. It can recover from those errors. As long
as nothing worse happens, it should be okay.
Thanks.
--
tejun
next prev parent reply other threads:[~2007-10-22 2:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-20 6:55 sata sil3114 vs. certain seagate drives results in filesystem corruptions Soeren Sonnenburg
2007-10-22 2:12 ` Tejun Heo [this message]
2007-10-22 5:56 ` Soeren Sonnenburg
2007-10-22 9:48 ` Bernd Schubert
2007-10-22 10:36 ` Soeren Sonnenburg
2007-10-22 10:59 ` Bernd Schubert
2007-10-23 6:57 ` Soeren Sonnenburg
2007-10-22 11:02 ` Bernd Schubert
2007-10-22 12:56 ` Soeren Sonnenburg
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=471C071C.2010202@gmail.com \
--to=htejun@gmail.com \
--cc=bs@q-leap.de \
--cc=jeff@garzik.org \
--cc=kernel@nn7.de \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).