public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: iMX6SL Suspend mode (S3)
Date: Fri, 24 Jan 2014 21:24:10 +0000	[thread overview]
Message-ID: <20140124212410.GH15937@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CACUGKYMxozVYUZ1neX9iRqRoaTCTOOY8VV92UAtcwUa_1f0XSw@mail.gmail.com>

On Fri, Jan 24, 2014 at 01:14:08PM -0800, John Tobias wrote:
> Hello all,
> 
> I am testing the suspend mode (S3) for my custom board with iMX6SL and
> the iMX6SL EVK as well. I am using 3.13 kernel, eMMC and MMC for the
> storage and systemd to control the OS. If I put my device in S3 mode,
> I got the following messages:
> 
> [   27.949393] PM: Syncing filesystems ... done.
> [   27.972392] mmc0: card 0001 removed
> [   28.033613] end_request: I/O error, dev mmcblk0, sector 0
> [   28.063493] end_request: I/O error, dev mmcblk0, sector 0
> [   28.107933] end_request: I/O error, dev mmcblk0, sector 0
> [   28.131456] end_request: I/O error, dev mmcblk0, sector 0
> [   28.153651] end_request: I/O error, dev mmcblk0, sector 0
> [   28.215530] Freezing user space processes ... (elapsed 0.001 seconds) done.
> [   28.224284] Freezing remaining freezable tasks ... (elapsed 0.001
> seconds) done.
> [   28.233658] Suspending console(s) (use no_console_suspend to debug)
> 
> If I press any key, it will wake up. But, I got the following errors:
> 
> [   17.815008] mmc0: new high speed DDR MMC card at address 0001
> [   17.828024] mmcblk0: mmc0:0001 SEM04G 3.68 GiB
> [   17.833522] mmcblk0boot0: mmc0:0001 SEM04G partition 1 2.00 MiB
> [   17.839699] mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB
> [   17.847150] mmcblk0rpmb: mmc0:0001 SEM04G partition 3 2.00 MiB
> [   17.860116]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
> [   17.883550]  mmcblk0boot1: unknown partition table
> [   17.899549]  mmcblk0boot0: unknown partition table

This is because MMC insists that when you suspend, the card will be
ejected, and when you resume, it will be re-inserted - it's effectively
the same as if you pulled the card out and then plugged it back in
without shutting the system down.

This is the default for the MMC subsystem, unless MMC_UNSAFE_RESUME
is set - and you can't have rootfs in MMC and suspend/resume unless
that's set.

-- 
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up.  Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".

  reply	other threads:[~2014-01-24 21:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24 21:14 iMX6SL Suspend mode (S3) John Tobias
2014-01-24 21:24 ` Russell King - ARM Linux [this message]
2014-01-24 21:31   ` John Tobias

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=20140124212410.GH15937@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --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