public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Gérard Roudier" <groudier@club-internet.fr>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: SCSI Tape corruption - update
Date: Sun, 8 Jul 2001 21:01:17 +0200 (CEST)	[thread overview]
Message-ID: <20010708204508.D804-100000@> (raw)
In-Reply-To: <Pine.LNX.4.05.10107081519110.9473-100000@callisto.of.borg>



On Sun, 8 Jul 2001, Geert Uytterhoeven wrote:

> On Thu, 21 Jun 2001, Geert Uytterhoeven wrote:
> > On Tue, 8 May 2001, Geert Uytterhoeven wrote:
> > > In the mean time I down/upgraded to 2.2.17 on my PPC box (CHRP LongTrail,
> > > Sym53c875, HP C5136A  DDS1) and I can confirm that the problem does not happen
> > > under 2.2.17 neither.
> > >
> > > My experiences:
> > >   - reading works fine, writing doesn't
> > >   - 2.2.x works fine, 2.4.x doesn't (at least since 2.4.0-test1-ac10)
> > >   - hardware compression doesn't matter
> > >   - I have a sym53c875, Lorenzo has an Adaptec, so most likely it's not a
> > >     SCSI hardware driver bug
> > >   - I have a PPC, Lorenzo doesn't, so it's not CPU-specific
> > >   - corruption is always a block of 32 bytes being replaced by 32 bytes from
> > >     the previous tape block (depending on block size!) (approx. 6 errors per
> > >     256 MB)
> > >
> > > Lorenzo, can you please investigate the exact nature of the corruption on your
> > > system?
> > >   - How many successive bytes are corrupted?
> > >   - Where do the corrupted data come from?
> >
> > Yesterday I noticed the same corruption under 2.2.19 (yes, I run amverify after
> > backing up my system now, so it detects corruption through the gzip CRCs).
> >
> > I'll do some more tests (when I find time) to get a higher statistical
> > certainty that it really doesn't happen under earlier 2.2.x kernels.
>
> New findings:
>   - The problem doesn't happen with kernels <= 2.2.17. It does happen with all
>     kernels starting with 2.2.18-pre1.
>   - The only related stuff that changed in 2.2.18-pre1 seems to be the
>     Sym53c8xx driver itself. I'll do some more tests soon to isolate the
>     problem.
>   - The changes to the Sym53c8xx driver in 2.2.18-pre1 are _huge_. Are the
>     individual changes between sym53c8xx-1.3g and sym53c8xx-1.7.0 available
>     somewhere?

No. But you can move the sym/ncr driver bundle from 2.2.18-pre1 to 2.2.17
and vice-versa.
 sym53c8xx.h, sym53c8xx_defs.h, sym53c8xx.c,
 sym53c8xx_comm.h, ncr53c8xx.h, ncr53c8xx.c

You also can download either sym-1.7.3c-ncr-3.4.3b, or sym-2.1.11, or just
both and play with all that stuff under 2.2.17 and later 2.2 kernels.

 ftp://ftp.tux.org/pub/roudier/README-drivers-linux

Btw, I am interested in results using sym-1.7.3c and sym-2.1.11 under
kernel 2.2.17 and possibly 2.2.18.

> BTW, I wrote a small test program which tries to analyze error bursts. You can
> find it at http://home.tvd.be/cr26864/Download/genpseudorandom.c
>
> Sample test using 200000000 bytes of data:
>
>     genpseudorandom -o -l 200000000  > /dev/tape
>     genpseudorandom -i < /dev/tape

Unfortunately, I haven't any tape device.

> So far I always saw problems when writing even only 10 MB to tape: ca. 3-5
> bursts of 32 or 12 incorrect bytes, which are always a copy of the
> corresponding bytes in the previous block. Of course I used a much larger test
> stream to verify 2.2.17.
>
> Thanks!
>
> Gr{oetje,eeting}s,
>
> 						Geert

Thanks for your testings,
  Gérard.


  reply	other threads:[~2001-07-08 19:03 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-07 14:46 SCSI Tape corruption - update Lorenzo Marcantonio
2001-05-07 15:39 ` Rob Turk
2001-05-07 19:15   ` Lorenzo Marcantonio
2001-05-08  7:12     ` Geert Uytterhoeven
2001-05-08  8:16       ` Lorenzo Marcantonio
2001-06-21  9:33       ` Geert Uytterhoeven
2001-07-08 13:33         ` Geert Uytterhoeven
2001-07-08 19:01           ` Gérard Roudier [this message]
2001-07-20 17:08           ` Geert Uytterhoeven
2001-07-20 21:02             ` Gérard Roudier
2001-07-27  7:49               ` Geert Uytterhoeven
2001-07-27 20:41                 ` Gérard Roudier
2001-07-28  9:57                   ` Geert Uytterhoeven
2001-11-01 19:09                   ` Geert Uytterhoeven
2001-11-02  7:04                     ` Gérard Roudier
2001-11-07 15:26                       ` Geert Uytterhoeven
2001-12-05 15:32                       ` Geert Uytterhoeven
2001-12-28 20:36                         ` Sym53c8xx tape corruption squashed! (was: Re: SCSI Tape corruption - update) Geert Uytterhoeven
2001-12-29  0:57                           ` Gérard Roudier
2001-12-29 10:49                             ` Geert Uytterhoeven
2001-12-29 13:23                             ` Geert Uytterhoeven
2001-12-29 18:39                               ` Gérard Roudier
2001-12-29 21:28                                 ` Geert Uytterhoeven
2001-12-30  0:00                                   ` Gérard Roudier
  -- strict thread matches above, loose matches on Subject: below --
2001-05-09  8:33 SCSI Tape corruption - update Ishikawa
2001-04-12  8:43 SCSI Tape Corruption " lomarcan
2001-04-12 12:43 ` Bob_Tracy
2001-04-12 15:43 ` Gérard Roudier
2001-04-13  7:02 ` Geert Uytterhoeven
2001-04-13  7:13   ` Geert Uytterhoeven

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=20010708204508.D804-100000@ \
    --to=groudier@club-internet.fr \
    --cc=geert@linux-m68k.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