public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.5.12 severe ext3 filesystem corruption warning!
@ 2002-05-02 21:40 Andries.Brouwer
  2002-05-02 20:50 ` Martin Dalecki
  2002-05-02 21:58 ` Andrew Morton
  0 siblings, 2 replies; 14+ messages in thread
From: Andries.Brouwer @ 2002-05-02 21:40 UTC (permalink / raw)
  To: akpm, daniel; +Cc: linux-kernel

>> 2.5.12, serious ext3 filesystem corrupting behavior

I have had problems with 2.5.10 (first few blocks of the root
filesystem overwritten) and then went back to 2.5.8 that I had
used for a while already, but then also noticed corruption there.
Back at 2.4.17 today..

In my case the problem was almost certainly the IDE code.
More in particular, the 2.5.8 corruption happened on four
different occasions, on two different disks, hanging off
an HPT366 that is without problems on 2.4*. Three of the
four times there were messages like

Apr 29 15:26:00 kernel: hde: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
Apr 29 15:26:00 kernel: hde: task_out_intr: error=0x04 { DriveStatusError }

May  2 01:21:23 kernel: hdf: status error: status=0x50 { DriveReady SeekComplete }
May  2 01:21:23 kernel: hdf: no DRQ after issuing WRITE
May  2 01:21:37 kernel: hdf: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
May  2 01:21:37 kernel: hdf: task_out_intr: error=0x04 { DriveStatusError }

Each time some data was written at a wrong address on disk.
Now these are ext2 filesystems, so I noticed.
Elsewhere I have ext3 and reiserfs, but journalling does not
protect against IDE drivers that write stuff to the wrong disk block.

Andries

^ permalink raw reply	[flat|nested] 14+ messages in thread
* 2.5.12 severe ext3 filesystem corruption warning!
@ 2002-05-02 13:01 Daniel Pittman
  2002-05-02 19:21 ` Andrew Morton
  0 siblings, 1 reply; 14+ messages in thread
From: Daniel Pittman @ 2002-05-02 13:01 UTC (permalink / raw)
  To: linux-kernel

I gave the 2.5.12 kernel a shot on my workstation tonight and found an
*extremely* serious ext3 filesystem corrupting behavior.

The only files that were mangled were files that had been modified while
running, so it looks like this is an issue with finding the contents of
modified files to write, not with random data dropping onto the disk.

That said, however, the contents were rather random -- blocks from
.overview were placed into a number of other files, chunks of
.newsrc.eld written to the gkrellm configuration file and the like.

Unmodified files, however, don't seem to have been touched. This can't
be perfect, of course, as something I never look at may have been
destroyed, but it seems to be reliably.

The system is a mobile P4, 512MB RAM, IDE disk. Only one filesystem
seems badly effected, my home directory, which is ext3 and fully
data-journaled.

I couldn't find corruption on the root filesystem[1] but there isn't
much of that which is actively written at runtime. Nothing notable in
/var seems broken, thankfully, so no panic. :)

Anyway, I don't know if anyone else is seeing the problems but this is a
first worrying datapoint with the kernel...

        Daniel

Footnotes: 
[1]  Contains everything else, including /usr and /var

-- 
20+ years as a vegetarian and the guy who steals my credit card
orders $6,000 worth of chicken parts: proof that the most powerful
force in the universe is Irony.
        -- David Weinberger, _JOHO_ (2000-03-20)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-05-04  5:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-02 21:40 2.5.12 severe ext3 filesystem corruption warning! Andries.Brouwer
2002-05-02 20:50 ` Martin Dalecki
2002-05-02 21:58 ` Andrew Morton
2002-05-02 22:57   ` Daniel Pittman
2002-05-04  5:26     ` Milton Miller
2002-05-04  5:46       ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2002-05-02 13:01 Daniel Pittman
2002-05-02 19:21 ` Andrew Morton
2002-05-02 19:34   ` Alexander Viro
2002-05-02 20:34     ` Andrew Morton
2002-05-02 22:39       ` Daniel Pittman
2002-05-02 22:37   ` Daniel Pittman
2002-05-02 23:00     ` Andrew Morton
2002-05-03  0:02       ` Daniel Pittman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox