Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219887 - Hibernation fails with sys-kernel/tuxonice-sources-2.6.25-r1
Summary: Hibernation fails with sys-kernel/tuxonice-sources-2.6.25-r1
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-30 23:13 UTC by 2bios2001
Modified: 2008-05-10 19:54 UTC (History)
1 user (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 2bios2001 2008-04-30 23:13:51 UTC
Every hibernate fails when using using an "unmodified" 2.6.25-tuxonice-r1.

Reproducible: Always

Steps to Reproduce:
1. Try to hibernate with 'hibernate'
Actual Results:  
The screen blanks, the pc-speaker (? i'm working on a laptop) plays a itchy two-note sound and on the console it says that the hibernate failed.

Expected Results:  
A clean hibernate

I'll post a log of `hibernate -v4` later on, when I rebooted with the buggy kernel.

If you remove the <> from "<unsupported>\n" in <pathtokernelsources>/drivers/cpufreq/cpufreq.c the hibernate works fine.

///////////////////////////////////////////////////////////////////////////////
static ssize_t show_scaling_setspeed(struct cpufreq_policy *policy, char *buf)
{
    if (!policy->governor->show_setspeed)
        return sprintf(buf, "unsupported\n");

    return policy->governor->show_setspeed(policy, buf);
}
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


PS.: My father found this bug and the solution ^^
Comment 1 2bios2001 2008-04-30 23:26:56 UTC
(In reply to comment #0)
> I'll post a log of `hibernate -v4` later on, when I rebooted with the buggy
> kernel.

This is very funny:
The first four hibernates with the unmodified kernel failed but now it works finely even when I use the unpatched kernel. I'm a bit confused...
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2008-05-05 07:47:16 UTC
Please report this to TuxOnIce upstream - looks like a change in cpufreq broke hibernation for some users. You can also try setting FullSpeedCPU to "no" in /etc/hibernate/common.conf