lkml.org 
[lkml]   [2007]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [linux-pm] Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]
    Date
    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@sisk.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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-30 16:57    [W:0.024 / U:120.980 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site