Comment 1 for bug 367134

Revision history for this message
Jeremy Sequoia (jeremyhu) wrote :

The screen state restore is problematic, and I think there are multiple issues at work here. When I boot my kernel with 'test_suspend=standby no_console_suspend', I still get the following:

[ 14.176212] ------------[ cut here ]------------
[ 14.176277] WARNING: at /build/buildd/linux-2.6.28/kernel/power/main.c:177 suspend_test_finish+0x7c/0x80()
[ 14.176358] Component: resume devices
[ 14.176421] Modules linked in:
[ 14.176532] Pid: 1, comm: swapper Not tainted 2.6.28-11-generic #42-Ubuntu
[ 14.176600] Call Trace:
[ 14.176667] [<ffffffff80250927>] warn_slowpath+0xb7/0xf0
[ 14.176736] [<ffffffff8025c676>] ? lock_timer_base+0x36/0x70
[ 14.176804] [<ffffffff80531f4f>] ? usb_suspend_both+0x26f/0x310
[ 14.176873] [<ffffffff8069bf36>] ? printk+0x67/0x69
[ 14.176940] [<ffffffff80418877>] ? kobject_put+0x27/0x60
[ 14.177009] [<ffffffff804b6045>] ? put_device+0x15/0x20
[ 14.177078] [<ffffffff804be06a>] ? dpm_complete+0x18a/0x1a0
[ 14.177145] [<ffffffff8028003c>] suspend_test_finish+0x7c/0x80
[ 14.177213] [<ffffffff80280124>] suspend_devices_and_enter+0xe4/0x180
[ 14.177282] [<ffffffff802803d9>] enter_state+0xe9/0x120
[ 14.177348] [<ffffffff80280526>] pm_suspend+0x16/0x20
[ 14.177416] [<ffffffff80a076ab>] test_wakealarm+0x113/0x149
[ 14.177483] [<ffffffff80a076e1>] ? test_suspend+0x0/0xb8
[ 14.177549] [<ffffffff80a0778f>] test_suspend+0xae/0xb8
[ 14.177615] [<ffffffff80a06fbd>] ? pm_qos_power_init+0xa2/0xe5
[ 14.177683] [<ffffffff8020a03b>] do_one_initcall+0x3b/0x170
[ 14.177750] [<ffffffff80417e7f>] ? idr_pre_get+0x4f/0x90
[ 14.177817] [<ffffffff8069e569>] ? _spin_lock+0x9/0x10
[ 14.177885] [<ffffffff8033c2e4>] ? proc_register+0x144/0x220
[ 14.177952] [<ffffffff8033c4e9>] ? create_proc_entry+0x59/0xb0
[ 14.178020] [<ffffffff802a1e58>] ? register_irq_proc+0xb8/0xe0
[ 14.178088] [<ffffffff80330000>] ? dquot_mark_dquot_dirty+0x20/0x80
[ 14.178157] [<ffffffff809e97cb>] kernel_init+0xc8/0x11e
[ 14.178224] [<ffffffff80246917>] ? schedule_tail+0x27/0x70
[ 14.178291] [<ffffffff80213979>] child_rip+0xa/0x11
[ 14.178357] [<ffffffff809e9703>] ? kernel_init+0x0/0x11e
[ 14.178424] [<ffffffff8021396f>] ? child_rip+0x0/0x11
[ 14.178489] ---[ end trace c1b40c1d8d0f0309 ]---