Re: ide write cache issue? [Re: Something corrupts raid5 disks slightly during reboot]

From: Willy Tarreau
Date: Sat Nov 01 2003 - 14:04:37 EST

On Sat, Nov 01, 2003 at 08:25:18PM +0200, Ville Herva wrote:

> Is there anything special in booting to DOS instead of different linux
> kernel, other than that it would rule out some strange kernel bug that is
> present in 2.2 and 2.4?

No, it was just to quicky confirm or deny the fact that it's the kernel
which causes the problem. It could have been a long standing bug in the IDE
or partition code, and which is present in several kernels. But as you say
that it affects two different controllers, there's little chance that it's
caused by anything except linux itself. Then, the reboot on DOS will only
tell you if the drives were corrupted at startup or at shutdown.

> Yes, but I find it unlikely. The partition table in within the first 512
> bytes and the corruption was in bytes 1060-1080. Also, one of the corrupted
> disks is on i815 and another in on HPT370.

I agree, but I proposed it just because it was simple to test.

> BTW: the corruption happens on warm reboots (running reboot command), not
> just on power off / on.

OK, but the BIOS scans your disks even during warm reboots. Though I don't
think it comes from there because of your two different controllers.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at