From owner-aic7xxx Mon Sep 21 19:25:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA19312 for aic7xxx-outgoing; Mon, 21 Sep 1998 19:25:03 -0700 (PDT) (envelope-from owner-aic7xxx@FreeBSD.ORG) Received: from dledford.dialnet.net (dledford.dialnet.net [206.65.249.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA19260 for ; Mon, 21 Sep 1998 19:24:49 -0700 (PDT) (envelope-from dledford@dialnet.net) Received: from dialnet.net (dledford@localhost [127.0.0.1]) by dledford.dialnet.net (8.8.7/8.8.7) with ESMTP id VAA32471; Mon, 21 Sep 1998 21:24:01 -0500 Message-ID: <36070A41.42422C91@dialnet.net> Date: Mon, 21 Sep 1998 21:24:01 -0500 From: Doug Ledford X-Mailer: Mozilla 4.06 [en] (X11; I; Linux 2.0.35 i686) MIME-Version: 1.0 To: Greg Wickham CC: aic7xxx Mailing List Subject: Re: Linux: Was reading past end of file fixed? References: <199809220126.LAA16099@hestia.its.deakin.edu.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg Wickham wrote: > > Hi Doug, > > I didn't mean to imply that it was aic7xxx error. > > However i do feel that the bug I reported is a kernel > error of somekind. > > Once it happens, if I reboot and do an fsck everything > is _perfectly_ normal. It is a worry. This usually means it is a hardware error of some sort that corrupts the in memory cache. Once you reboot the cache is cleared of course, so the problem does go away and e2fsck doesn't find anything. > As far as I can tell the hardware is functioning > perfectly. No other error is reported. > > Maybe there is a bug in the scsi code .. :( > It is damn hard to produce though. Only ever > happens when I least need it. I'm Cc:ing this to aic7xxx list because this test is fairly valuable at finding out these kinds of problems. To test for hardware bit flips related to heavy DMA load, I usually recommend running this script (you'll need at least roughly 50MB of free drive space on your /usr/src partition): 1. Get a linux-x.y.z.tar.gz tarball. 2. Put that tarball into /usr/src 3. Backup any existing /usr/src/linux directory to /usr/src/linux.save 4. Extract that linux-x.y.z.tar.gx file. 5. Move the new /usr/src/linux directory to /usr/src/linux.orig 6. Run the following shell script: #!/bin/sh cd /usr/src for i in 1 2 3 4 5 6 7 8 9 10 do tar -xzf linux-x.y.z.tar.gx diff -U 3 -rN linux.orig linux rm -fr linux done If that little shell script produces any visible output, then you have hardware problems. > ] Opinions expressed are my own, but > ] they should be everybody's. > > why :) I am the computer God :) Just kidding, I was in an arrogant mood one night and just came up with that to sound pompous and arrogant :) It was also meant to be a poke at all those people with those annoying "Opinions expressed are my own and not necessarily those of my employer" Duhhh...like I have to be told that you and some corporate entity are not the same unless you claim to be speaking on behalf of that company. Oops, I forgot about all the lamers out there that assume anyone talking from some domain talk for that domain. IOW, my sig is both a joke and a political/social commentary. -- Doug Ledford Opinions expressed are my own, but they should be everybody's. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-aic7xxx" in the body of the message