From: tobi@bland.fido.de (Tobias Ernst)
Subject: queer data integrity problem
Date: 2000/04/09 [thread overview]
Message-ID: <MSGID_242=3A7600=2F1=40fido.de_38f094c2@Fido.DE> (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
next reply other threads:[~2000-04-09 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-09 4:00 Tobias Ernst [this message]
[not found] <8d66nn$g7m@src-news.pa.dec.com>
2000-05-02 4:00 ` queer data integrity problem Tobias Ernst
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox