Re: 2.6.0-test11 data loss

From: Con Kolivas
Date: Wed Dec 24 2003 - 17:35:38 EST


Hello

On Thu, 25 Dec 2003 09:22, Gergely Tamas wrote:
> I've been hit by the same problem but using 2.6.0 . As you described,
> garbage in files (eg. /etc/modules.conf, ...).
>
> 2.6.0, Slackware 9.1
>
> > The corruption happened on two separate partitions on a single IDE
> > laptop drive, and both were ReiserFS 3.6 partitions. I don't know if
> > this is a kernel bug or a Reiser bug or something else, but I thought
>
> I don't think this is a reiserfs bug. This was my first thought and
> after first hitting this bug, I've moved all my partitions from reiserfs
> to jfs. But I've also had this problem with it... Now I'm back to
> 2.4.23, and everything works fine.

Because of the numerous reboots and hangs I've seen with experimental patches
I've also seen this, but it's not reiserFS fault. The problem is that most
drives have write caching enabled and not all of them are safe with this. If
you disable it with hdparm (hdparm -W 0 /dev/hd*) you'll find that open files
during a hard reset or power outage will prevent those open files from being
corrupted.

Con

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