public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Sriram V" <vshrirama@gmail.com>
To: linux-pm@lists.linux-foundation.org
Subject: PM with rootfs on mmc?
Date: Wed, 31 Dec 2008 11:17:50 +0530	[thread overview]
Message-ID: <8bf247760812302147i53ece31dx24a402cdeb6e28bd@mail.gmail.com> (raw)

Hi,
  I am trying to test pm on my platform/board.
  I am using the latest linux kernel - 2.6.28-rc6
  PM Support exists in my mmc driver and suspend and resume work fine.

  With rootfs mounted via NFS. I am able to do
   $ echo -n mem > /sys/power/state

  The above works. It successfully calls suspend and resume of sdmmc driver.

  However, the same does not work if i have mounted the SDMMC card
with rootfs on NFS.

  The kernel hangs, when i try to do
     $ echo -n mem > /sys/power/state

 In this case suspend and resume functions of the driver are not called
 at all. (I gave a couple of debug prints at the beginning of suspend and resume
 and they didnot get print)

 Same behaviour is observed when i boot out of SDMMC card. Suspend/Resume
 dont work. The kernel hangs.

I get the messages in both case when i suspend-to-ram.

PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)


I am not sure if this has to do with SD/MMC driver or something else.

Please advice.

Regards,
sriram

             reply	other threads:[~2008-12-31  5:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-31  5:47 Sriram V [this message]
2008-12-31  6:23 ` PM with rootfs on mmc? Len Brown
2008-12-31 15:32   ` Sriram V
2009-01-02 16:14     ` 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=8bf247760812302147i53ece31dx24a402cdeb6e28bd@mail.gmail.com \
    --to=vshrirama@gmail.com \
    --cc=linux-pm@lists.linux-foundation.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