[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200704301658.05387.rjw@sisk.pl>
Date: Mon, 30 Apr 2007 16:58:04 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: ego@...ibm.com
Cc: Andrew Morton <akpm@...ux-foundation.org>,
list <linux-pm@...ts.linux-foundation.org>,
Dan Kruchinin <dubalom@...il.com>,
linux-kernel@...r.kernel.org, Pavel Machek <pavel@....cz>,
pm@...p2.linux-foundation.org
Subject: Re: [linux-pm] Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]
On Monday, 30 April 2007 12:05, Gautham R Shenoy wrote:
> On Mon, Apr 30, 2007 at 12:39:46AM -0700, Andrew Morton wrote:
> > On Sun, 29 Apr 2007 22:27:44 +0200 "Rafael J. Wysocki" <rjw@...k.pl> wrote:
> >
> > > On Sunday, 29 April 2007 21:51, Dan Kruchinin wrote:
> > > > Hi all.
> > > >
> > > > There is a problem on my macbook core duo with suspend.
> > > > after suspending when i'm trying to 'wake up' my notebook, it seems
> > > > that it works, but i don't see anything at my monitor. So i have to
> > > > reboot it to continue my work.
> > >
> > > What exactly do you do to suspend?
> > >
> >
> > This is due to _cpu_down() calling kthread_bind() in state TASK_RUNNING.
>
> The state should be TASK_INTERRUPTIBLE. That's the state of the thread
> 'p' should be in when we do a kthread_bind(p) in _cpu_down().
>
> Are you sure about the TASK_RUNNING part ?
Well, the WARN_ON() in kernel/kthread.c, line166, is triggering here, so it
may be TASK_INTERRUPTIBLE too (should the WARN_ON() trigger in that case)?
Rafael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists