* queer data integrity problem
@ 2000-04-09 4:00 Tobias Ernst
0 siblings, 0 replies; 2+ messages in thread
From: Tobias Ernst @ 2000-04-09 4:00 UTC (permalink / raw)
Hello!
I have a Multia/UDB with Linux and have a queer data integrity problem,
that at first glance I contributed to hardware failure, but now I think
it is a bug, or let's say strange incompatibility, with Linux.
Details:
I have written a simple program that does what the Linux "badblocks -w"
does: It opens a device like /dev/sda on Linux or /dev/sd0c on NetBSD
and writes the same byte value to that device until it is full. Then it
reads the device again and tests if it still sees the same byte values.
On my Multia/UDB running Linux, this test shows no problem if I use
0x00, 0x55 or 0xAA as byte value. It fails when I use 0xFF as byte
value, yielding to the average about 10 bytes per Gigabye that have
mystically changed their values. But on each run, those bytes are at
different locations and also their number is different.
This happens no matter if I use a notebook IDE or an external SCSI
disk, and the same disks connected to an Intel PC with Debian Potato
don't show this symptom. I have already equipped the Muttia with a
really powerful fan; and have tried both Redhat 5.2 booted via
ARC+Milo, and Debian Potato booted via SRM+aboot.
Now the really queer thing is that if I use NetBSD/alpha 1.4.2, the
problem does NOT show up (!). I have tested countless times, of course.
So I don't think it is a hardware failure any more. I can also exclude
a programming error on my side, as I originally came to write this
program because the Linux "badblocks" utilitiy showed bad blocks, but
others each time I ran it, which means that badblocks is affected by
the same problem.
So what is the difference? Perhaps the PAL-Code? Which leads me to the
question: Does Linux, booted via SRM+aboot, use the DEC SRM firmware
palcode like NetBSD does, or does it still use it's own Palcode like it
does when using ARC+Milo?
I still cannot believe Alphalinux has such a blatant bug!? Perhaps
Linux uses some part of my hardware which is faulty that NetBSD does
not use?
I have asked a friend who has also has a Multia to do this check, but
he could not reproduce my problem. On the other hand, he only had a 100
MB partition available and only tested 3 times.
Kind Regards,
Tobias
^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <8d66nn$g7m@src-news.pa.dec.com>]
* Re: queer data integrity problem
[not found] <8d66nn$g7m@src-news.pa.dec.com>
@ 2000-05-02 4:00 ` Tobias Ernst
0 siblings, 0 replies; 2+ messages in thread
From: Tobias Ernst @ 2000-05-02 4:00 UTC (permalink / raw)
Hallo!
HM>> It's also using much more memory so a wild store is much more
likely
HM>> to hit something important. What sort of error patterns do you
see?
HM>> Do they look like disk/memory bit errors or wild software
smashes?
TE> I have not actually checked how they changed, just that they
changed.
TE> But I'll redo the test and report the results.
My time had been absorbed by other projects, but now I have redone the
test. Below are part of the results. I have modified the code a little:
Now I write the pattern once, but then read it twice. So I can see if
the data is corrupted when reading or writing. It turned out that data
is nearly always corrupted when reading (i.E. two succeeding reads find
mismatches at different possitions). Sometimes two read checks show
identical mismatches. This might be coincidence, or it might indicate
that sometimes data is also corrupted when writing. To me, the patterns
look more like single bit errors.
What really bothers me is that I only see the problem with the FF
pattern. There never is a SINGLE error with the other patterns (the
test ran much longer than the log file excerpt shown below).
I am also at a loss as to why I never see a single machine check, ECC
correctable or non-correctable error, etc. Those should happen often,
if the machine is really so flaky?
Guess I'll have no chance but to replace that ominous 74F623 chip and
hope that this helps?
===================================================================
doing test with pattern AA
doing read check #0
doing read check #1
doing test with pattern 55
doing read check #0
doing read check #1
doing test with pattern FF
doing read check #0
===========> pattern mismatch (e7 != ff) at 34598619
===========> pattern mismatch (f7 != ff) at 54998419
===========> pattern mismatch (87 != ff) at 88702667
===========> pattern mismatch (7 != ff) at 99974859
===========> pattern mismatch (e7 != ff) at 159612619
===========> pattern mismatch (e7 != ff) at 174601947
===========> pattern mismatch (7 != ff) at 174685899
===========> pattern mismatch (87 != ff) at 175740307
===========> pattern mismatch (7 != ff) at 187049691
===========> pattern mismatch (7 != ff) at 194346699
===========> pattern mismatch (87 != ff) at 198541003
===========> pattern mismatch (e7 != ff) at 336672475
===========> pattern mismatch (e7 != ff) at 338525899
===========> pattern mismatch (c7 != ff) at 358441771
===========> pattern mismatch (87 != ff) at 378639763
===========> pattern mismatch (f7 != ff) at 401702603
===========> pattern mismatch (87 != ff) at 443376427
===========> pattern mismatch (e7 != ff) at 515203883
===========> pattern mismatch (a7 != ff) at 544432939
===========> pattern mismatch (c7 != ff) at 609719203
===========> pattern mismatch (7 != ff) at 637464283
===========> pattern mismatch (e7 != ff) at 689681811
===========> pattern mismatch (87 != ff) at 719938347
===========> pattern mismatch (e7 != ff) at 735514955
===========> pattern mismatch (87 != ff) at 759791307
doing read check #1
===========> pattern mismatch (e7 != ff) at 1654491
===========> pattern mismatch (87 != ff) at 4816587
===========> pattern mismatch (e7 != ff) at 10314539
===========> pattern mismatch (e7 != ff) at 48862611
===========> pattern mismatch (7 != ff) at 93676331
===========> pattern mismatch (e7 != ff) at 149296859
===========> pattern mismatch (a7 != ff) at 175727403
===========> pattern mismatch (e7 != ff) at 186136283
===========> pattern mismatch (e7 != ff) at 198796075
===========> pattern mismatch (f7 != ff) at 328254171
===========> pattern mismatch (f7 != ff) at 366830379
===========> pattern mismatch (87 != ff) at 380461867
===========> pattern mismatch (e7 != ff) at 381365979
===========> pattern mismatch (7 != ff) at 391599835
===========> pattern mismatch (f7 != ff) at 421970651
===========> pattern mismatch (e7 != ff) at 448446171
===========> pattern mismatch (e7 != ff) at 473846491
===========> pattern mismatch (87 != ff) at 499220171
===========> pattern mismatch (e7 != ff) at 502365899
===========> pattern mismatch (e7 != ff) at 554888923
===========> pattern mismatch (e7 != ff) at 561529563
===========> pattern mismatch (e7 != ff) at 613245739
===========> pattern mismatch (7 != ff) at 628063947
===========> pattern mismatch (7 != ff) at 654376651
===========> pattern mismatch (e7 != ff) at 680349403
===========> pattern mismatch (e7 != ff) at 735514955
===================================================================
Kind Regards,
Tobias
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-05-02 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-09 4:00 queer data integrity problem Tobias Ernst
[not found] <8d66nn$g7m@src-news.pa.dec.com>
2000-05-02 4:00 ` Tobias Ernst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox