public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.17-mm3: swsusp fails when process is debugged by ptrace
@ 2006-06-28 17:17 Jeremy Fitzhardinge
  2006-06-28 21:26 ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Jeremy Fitzhardinge @ 2006-06-28 17:17 UTC (permalink / raw)
  To: Linux Kernel Mailing List, linux-acpi, Andrew Morton

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.

    J


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-03 21:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-28 17:17 2.6.17-mm3: swsusp fails when process is debugged by ptrace Jeremy Fitzhardinge
2006-06-28 21:26 ` Pavel Machek
2006-06-28 21:52   ` Jeremy Fitzhardinge
2006-07-03 21:33     ` Pavel Machek
2006-07-03 21:54       ` Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox