public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Sriram V <vshrirama@gmail.com>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: PM with rootfs on mmc?
Date: Wed, 31 Dec 2008 01:23:19 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0812310121520.17126@localhost.localdomain> (raw)
In-Reply-To: <8bf247760812302147i53ece31dx24a402cdeb6e28bd@mail.gmail.com>





On Wed, 31 Dec 2008, Sriram V wrote:

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

What do you seen when you boot with "no_console_suspend"

You may also want to check out
Documentation/power/basic-pm-debugging.txt"

cheers,
-- Len Brown, Intel Open Source Technology Center

  reply	other threads:[~2008-12-31  6:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-31  5:47 PM with rootfs on mmc? Sriram V
2008-12-31  6:23 ` Len Brown [this message]
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=alpine.LFD.2.00.0812310121520.17126@localhost.localdomain \
    --to=lenb@kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=vshrirama@gmail.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