<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
On Thu, 2009-06-25 at 22:27 -0700, Fernando Lopez-Lezcano wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
&gt; It's really suspending.  The power light is blinking like it normally
&gt; does when suspended.  Just when the laptop lid is opened or the power
&gt; button pressed it tries to wake up (the screen comes on and a blinking
&gt; cursor appears for a second) and then it resets itself.

Ok, I was going to post to lkml to see if they can spot something, but
maybe you could look a bit more /var/log/messages to see what the
context is for that BUG statement (that is, what is happening before and
after - is this while powering down, trying to power up, etc), that
could maybe help them... 

Thanks for the report!
-- Fernando
</PRE>
</BLOCKQUOTE>
<BR>
Amazingly enough, I was finally able to get some information logged by following some of the steps in basic-pm-debugging.txt.&nbsp; This accomplished by doing &quot;echo 1 &gt; /sys/power/pm_trace; echo core &gt; /sys/power/pm_test; echo mem &gt; /sys/power/state.&quot;&nbsp; Some of the other test modes also created the exact same log message.&nbsp; Here it is with some context:<BR>
<BR>
Jul&nbsp; 1 19:32:35 localhost kernel: PM: Syncing filesystems ... done.<BR>
Jul&nbsp; 1 19:32:36 localhost kernel: [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Freezing user space processes ... (elapsed 0.00 seconds) done.<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Suspending console(s) (use no_console_suspend to debug)<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: sd 0:0:0:0: [sda] Stopping disk<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: sdhci-pci 0000:09:09.1: PME# disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: sdhci-pci 0000:09:09.1: PCI INT B disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: r8169 0000:08:00.0: PME# enabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: r8169 0000:08:00.0: wake-up capability enabled by ACPI<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: iwlagn 0000:02:00.0: PCI INT A disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: ata_piix 0000:00:1f.1: PCI INT A disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: ehci_hcd 0000:00:1d.7: PCI INT A disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: ehci_hcd 0000:00:1d.7: PME# disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: uhci_hcd 0000:00:1d.2: PCI INT C disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: uhci_hcd 0000:00:1d.1: PCI INT B disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: uhci_hcd 0000:00:1d.0: PCI INT A disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: HDA Intel 0000:00:1b.0: PCI INT A disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: ehci_hcd 0000:00:1a.7: PCI INT C disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: ehci_hcd 0000:00:1a.7: PME# disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: uhci_hcd 0000:00:1a.1: PCI INT B disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: uhci_hcd 0000:00:1a.0: PCI INT A disabled<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: ACPI: Preparing to enter system sleep state S3<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Disabling non-boot CPUs ...<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Broke affinity for irq 9<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Broke affinity for irq 12<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Broke affinity for irq 27<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: CPU 1 is now offline<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: SMP alternatives: switching to UP code<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: CPU1 is down<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: ricoh-mmc: Suspending.<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: ricoh-mmc: Controller is now re-enabled.<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: BUG: sleeping function called from invalid context at kernel/rtmutex.c:685<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: in_atomic(): 0, irqs_disabled(): 1, pid: 4322, name: bash<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Pid: 4322, comm: bash Not tainted 2.6.29.5-rt22 #1<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Call Trace:<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8144b3ff&gt;] ? rt_spin_lock_slowlock+0x0/0x27e<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff81047e30&gt;] __might_sleep+0x11d/0x133<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff81087d17&gt;] rt_spin_lock_fastlock+0x43/0xa2<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8144c0c5&gt;] rt_spin_lock+0x23/0x39<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8101a6df&gt;] read_persistent_clock+0x24/0x58<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff811fd63d&gt;] ? pci_pm_suspend_noirq+0x43/0xb5<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8107dccd&gt;] timekeeping_suspend+0x1d/0xb2<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff812a3260&gt;] sysdev_suspend+0x98/0x1f1<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff812aa564&gt;] ? device_power_down+0x55/0x141<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8108ecc8&gt;] suspend_devices_and_enter+0x111/0x1c9<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8108ef42&gt;] enter_state+0x172/0x1f0<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8108f086&gt;] state_store+0xc6/0xfd<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff810fc5f2&gt;] ? alloc_pages_current+0xcc/0xed<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff811e56c5&gt;] kobj_attr_store+0x2a/0x40<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8116aaa7&gt;] sysfs_write_file+0xee/0x137<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8110ab1c&gt;] ? rw_verify_area+0x97/0xd1<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8110b380&gt;] vfs_write+0xbe/0x130<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff8110b4e8&gt;] sys_write+0x56/0x93<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: [&lt;ffffffff81013102&gt;] system_call_fastpath+0x16/0x1b<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Extended CMOS year: 2000<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: suspend debug: Waiting for 5 seconds.<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Extended CMOS year: 2000<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: ricoh-mmc: Resuming.<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: ricoh-mmc: Controller is now disabled.<BR>
Jul&nbsp; 1 19:32:45 localhost kernel: Enabling non-boot CPUs ...<BR>
<BR>
<BR>
</BODY>
</HTML>