From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b27c033ffe12a7db,start X-Google-Attributes: gid111c93,public From: tobi@bland.fido.de (Tobias Ernst) Subject: queer data integrity problem Date: 2000/04/09 Message-ID: #1/1 X-Deja-AN: 609211151 Content-Transfer-Encoding: 7bit X-FTN-Origin: Unisched - Die Loesung fuer den Fido-Tossertask! (242:7600/1) X-FTN-Path: 7600/1 1000/1 Content-Type: text/plain; charset=us-ascii X-FTN-Seen-By: 1000/1 22 4000/1 4900/99 7600/0 1 2 X-FTN-Tearline: Msged/2 TE 06 (pre) X-FTN-Domain: Z242@fidode Organization: Fido.DE domain gateway (Moving Bits e.V. / IN e.V.) X-Gateway: FIDO morannon.fido.de [FIDOGATE 4.3.6] MIME-Version: 1.0 Newsgroups: comp.os.linux.alpha 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