public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Chris Friedhoff <chris@friedhoff.org>
Cc: linux-kernel@vger.kernel.org, Nigel Cunningham <nigel@suspend2.net>
Subject: Re: 2.6.24-rc2 STD with s2disk fails to activate suspended system after loading
Date: Sun, 11 Nov 2007 19:45:06 +0100	[thread overview]
Message-ID: <200711111945.06745.rjw@sisk.pl> (raw)
In-Reply-To: <20071110221629.1d180480.chris@friedhoff.org>

On Saturday, 10 of November 2007, Chris Friedhoff wrote:
> please cc me, I'm not not subscribed to LKML
> 
> Hello,
> 
> with kernel 2.6.24-rc2 STD with s2disk suspends the system to disk, but
> when I start the system and the suspended systemimage is loaded, it
> fails to "activate" this suspended systemimage and continues after some
> time with following the normal boot sequence.
> 
> I can sucessfully STD the system with the following sequence
>   echo platform > /sys/power/disk
>   echo disk > /sys/power/state
> and when I start the laptop the suspended system is sucessfully
> restored.
> 
> Both behaviors are reliable reproducable.

Thanks for the report.

> googling for >"Freezing of tasks failed" swapper< brought
> "Nigel Cunningham - PID namespaces break initrd+hibernate combination?"
> http://lkml.org/lkml/2007/11/4/140

Yes, this looks similarly.

> dmesg output:
> <<snip>>
> RAMDISK: ext2 filesystem found at block 0
> RAMDISK: Loading 2000KiB [1 disk] into ram disk... done.
> EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
> VFS: Mounted root (ext2 filesystem).
> swsusp: Marking nosave pages: 000000000009f000 - 0000000000100000
> swsusp: Basic memory bitmaps created
> Clocksource tsc unstable (delta = -128791628 ns)
> Syncing filesystems ... done.
> Freezing user space processes ... (elapsed 0.00 seconds) done.
> Freezing remaining freezable tasks ... 
> Freezing of tasks failed after 20.00 seconds (1 tasks refusing to
> freeze): task                PC stack   pid father
> swapper       S c1835a88     0     1      0
>        00000000 00000046 c0118c80 c1835a88 00000004 00000001 c011e875
> 00000286 c01025a6 00000000 00000000 c1835b64 00000000 ffffffff c1835a90
> 00000001 00000000 00000000 00000000 00000000 0000007b 00000000 c1835a90
> c0118c80 Call Trace:
>  [<c0118c80>] default_wake_function+0x0/0x10
>  [<c011e875>] do_wait+0x335/0xac0
>  [<c01025a6>] kernel_thread+0x96/0xb0
>  [<c0118c80>] default_wake_function+0x0/0x10
>  [<c011f031>] sys_wait4+0x31/0x40
>  [<c04b7a23>] initrd_load+0x1b3/0x3a0
>  [<c04b5108>] prepare_namespace+0x98/0x1b0
>  [<c016090f>] sys_access+0x1f/0x30
>  [<c04b47c6>] kernel_init+0x166/0x260
>  [<c0103f4a>] ret_from_fork+0x6/0x1c
>  [<c04b4660>] kernel_init+0x0/0x260
>  [<c04b4660>] kernel_init+0x0/0x260
>  [<c0104b8f>] kernel_thread_helper+0x7/0x18
>  =======================
> kthreadd      S 0000038f     0     2      0
>        00000000 00000046 c0487790 0000038f c183ff1c 00000000 c012d81b
> c012d7b0 00000000 00000000 c0104b8f 00000000 00000000 00000000 00000000
> 00000000 00000000 
> Call Trace:
>  [<c012d81b>] kthreadd+0x6b/0xd0
>  [<c012d7b0>] kthreadd+0x0/0xd0
>  [<c0104b8f>] kernel_thread_helper+0x7/0x18
>  =======================
> ksoftirqd/0   S 00000000     0     3      2
>        00000000 00000046 fffffffc 00000000 c0120f00 00000000 c0120f7a
> c012d782 c012d740 00000000 00000000 c0104b8f c183ff3c 00000000 00000000
> 00000000 00000000 00000000 
> Call Trace:
>  [<c0120f00>] ksoftirqd+0x0/0x80
>  [<c0120f7a>] ksoftirqd+0x7a/0x80
>  [<c012d782>] kthread+0x42/0x70
>  [<c012d740>] kthread+0x0/0x70
>  [<c0104b8f>] kernel_thread_helper+0x7/0x18
> 
> <<snip>>

Can you please attach your kernel configuration file to the bugzilla entry
at http://bugzilla.kernel.org/show_bug.cgi?id=9345 ?

Thanks,
Rafael

  reply	other threads:[~2007-11-11 18:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10 21:16 2.6.24-rc2 STD with s2disk fails to activate suspended system after loading Chris Friedhoff
2007-11-11 18:45 ` Rafael J. Wysocki [this message]
2007-11-11 22:09   ` Chris Friedhoff
2007-11-19 13:42   ` 2.6.24-rc2 STD with s2disk fails to activate suspended system after loading - now 2.6.24-rc3 Chris Friedhoff
2007-11-19 18:58     ` Rafael J. Wysocki
2007-11-19 19:22       ` Rafael J. Wysocki
2007-11-19 22:43       ` Chris Friedhoff
2007-11-19 23:58         ` Rafael J. Wysocki
2007-11-20  5:55           ` Ingo Molnar
2007-11-21  0:46             ` Rafael J. Wysocki
2007-11-20 10:39           ` Chris Friedhoff
2007-11-20 21:54           ` Chris Friedhoff

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=200711111945.06745.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=chris@friedhoff.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nigel@suspend2.net \
    /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