Re: Laptop mode causing writes to wrong sectors?

From: Bill Davidsen
Date: Sun Nov 20 2005 - 20:58:59 EST


Pavel Machek wrote:

Hi!



Can you try some filesystem test while forcing disk spindowns via
hdparm?

It may be bug in laptop mode, or a bug in ide (or something
related)... trying spindowns without laptopmode would be helpful.



I don't know if it would be helpful, but I run several servers with multiple drives, usually 4-5, some of which are in RAID and some aren't, and they all spin down and restart without problems many times a day. The kernel is 2.6.14.? with one patch to get my unsupported VIA IDE working.

My laptop also has a spindown (five min from memory) and I have yet to have a problem with it. Don't know if any of that is "spindowns without laptopmode" in a useful sense.



Unless you can also reproduce the failure... no, probably does not help
much.


No, that was really the point, even on multiple systems using spindown, I have no failures. I see four possible causes:
1 - spindown
2 - laptop mode
3 - 1 + 2
4 - bad hardware, kernel not at fault

Since I have a lot of (1) data I thought eliminating that as a cause by itself might be helpful.

--
bill davidsen <davidsen@xxxxxxx>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979

-
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/