Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326137 - sys-kernel/gentoo-sources-2.6.32-r7: fails to suspend using pm-suspend and "echo -n mem > /sys/power/state"
Summary: sys-kernel/gentoo-sources-2.6.32-r7: fails to suspend using pm-suspend and "e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 08:19 UTC by Morten Holt
Modified: 2010-07-01 22:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Morten Holt 2010-06-29 08:19:12 UTC
On kernel 2.6.32-gentoo-r7 the system fails to suspend when using either pm-suspend, or when doing "echo -n mem > /sys/power/state".

The system simply flickers for a moment (can be related to problems with my nvidia-drivers and not being able to load console), and then wakes up again. Except that neither mouse nor keyboard work. The numlock and scroll-lock leds are on, and they don't react.
If I plug in a USB keyboard, it will be recognized and works, so system isn't frozen.

It used to work on kernel 2.6.31-gentoo-r10

Reproducible: Always

Steps to Reproduce:
1. Start system
2. As root, run pm-suspend
3.

Actual Results:  
The system wakes up instantly, and keyboard and mouse doesn't work.

Expected Results:  
The system should have gone to sleep.

The issue appears on a freshly booted system, and doesn't seem to be affected by any running software. Also, no USB devices have been plugged in (except the built-in keyboard).

Output from /var/log/everything/current:
Jun 29 10:04:49 [kernel] Freezing user space processes ... (elapsed 0.00 seconds) done.
Jun 29 10:04:49 [kernel] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Jun 29 10:04:49 [kernel] Suspending console(s) (use no_console_suspend to debug)
Jun 29 10:04:49 [kernel] pm_op(): usb_dev_suspend+0x0/0x10 returns -16
Jun 29 10:04:49 [kernel] PM: Device usb1 failed to suspend: error -16
Jun 29 10:04:49 [kernel] PM: Some devices failed to suspend
Jun 29 10:04:49 [kernel] i8042: failed to resume active multiplexor, mouse won't work.
Jun 29 10:04:49 [kernel] Restarting tasks ...
Jun 29 10:04:49 [kernel] done.
Comment 1 Gef 2010-07-01 07:58:41 UTC
Hi,

You should consider asking for help in forums.g.o, rather than bugs.g.o. Suspend/kernel issues with specific .config don't really belong here, unless the issue having being tracked down to a specific commit/software/etc.

Thanks
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-07-01 12:28:08 UTC
Could you please try the latest gentoo-sources?
Comment 3 Morten Holt 2010-07-01 12:30:54 UTC
(In reply to comment #2)
> Could you please try the latest gentoo-sources?
> 
I am running the newest stable gentoo-sources, do you want me to try the newest unstable?
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2010-07-01 12:34:26 UTC
Yes please

The problem might be fixed on latest kernel sources

Are you using the same .config file?

Does sys-power/hibernate-script works for you?
Comment 5 Morten Holt 2010-07-01 22:58:08 UTC
Problem seems to be fixed with kernel 2.6.34-r1