From: Tejun Heo <htejun@gmail.com>
To: dshaw@jabberwocky.com
Cc: linux-ide@vger.kernel.org, linux-raid@vger.kernel.org
Subject: Re: Possible data corruption sata_sil24?
Date: Wed, 18 Jul 2007 17:53:39 +0900 [thread overview]
Message-ID: <469DD513.7070202@gmail.com> (raw)
In-Reply-To: <20070713115919.GC17811@jabberwocky.com>
David Shaw wrote:
>>> It fails whether I use a raw /dev/sdd or partition it into one large
>>> /dev/sdd1, or partition into multiple partitions. sata_sil24 seems to
>>> work by itself, as does dm, but as soon as I mix sata_sil24+dm, I get
>>> corruption.
>> Hmmmm.... Can you reproduce the corruption by accessing both devices
>> simultaneously without using dm? Considering ich5 does fine, it looks
>> like hardware and/or driver problem and I really wanna rule out dm.
>
> I think I wasn't clear enough before. The corruption happens when I
> use dm to create two dm mappings that both reside on the same real
> device. Using two different devices, or two different partitions on
> the same physical device works properly. ich5 does fine with these 3
> tests, but sata_sil24 fails:
>
> * /dev/sdd, create 2 dm linear mappings on it, mke2fs and use those
> dm "devices" == corruption
>
> * Partition /dev/sdd into /dev/sdd1 and /dev/sdd2, mke2fs and use
> those partitions == no corruption
>
> * Partition /dev/sdd into /dev/sdd1 and /dev/sdd2, create 2 dm linear
> mappings on /dev/sdd1, mke2fs and use those dm "devices" ==
> corruption
I'm not sure whether this is problem of sata_sil24 or dm layer. Cc'ing
linux-raid for help. How much memory do you have? One big difference
between ata_piix and sata_sil24 is that sil24 can handle 64bit DMA.
Maybe dma mapping or something interacts weirdly with dm there?
Thanks.
--
tejun
next prev parent reply other threads:[~2007-07-18 8:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-06 1:24 Possible data corruption sata_sil24? David Shaw
2007-07-10 15:28 ` Tejun Heo
2007-07-13 1:42 ` David Shaw
2007-07-13 7:34 ` Tejun Heo
2007-07-13 11:59 ` David Shaw
2007-07-18 8:53 ` Tejun Heo [this message]
2007-07-18 12:31 ` David Shaw
2007-07-19 8:03 ` Tejun Heo
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=469DD513.7070202@gmail.com \
--to=htejun@gmail.com \
--cc=dshaw@jabberwocky.com \
--cc=linux-ide@vger.kernel.org \
--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.