lkml.org 
[lkml]   [2002]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PROBLEM] NFS trouble - file corruptions
On 29 Nov 2002, Alan Cox wrote:

> On Fri, 2002-11-29 at 13:17, Rasmus Bøg Hansen wrote:
> > I just tried turning off DMA on the server disk (this is just a low-end
> > IDE-system): No errors in files (compressing the file thrice).
> >
> > So it does not at all seem to be a NFS-issue!
> >
> > I have no idea what is wrong. If the disk, cable or IDE controller does
> > bit-flipping when DMA is turned on, why is the problem only seen with
> > NFS? I have never seem corrupted files or metadata with DMA turned
> > (except once long ago, when I experimented with high-transfer-modes - I
> > haven't done that since)...
>
> More likely it changes the timings. There is at least one other
> possibility though. With some via bridges using slightly too slow DDR
> RAM at a 133MHz clock works reliably _until_ you get a mix of CPU and
> DMA traffic. It'll even pass memtest86.

I couldn't solve the problem by setting timing parameters...

However, the RTL8139-driver is now configured for PIO-mode instead of
MMIO-mode (CONFIG_8139TOO_PIO), and I don't see corruptions anymore.

Thank you all for your help!

/Rasmus

--
-- [ Rasmus "Møffe" Bøg Hansen ] ---------------------------------------
Life is that property, which a being will lose as a result of falling
out of a cold and mysterious cave 30 miles above ground level.
- HitchHikers Guide to the Galaxy, Douglas Adams
----------------------------------[ moffe at amagerkollegiet dot dk ] --

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.046 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site