You are not logged in.

#1 2012-02-13 13:27:51

maw09
Member
Registered: 2012-02-06
Posts: 9

[SOLVED] Hibernate works when using rmmod, but not SUSPEND_MODULES

I've been having trouble hibernating (or suspending) an ASUS U36JC laptop.

Running pm-suspend causes the computer to hang on a blank screen with
an unblinking cursor. I have found that this is caused by two modules not
suspending properly, ath9k and ehci_hcd.

Using rmmod to remove the modules makes suspend work:

# rmmod ath9k
# rmmod ehci_hcd
# pm-suspend # Suspend will now work

So I created a file /etc/pm/config.d/modules containing the line:

SUSPEND_MODULES="ath9k ehci_hcd"

But in this setup (without using rmmod) the original problem is back!
The computer hangs on a blank screen with an unblinking cursor after
I run suspend.

The log file /var/log/pm-suspend.log shows that the modules are unloaded:

Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
Unloading kernel module echi_hcd...Done.
Unloading kernel module ath9k...Done.

What could be causing the SUSPEND_MODULES solution to fail when the
rmmod solution works?

Thanks,

Last edited by maw09 (2012-02-14 22:42:20)

Offline

#2 2012-02-14 19:02:30

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [SOLVED] Hibernate works when using rmmod, but not SUSPEND_MODULES

maw09 wrote:
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
Unloading kernel module echi_hcd...Done.
Unloading kernel module ath9k...Done.

Interesting question, I don't have an answer.
But: Did you retype the output above, or is the log really calling it "echi_hcd" ??

Offline

#3 2012-02-14 22:41:52

maw09
Member
Registered: 2012-02-06
Posts: 9

Re: [SOLVED] Hibernate works when using rmmod, but not SUSPEND_MODULES

Great find. Catting my /etc/pm/config.d/modules had ehci_hcd as echi_hcd.

I think I re-typed the SUSPEND_MODULES line (hence losing the actual problem), but I didn't re-type the log output.

The 75modules hook should probably warn if a module doesn't exist.

Offline

Board footer

Powered by FluxBB