From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: "Miles Lane" <miles.lane@gmail.com>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
"Oleg Nesterov" <oleg@tv-sign.ru>,
"Gautham R Shenoy" <ego@in.ibm.com>, "Andi Kleen" <ak@suse.de>
Subject: Re: 2.6.21-rc7-mm1 + sysfs-oops-workaround.patch -- software suspend failed (1 tasks refusing to freeze)
Date: Wed, 25 Apr 2007 21:52:45 +0200 [thread overview]
Message-ID: <200704252152.46552.rjw@sisk.pl> (raw)
In-Reply-To: <a44ae5cd0704250048i474d7249l7d5b27f6adaf2742@mail.gmail.com>
On Wednesday, 25 April 2007 09:48, Miles Lane wrote:
> On 4/25/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> > On Tue, 24 Apr 2007 23:41:32 -0700 "Miles Lane" <miles.lane@gmail.com> wrote:
> >
> > > On 4/24/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> > > > On Tue, 24 Apr 2007 22:49:48 -0700 "Miles Lane" <miles.lane@gmail.com> wrote:
> > > >
> > > > > On 4/24/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> > > > > > On Tue, 24 Apr 2007 22:27:44 -0700 "Miles Lane" <miles.lane@gmail.com> wrote:
> > > > > >
> > > > > > > [ 1251.506964] PM: Preparing system for mem sleep
> > > > > > > [ 1251.514790] Stopping tasks ...
> > > > > > > [ 1271.456065] Stopping user space processes timed out after 20
> > > > > > > seconds (1 tasks refusing to freeze):
> > > > > > > [ 1271.456243] multiload-apple
> > > > > > > [ 1271.456291] Restarting tasks ... done.
> > > > > > >
> > > > > > > This isn't happening under earlier builds I've tested. How can I debug this?
> > > > > > >
> > > > > >
> > > > > > hm, that's multiload-applet, some gnome thing.
> > > > > >
> > > > > > sysrq-T, perhaps? Perhaps the process is sleeping in the kernel somewhere.
> > > > >
> > > > > Should I wait for the next patch from Tejun before retesting? Perhaps
> > > > > this suspend problem is a side effect of the locking problem he
> > > > > mentioned.
> > > >
> > > > It's unlikely to be related to Tejun's sysfs changes.
> > > >
> > > I tried to reproduce this, but this time when I tried to suspend, the
> > > machine just hung with a message showing saying the system was
> > > suspending. When I touched my Synaptics mousepad after about ten
> > > seconds of waiting, the system suddenly suspended.
> >
> > Fun. Could be one of Greg's trees, could be the swsusp patches, could be
> > the freezer changes, could be USB, could be the input layer, could be
> > anything. I don't see how we can merge anything at all into 2.6.22 at
> > present. The only thing to be said for doing that is that we'd increase
> > our pool of bisection-searchers. argh.
> >
> > Rafael, Oleg: do we have a way of exercising the freezer from userspace?
> > Just do a freeze/unfreeze? We should.
> >
> > Also, can we get better diagnostics when the freeze fails? Say, go the
> > equivalent of a sysrq-T? It could be that multiload-applet is waiting on
> > activity from an already-frozen thread or something.
> >
> > > Upon resuming, I
> > > checked dmesg and found the time seems to be totally out of whack:
> >
> > So sched_clock() went bad. That's another tree or three we can't merge.
> >
> > Is the system time also wrong?
> >
> > > [ 1334.589074] pci 0000:00:1f.6: LATE suspend
> > > [ 1334.589080] Intel ICH 0000:00:1f.5: LATE suspend
> > > [ 1334.589085] pci 0000:00:1f.3: LATE suspend
> > > [ 1334.589091] pci 0000:00:1f.0: LATE suspend
> > > [ 1334.589096] pci 0000:00:1e.0: LATE suspend, may wakeup
> > > [ 1334.589102] pci 0000:00:02.1: LATE suspend
> > > [ 1334.589108] pci 0000:00:02.0: LATE suspend
> > > [ 1334.589113] pci 0000:00:00.3: LATE suspend
> > > [ 1334.589118] pci 0000:00:00.1: LATE suspend
> > > [ 1334.589124] agpgart-intel 0000:00:00.0: LATE suspend
> > > [ 1334.589733] hwsleep-0323 [03] enter_sleep_state : Entering
> > > sleep state [S3]
> > > [18014527.889728] Intel machine check architecture supported.
> > > [18014527.889749] Intel machine check reporting enabled on CPU#0.
> > > [18014527.889783] Back to C!
> > > [18014527.889783] agpgart-intel 0000:00:00.0: EARLY resume
> > > [18014527.889783] PCI: Calling quirk c01c94b2 for 0000:00:00.0
> >
>
> After several attempts, I reproduced getting tasks that won't freeze.
> Sorry for the size of this text. I don't know how to delete the unneeded stuff.
Which wireless driver do you use?
Can you try to suspend with the driver unloaded?
Rafael
next prev parent reply other threads:[~2007-04-25 19:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 5:27 2.6.21-rc7-mm1 + sysfs-oops-workaround.patch -- software suspend failed (1 tasks refusing to freeze) Miles Lane
2007-04-25 5:41 ` Andrew Morton
2007-04-25 5:49 ` Miles Lane
2007-04-25 5:54 ` Andrew Morton
2007-04-25 6:41 ` Miles Lane
2007-04-25 7:07 ` Andrew Morton
2007-04-25 7:32 ` Andi Kleen
[not found] ` <a44ae5cd0704250048i474d7249l7d5b27f6adaf2742@mail.gmail.com>
2007-04-25 19:52 ` Rafael J. Wysocki [this message]
[not found] ` <20070425011902.714d85d6.akpm@linux-foundation.org>
[not found] ` <a44ae5cd0704251300o2804e71dwebeda266415b691b@mail.gmail.com>
2007-04-25 21:33 ` Gautham R Shenoy
[not found] ` <20070425141245.1bb29930.akpm@linux-foundation.org>
2007-04-25 21:37 ` Gautham R Shenoy
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=200704252152.46552.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=ego@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=miles.lane@gmail.com \
--cc=oleg@tv-sign.ru \
/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