[PlanetCCRMA] Suspend/Resume not working with

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Thu Jun 25 17:29:51 PDT 2009

On Thu, 2009-06-25 at 18:12 -0500, S C Rigler wrote:
> Hello,
> This is my first post here, so I hope this hasn't been asked yet.
> I installed the kernel from the
> testing repo and it fixes a lot of problems for me (mainly the flaky
> wireless on my laptop is now rock solid), but now my laptop can't resume
> from suspend.  Basically the system suspends, but when I try to resume
> it powers itself and then just boots instead of resuming.
> This is what is logged in messages (maybe not important, but note the
> version on the third line):
> kernel: BUG: sleeping function called from invalid context
> pm-suspend(21609) at kernel/rtmutex.c:743
> kernel: in_atomic():1 [00000001], irqs_disabled():0
> kernel: Pid: 21609, comm: pm-suspend Not tainted
> #1

Yes, this is strange, how could the version be wrong?... I'm running
-rt22 (and previous versions) on a lenovo t61 and resume works fine. 

It would seem that it is suspend that is triggering the problem. Maybe
that would explain why it boots instead of resuming, it did not really

What mix of packages do you have installed with rt16, and what with

  rpm -q -a | grep rt21
  rpm -q -a | grep rt16

-- Fernando

> kernel:
> kernel: Call Trace:
> kernel: [<ffffffff8102c147>] __might_sleep+0x115/0x11a
> kernel: [<ffffffff812b729a>] __rt_spin_lock+0x2f/0x78
> kernel: [<ffffffff812b7325>] rt_spin_lock+0x42/0x46
> kernel: [<ffffffff812b265f>] timer_cpu_notify+0x243/0x326
> kernel: [<ffffffff812ba8d1>] notifier_call_chain+0x33/0x5b
> kernel: [<ffffffff81050274>] raw_notifier_call_chain+0xf/0x11
> kernel: [<ffffffff812a58f4>] _cpu_down+0x18d/0x263
> kernel: [<ffffffff8105b0fa>] disable_nonboot_cpus+0x60/0xf0
> kernel: [<ffffffff8105feaf>] suspend_devices_and_enter+0xa2/0x15a
> kernel: [<ffffffff810600d8>] enter_state+0x148/0x1b2
> kernel: [<ffffffff8100a811>] ? __switch_to+0xf5/0x39a
> kernel: [<ffffffff810601f9>] state_store+0xb7/0xd8
> kernel: [<ffffffff81142283>] kobj_attr_store+0x17/0x19
> kernel: [<ffffffff810ff678>] sysfs_write_file+0xdf/0x114
> kernel: [<ffffffff810b2f0f>] vfs_write+0xae/0x157
> kernel: [<ffffffff810b307c>] sys_write+0x47/0x6f
> kernel: [<ffffffff8100c3b8>] tracesys+0xd5/0xda

More information about the PlanetCCRMA mailing list