Skip to contentSkip to conversation

Strange disk corruption with Linux >= 2.6.13

DISCUSSION Bodo Eggert 2 participants 2 messages Oct 2, 2005 – Oct 3, 2005 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 9 lines · Rogério Brito
Quoted 1 line · Nigel Cunningham

3) Is the corruption only ever in memory, or seen on disk too?

I have noticed the problem mostly on disk. One strange situation was when I was untarring a kernel tree (compressed with bzip2) and in the middle of the extraction, bzip2 complained that the thing was corrupted.

Quoted 4 lines

I removed what was extracted right away and tried again to extract the tree (at this point, suspecting even that something in software had problems). The problem with bzip2 occurred again. Then, I rebooted the system an the problem magically went away.

I have a similar problem:
It's a corruption while reading data from the HDD into the cache. The affected page will contain (pseudo?)random data in the first four bytes (at least on my system it did).

If you waited long enough, the cache page would be discarded and the next read from the disk would be correct. However, if it happens e.g. in an inode block, the corruption may find it's way to the disk and/or fubar your data.

This happens mostly if there are concurrent DMA transfers like playing sound or watching TV on bttv cards. I'm affected by the later cause, setting no_overlay reduced it.

Signature · 2 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
#4 lore raw
Quoted 7 lines · Bodo Eggert
Quoted 4 lines · Rogério Brito

I removed what was extracted right away and tried again to extract the tree (at this point, suspecting even that something in software had problems). The problem with bzip2 occurred again. Then, I rebooted the system an the problem magically went away.

I have a similar problem:

I am still investigating the problem. I am not planning on resting right now. I really want to understand what's going on with this system.

Too bad that I am quite naïve and don't understand much about hardware in general. :-(

Quoted 3 lines

This happens mostly if there are concurrent DMA transfers like playing sound or watching TV on bttv cards. I'm affected by the later cause, setting no_overlay reduced it.

Humm, I think that I may have seen something like this in the past: I have two CD readers here (both with DMA turned on) and I was once extracting audio to be converted to MP3 and I noticed one strange corruption that I have not been able to reproduce again:

Bits of what was extracted from one file appeared in the other disc and the result was something like a mix of static and alternation between the two music sources. Weird, huh?

Thanks for the concern, Rogério Brito.

P.S.: I will reboot my system and force an fsck as soon as I can, just in case.

Signature · 3 lines
Rogério Brito : [email protected] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/