Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: eric@eukrea.com (Eric Bénard)
To: linux-arm-kernel@lists.infradead.org
Subject: Hung kernel on SD writeback while suspending to RAM
Date: Thu, 17 Jun 2010 18:25:24 +0200	[thread overview]
Message-ID: <4C1A4C74.1040008@eukrea.com> (raw)
In-Reply-To: <AANLkTikHHcnJygPWKAlDk4NWGBE_fxexeLt3WO0xea0M@mail.gmail.com>

Hi,

Le 15/06/2010 09:58, Alex Gonzalez a ?crit :
> I am looking into suspend to RAM on a Freescale MX51 running a 2.6.31
> kernel. The
> system suspends and resumes OK except when an SD card is mounted.
>
> What happens then is that it finds a page which is being written to disk
> (writeback flag is set), so it waits forever in uninterruptible state
> for the write to finish, which never happens.
>
> I was expecting the filesystem sync previous to the tasks freezing to
> have written all page caches to disk.
>
> Any suggestion as to how to debug this forward?
>
I think you need to enable
[ ] Assume MMC/SD cards are non-removable (DANGEROUS)
in order to be able to suspend / resume a mounted SDCard.

Eric

  reply	other threads:[~2010-06-17 16:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15  7:58 Hung kernel on SD writeback while suspending to RAM Alex Gonzalez
2010-06-17 16:25 ` Eric Bénard [this message]
2010-06-17 16:54   ` Matt Reimer
2010-06-18 15:28   ` Alex Gonzalez

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=4C1A4C74.1040008@eukrea.com \
    --to=eric@eukrea.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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