public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Markus Schulz <msc@antzsystem.de>
To: "Ed Lin - PTU" <ed.lin@promise.com>
Cc: "Dan Carpenter" <error27@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: data corruption with stex (Promise HW-Raid) driver and device-mapper
Date: Tue, 16 Nov 2010 09:37:14 +0100	[thread overview]
Message-ID: <201011160937.15432@Mail-Followup-To> (raw)
In-Reply-To: <85ABFDC4641C4847BA6088F2982EFD8F049D4273@nonamew.ptu.promise.com>

Am Dienstag, 16. November 2010 schrieb Ed Lin - PTU:
> Hello,
> 
> We found similar problem during test.
> 
> The stex driver sets sg_tablesize as 32 (for st_yel it's 38) in the
> probe entry. It seems that this value was overridden by the system
> if using dm/lvm, for unknown reason. The driver received requests
> with more sg items than registered. Sg item number could be as high
> as 64. This is completely unexpected. The firmware could not handle
> such requests, and error occurred.
> 
> The problem can be easily reproduced using a minimum test that only
> requires copying files from system usr directory to stex dm volume
> (ext2). The stex dm volume was created using the command
> "echo 0 51200000 linear /dev/sdb1 0 | dmsetup create sdb".
> The problem should exist on every kernel since 2.6.32. The problem
> did not occur on 2.6.31 using similar minimum test.

ok, but this would not explain why all my tests with ext3 are working? 
Until now  i've found no way to generate errors on stex-disk + dm + 
ext3.
I will try your simple test now.

regards,
msc

  reply	other threads:[~2010-11-16  8:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-14 12:46 data corruption with stex (Promise HW-Raid) driver and device-mapper Markus Schulz
2010-11-14 19:11 ` Dan Carpenter
2010-11-16  1:35   ` Ed Lin - PTU
2010-11-16  8:37     ` Markus Schulz [this message]
2010-11-25  9:57     ` Milan Broz
2010-11-29 19:35       ` Ed Lin - PTU

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=201011160937.15432@Mail-Followup-To \
    --to=msc@antzsystem.de \
    --cc=ed.lin@promise.com \
    --cc=error27@gmail.com \
    --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