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-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]