From: Bart Samwel <bart@samwel.tk>
To: Jan Niehusmann <jan@gondor.com>
Cc: linux-kernel@vger.kernel.org, Zhu Yi <yi.zhu@intel.com>,
Bradley Chapman <kakadu@gmail.com>
Subject: Re: Laptop mode causing writes to wrong sectors?
Date: Sun, 20 Nov 2005 00:29:01 +0100 [thread overview]
Message-ID: <437FB53D.6070709@samwel.tk> (raw)
In-Reply-To: <20051119153024.GB4725@knautsch.gondor.com>
Jan Niehusmann wrote:
> 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?
OK, can this bug overwrite a page containing filesystem metadata? The
way it looks to me, it can: it writes at some fixed distance after a
block of memory allocated by the driver, and that memory could probably
be anything.
Now, can the stuff go to disk without oopsing? In the case of ext3, the
metadata writeback is handled by the JBD layer, which is block-based and
doesn't care about the actual page contents AFAIK -- that's handled by
the ext3 filesystem layer. That means a corrupted metadata page can go
to disk without oopsing. Youch. :/
Remaining issue: this bug is only triggered when the ipw2200 driver does
firmware restarts, which generates kernel output "ipw2200: Firmware
error detected. Restarting". Jan, Bradley, do you see any of these
messages in your logs near the time of corruption? That should be within
10 minutes before it; the corruption may happen anywhere during a
spun-down period. (Or does the ipw2200 driver only show this message in
debug mode?)
--Bart
next prev parent reply other threads:[~2005-11-19 23:31 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-16 18:16 Laptop mode causing writes to wrong sectors? Jan Niehusmann
2005-11-16 20:06 ` Bart Samwel
2005-11-16 21:42 ` Jan Niehusmann
2005-11-17 9:25 ` Bart Samwel
2005-11-17 10:33 ` Jan Niehusmann
2005-11-17 11:36 ` Bart Samwel
2005-11-17 22:33 ` Pavel Machek
2005-11-18 18:45 ` Bill Davidsen
2005-11-18 23:20 ` Pavel Machek
2005-11-19 8:39 ` Bart Samwel
2005-11-19 9:26 ` Vojtech Pavlik
2005-11-19 11:10 ` Bart Samwel
2005-11-19 14:05 ` Jan Niehusmann
2005-11-19 15:30 ` Jan Niehusmann
2005-11-19 23:29 ` Bart Samwel [this message]
2005-11-19 23:45 ` Jan Niehusmann
2005-11-21 2:09 ` Bill Davidsen
-- strict thread matches above, loose matches on Subject: below --
2005-11-17 13:22 Bradley Chapman
2005-11-17 14:27 ` Bart Samwel
2005-11-17 15:41 ` Jan Niehusmann
2005-11-17 16:05 ` Bart Samwel
2005-11-17 16:22 ` Bradley Chapman
2005-11-17 21:22 ` Bart Samwel
2005-11-17 22:50 ` Bradley Chapman
2005-11-20 21:30 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=437FB53D.6070709@samwel.tk \
--to=bart@samwel.tk \
--cc=jan@gondor.com \
--cc=kakadu@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=yi.zhu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox