Re: 2.6.17-mm3: swsusp fails when process is debugged by ptrace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> If I try to suspend the machine while a process debug-stopped by ptrace, 
> suspend fails:
> 
> PM: Preparing system for mem sleep
> Freezing cpus ...
> Breaking affinity for irq 0
> Breaking affinity for irq 1
> Breaking affinity for irq 12
> Breaking affinity for irq 23
> CPU 1 is now offline
> SMP alternatives: switching to UP code
> CPU1 is down
> Stopping tasks: 
> ==========================================================================================================================================================
> stopping tasks timed out after 20 seconds (13 tasks remaining):
>  khubd
>  kseriod
>  pdflush
>  pdflush
>  kswapd0
>  kprefetchd
>  pccardd
>  kirqd
>  kjournald
>  kauditd
>  knodemgrd_0
>  kjournald
>  test-vsnprintf
> Restarting tasks...<6> Strange, khubd not stopped
> Strange, kseriod not stopped
> Strange, pdflush not stopped
> Strange, pdflush not stopped
> Strange, kswapd0 not stopped
> Strange, kprefetchd not stopped
> Strange, pccardd not stopped
> Strange, kirqd not stopped
> Strange, kjournald not stopped
> Strange, kauditd not stopped
> Strange, knodemgrd_0 not stopped
> Strange, kjournald not stopped
> Strange, test-vsnprintf not stopped
> done
> Thawing cpus ...
> 
> In this case, test-vsnprintf is stopped in a breakpoint in gdb.  If I 
> quit it, then suspend works as expected.

Does it also happen when you do strace? ...I remember trying to solve
that, but 2.6.17-mm3 is very recent...?
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux