home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cs.utexas.edu!rice!corywest
- From: corywest@rice.edu (Cory West)
- Subject: Re: Buffer corruption problems.
- In-Reply-To: burley@geech.gnu.ai.mit.edu's message of 13 Aug 92 19:38:40 GMT
- Message-ID: <CORYWEST.92Aug13180939@rio-grande.rice.edu>
- Followup-To: comp.os.linux
- Sender: news@rice.edu (News)
- Organization: Well, none really, but I know where my socks are!
- References: <16078@ucdavis.ucdavis.edu> <1992Aug13.163854.21617@midway.uchicago.edu>
- <BURLEY.92Aug13153840@geech.gnu.ai.mit.edu>
- Date: Fri, 14 Aug 1992 00:09:39 GMT
- Lines: 50
-
- In article <BURLEY.92Aug13153840@geech.gnu.ai.mit.edu>
- burley@geech.gnu.ai.mit.edu (Craig Burley) writes:
-
- > ...I believe there is a bug in Linux that has the following behavior:
- >
- > - causes Linux to "misread" one 1024KB chunk of data from a disk-based file
- > so that what your app ends up with is some _other_ 1024KB chunk
- > (apparently from the same file)
- >
- > - occurs only during very heavy disk access, such as megabytes accessed
- > continually
- >
- > - is intermittent, but happens enough to reproduce fairly easily
- [Etc...]
-
- I have noticed some abnormalities, but I have been writing them
- off to a disk block in the process of going bad. Here's what I have
- noticed:
-
- - Under heavy and prolonged disk I/O (in this example, while compiling
- gdb from scratch) there seem to be problems with the buffer cache. After
- compiling for a while, gcc will choke with a TON of strange errors and die.
- However, if I just restart make, the compiler will continue successfully
- with the file that it had just died on, but it will die a little later
- down the line (after some more intensive I/O) under the same circumstances.
- After a couple of tries, I can usually get through the entire make.
-
- - I am running on MFM drives on a 486-33 with 4 Megs RAM (gcc 2.2.2d and
- gcc 2.2.2 and Linux 0.97 PL1), so while compiling large things, my disks never
- stop to breath, especially if I am trying to do something else while the compile
- is running.
-
- - The errors always include the same file (which is why I thought
- perhaps that that particular file was living on a disk block that was going
- belly up. I plan to rename that file to .deadblock and putting a new copy
- of the file in the directory to test this theory). I am also going to run some
- more large compiles to see if I can reproduce this error elsewhere in the
- system.
-
- I don't know what it is yet, and I'm not sure if it's anything, but
- I'll see what I can reproduce and hopefully we can determine if this is an
- OS bug or a hardware bug and whether or not it has anything to do at all with
- the above problem.
-
- Anyone else out there having problems?
-
-
-
- Cory West
- corywest@rice.edu
-