Re: Laptop mode causing writes to wrong sectors?

From: Jan Niehusmann
Date: Sat Nov 19 2005 - 10:30:45 EST


On Sat, Nov 19, 2005 at 03:05:28PM +0100, Jan Niehusmann wrote:
> That's interesting. Both Bradley and me are using ipw2200, an in the
> madwifi thread, one person also mentions he is using this driver. I
> don't know if madwifi and ipw2200 use common or very similar code. But
> perhaps this problem really is caused by a combination of laptop
> mode / disk spinup and certain wireless drivers?

Perhaps this one is related?

http://bughost.org/bugzilla/show_bug.cgi?id=821

If the corruption caused by this bug could lead to the filesystem
corruption I observed, it would match my observations quite well:

- Corruption started shortly after I upgraded to a kernel with
ipw2200 driver version 1.0.8
- Happens when using wireless
- File system corruption happens with laptop mode (because then the
probability that dirty pages which will be written to disk later can
be overwritten before the write actually happens is much higher)
- Problem is difficult to reproduce, as it's not deterministic which
type of data structure gets overwritten, and it can happen only once
per reboot (or driver reload)

Question is, could this bug cause filesystem corruption without any Oops
visible in the kernel log? Cc: to Zhu Yi at Intel - can you answer this
question?

Jan

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