Bug 14632 - resume fails when powernow-k8 is loaded on AMD Turion mobile
Summary: resume fails when powernow-k8 is loaded on AMD Turion mobile
Status: CLOSED INVALID
Alias: None
Product: Power Management
Classification: Unclassified
Component: Hibernation/Suspend (show other bugs)
Hardware: All Linux
: P1 low
Assignee: power-management_other
URL:
Keywords:
Depends on:
Blocks: 7216
  Show dependency tree
 
Reported: 2009-11-17 11:20 UTC by Hernan G Solari
Modified: 2010-01-05 21:17 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.30-2 2.6.32-ac7
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Hernan G Solari 2009-11-17 11:20:10 UTC
Laptop: Acer 5050-4697
CPU: 54bit AMD turion mobile
DSDT fixed with Marangoni fix (bug 8953. This was one of the test machines)

Running Debian squeeze (testing).

Problem: after suspending it resumes operation if suspended from console,
         but it gets frozen if it was suspended from X-session.

It happens with the debian kernel 2.6.30-2 recompiled allowing the reading of the DSDT.hex file (without this fix it gives one of the old errors, although it handles the battery well off the shelf).
There is no improvement with 2.6.30-rc7 (compiled as generic 64bit, in the past, compiling a k8 specific kernel resulted in unstable functioning)

However, after  "rmmod powernow-k8" it suspend/resume woirks from X

I can certainly live with this. Just reporting the problem and the dirty fix.

Hernan
Comment 1 Rafael J. Wysocki 2009-11-17 21:51:59 UTC
Hmm.  Perhaps it's the same thing I'm observing on one of my test boxes.

Can you do the following, please:

(1) Boot into runlevel 3 (no X)
(2) Suspend and resume
(3) Go into runlevel 5
(4) Log into X
(5) Suspend and resume

and check if the resume in (5) works.
Comment 2 Hernan G Solari 2009-11-17 22:30:30 UTC
Tests with 2.6.30-2 (I did not included powernow-k8 in the modules of 
2.6.32-rc7 I can do it if you want)
> Can you do the following, please:
>
> (1) Boot into runlevel 3 (no X)
>   


In this box X comes up. I haven't touched inittab, it is Debian's choice.

I can froze the machine in several ways....
a) boot as single user (init 1)    powernow-k8 is not running at this level
pm-suspend
resume comes to a dead machine
b) normal boot, suspend from X
resume comes to a dead machine
c) normal boot, <ctl><alt><F1>  login as root, pm-suspend
    resume comes to life in console mode..... BUT <alt><F7> frozens the 
machine

just in case it matters, the module acerhk (as distributed in source 
form by Debian) is loaded (former acer-acpi)
> (2) Suspend and resume
> (3) Go into runlevel 5
> (4) Log into X
> (5) Suspend and resume
>
> and check if the resume in (5) works.
>
>
Comment 3 Hernan G Solari 2010-01-05 00:43:46 UTC
(Solved). The problem with following arragement:
eth0 no cable connnect
avahi-daemon tries to connect eth0 as indicated
in /etc/network/interfaces
and the machine frozens repeating dhcp calls

disabling the hotplug in /etc/network/interfaces ends the problem.

The problem sometines happens without resume or without running powernow-k8

Note You need to log in before you can comment on or make changes to this bug.