public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-pm@lists.linux-foundation.org, linux-usb@vger.kernel.org
Subject: Re: 2.6.25-mm1: suspend-to-disk warning, resume failure
Date: Fri, 18 Apr 2008 11:40:58 +0200	[thread overview]
Message-ID: <20080418094054.GA23572@elf.ucw.cz> (raw)
In-Reply-To: <20080417222125.99e807b6.akpm@linux-foundation.org>

On Thu 2008-04-17 22:21:25, Andrew Morton wrote:
> This is the Vaio.
> 
> This:
> 
> <cold boot>
> <suspend-to-ram>
> <resume-from-ram>
> <suspend-to-ram>
> <resume-from-ram>
> 
> works OK.
> 
> 
> This:
> 
> <cold boot>
> <suspend-to-disk>
> <resume-from-disk>
> 
> works OK.
> 
> 
> But this:
> 
> <cold boot>
> <suspend-to-ram>
> <resume-from-ram>
> <suspend-to-disk>
> <resume-from-disk>
> 
> hangs at the end of resume-from-disk.

You could try echo disk > /sys/power/state to see if it is ACPI acting
funny or some driver

> During the suspend-to-disk I saw:
> 
> ipw2200: Radio Frequency Kill Switch is On:
> Kill switch must be turned off for wireless networking to work.
> PM: Device usb1 failed to (unknown PM event): error -113
> PM: Device usb2 failed to (unknown PM event): error -113
> PM: Device usb3 failed to (unknown PM event): error -113
> PM: Device usb4 failed to (unknown PM event): error -113
> Suspending console(s)
> 
> But it suspends OK.



> Resume _almost_ works.  It gets to:
> 
> calling  hpet_insert_resource+0x0/0x1e()
> initcall hpet_insert_resource+0x0/0x1e() returned 1 after 0 msecs
> initcall hpet_insert_resource+0x0/0x1e() returned with error code 1
> calling  init_lapic_nmi_sysfs+0x0/0x33()
> initcall init_lapic_nmi_sysfs+0x0/0x33() returned 0 after 0 msecs
> calling  io_apic_bug_finalize+0x0/0x1c()
> initcall io_apic_bug_finalize+0x0/0x1c() returned 0 after 0 msecs
> calling  check_early_ioremap_leak+0x0/0x3d()
> initcall check_early_ioremap_leak+0x0/0x3d() returned 0 after 0 msecs
> calling  print_ipi_mode+0x0/0x26()
> Using IPI Shortcut mode
> initcall print_ipi_mode+0x0/0x26() returned 0 after 2 msecs
> calling  init_oops_id+0x0/0x23()
> initcall init_oops_id+0x0/0x23() returned 0 after 0 msecs
> calling  disable_boot_consoles+0x0/0x36()
> initcall disable_boot_consoles+0x0/0x36() returned 0 after 0 msecs
> calling  pm_qos_power_init+0x0/0x54()
> initcall pm_qos_power_init+0x0/0x54() returned 0 after 0 msecs
> calling  software_resume+0x0/0x179()
> Freezing user space processes ... (elapsed 0.00 seconds) done.
> Freezing remaining freezable tasks ... <6>input: PS/2 Mouse as /class/input/input3
> input: AlpsPS/2 ALPS GlidePoint as /class/input/input4
> (elapsed 0.14 seconds) done.
> PM: Loading image data pages (88965 pages) ... done
> PM: Read 355860 kbytes in 16.36 seconds (21.75 MB/s)
> Suspending console(s)

no_console_suspend should get you a bit more output...

> I guess I get to bisect this.

Either that, or you can try if it works with minimum config (no
wireless, no usb, no fancy drivers).
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

       reply	other threads:[~2008-04-18  9:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080417222125.99e807b6.akpm@linux-foundation.org>
2008-04-18  9:40 ` Pavel Machek [this message]
2008-04-18 11:08 ` 2.6.25-mm1: suspend-to-disk warning, resume failure Pavel Machek
     [not found] ` <20080418110440.GA5455@elf.ucw.cz>
2008-04-18 11:33   ` Andrew Morton
2008-04-18 15:19 ` Alan Stern
2008-04-18 16:05   ` Greg KH
2008-04-18 16:45     ` Alan Stern
2008-04-18 16:54       ` Greg KH
2008-04-18 18:47   ` Rafael J. Wysocki
2008-04-18 20:14     ` Rafael J. Wysocki
2008-04-18 20:38       ` Rafael J. Wysocki
2008-04-18 21:23         ` Greg KH
2008-04-18 21:30           ` Rafael J. Wysocki
2008-04-18 22:16             ` Greg KH
2008-04-18 23:16               ` Rafael J. Wysocki
2008-04-28 23:29                 ` Greg KH
     [not found]                 ` <20080428232917.GA4171@kroah.com>
2008-04-29 20:20                   ` Rafael J. Wysocki
2008-04-18 23:19         ` Pavel Machek
2008-04-18  5:21 Andrew Morton

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=20080418094054.GA23572@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=akpm@linux-foundation.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=linux-usb@vger.kernel.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