Skip to contentSkip to conversation

[2.6.23] IBM X41 looses time after Suspend2Disk

DISCUSSION Philipp Matthias Hahn 3 participants 14 messages Oct 29, 2007 – Nov 2, 2007

lore
Share & tools
lore
#0 lore raw

Hello Thomas, Pavel, Rafael!

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:
Stopping tasks ... done.
Shrinking memory... done (49361 pages freed)
Freed 197444 kbytes in 0.64 seconds (308.50 MB/s) Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:
Stopping tasks ... done.
Loading image data pages (62483 pages) ... done
Read 249932 kbytes in 18.63 seconds (13.41 MB/s) Suspending console(s)

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

Any idea what the problem might be?

DMESG: http://corellon.svs.informatik.uni-oldenburg.de/~pmhahn/x41.dmesg
CONFIG: http://corellon.svs.informatik.uni-oldenburg.de/~pmhahn/x41.config

If you need more data, just ask.

Thank you, BYtE
Philipp

Signature · 3 lines
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [email protected]
#1 lore raw
Quoted 18 lines · Philipp Matthias Hahn

Hello Thomas, Pavel, Rafael!

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:
Stopping tasks ... done.
Shrinking memory... done (49361 pages freed)
Freed 197444 kbytes in 0.64 seconds (308.50 MB/s) Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:
Stopping tasks ... done.
Loading image data pages (62483 pages) ... done
Read 249932 kbytes in 18.63 seconds (13.41 MB/s) Suspending console(s)

Quoted 6 lines

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

Any idea what the problem might be?

Nope.

Quoted 4 lines

DMESG: http://corellon.svs.informatik.uni-oldenburg.de/~pmhahn/x41.dmesg
CONFIG: http://corellon.svs.informatik.uni-oldenburg.de/~pmhahn/x41.config

If you need more data, just ask.

Please try to do "echo shutdown > /sys/power/disk" before hibernation and see what happens.

Also, is it an SMP kernel or UP?

Rafael

#2 lore raw
In reply to Philipp Matthias Hahn
Quoted 18 lines · Philipp Matthias Hahn

Hello Thomas, Pavel, Rafael!

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:
Stopping tasks ... done.
Shrinking memory... done (49361 pages freed)
Freed 197444 kbytes in 0.64 seconds (308.50 MB/s) Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:
Stopping tasks ... done.
Loading image data pages (62483 pages) ... done
Read 249932 kbytes in 18.63 seconds (13.41 MB/s) Suspending console(s)

Quoted 6 lines

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

Any idea what the problem might be?

Nope.

Quoted 4 lines

DMESG: http://corellon.svs.informatik.uni-oldenburg.de/~pmhahn/x41.dmesg
CONFIG: http://corellon.svs.informatik.uni-oldenburg.de/~pmhahn/x41.config

If you need more data, just ask.

Please try to do "echo shutdown > /sys/power/disk" before hibernation and see what happens.

Also, is it an SMP kernel or UP?

Rafael

#3 lore raw
In reply to Philipp Matthias Hahn

Hi!

Quoted 16 lines

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:
Stopping tasks ... done.
Shrinking memory... done (49361 pages freed)
Freed 197444 kbytes in 0.64 seconds (308.50 MB/s) Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:
Stopping tasks ... done.
Loading image data pages (62483 pages) ... done
Read 249932 kbytes in 18.63 seconds (13.41 MB/s) Suspending console(s)

Quoted 6 lines

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

Any idea what the problem might be?

Yep, I seen that before. Try "nohz=off".
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#4 lore raw
In reply to Philipp Matthias Hahn

Hi!

Quoted 16 lines

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:
Stopping tasks ... done.
Shrinking memory... done (49361 pages freed)
Freed 197444 kbytes in 0.64 seconds (308.50 MB/s) Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:
Stopping tasks ... done.
Loading image data pages (62483 pages) ... done
Read 249932 kbytes in 18.63 seconds (13.41 MB/s) Suspending console(s)

Quoted 6 lines

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

Any idea what the problem might be?

Yep, I seen that before. Try "nohz=off".
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#5 lore raw

Hello Rafael, Pavel!

Thank you both for the fast help.

Quoted 4 lines · Rafael J. Wysocki
Quoted 3 lines · Philipp Matthias Hahn

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:

...

Quoted 5 lines
Quoted 5 lines

Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:

...

Quoted 6 lines
Quoted 6 lines

Suspending console(s)

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

...

Quoted 2 lines

Please try to do "echo shutdown > /sys/power/disk" before hibernation and see what happens.

I'm already doing that.

Quoted 1 line

Also, is it an SMP kernel or UP?

UP.

Quoted 1 line · Pavel Machek

Yep, I seen that before. Try "nohz=off".

Okay, that seems to solve the "timer loosing time after resume" problem.

But I still need to press some keys on suspend (7-12 key presses and releases) to unhang it. On resume not key presses are needed any more.

During on suspend-resume cycle ACPI barfed afer resume spewing messages without end (error during execution of methode \...THM, error evaulation operand ...) I had to remove the battery and pull the power-plug to reboot it.

BYtE
Philipp

Signature · 3 lines
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [email protected]
#6 lore raw
Quoted 22 lines · Philipp Matthias Hahn

Hello Rafael, Pavel!

Thank you both for the fast help.

Quoted 4 lines · Rafael J. Wysocki
Quoted 3 lines · Philipp Matthias Hahn

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:

...

Quoted 5 lines
Quoted 5 lines

Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:

...

Quoted 6 lines
Quoted 6 lines

Suspending console(s)

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

Quoted 5 lines

...

Quoted 2 lines

Please try to do "echo shutdown > /sys/power/disk" before hibernation and see what happens.

I'm already doing that.

Well, have you tried doing "echo platform > /sys/power/disk" before hibernation instead?

Quoted 11 lines
Quoted 1 line

Also, is it an SMP kernel or UP?

UP.

Quoted 1 line · Pavel Machek

Yep, I seen that before. Try "nohz=off".

Okay, that seems to solve the "timer loosing time after resume" problem.

Quoted 7 lines

But I still need to press some keys on suspend (7-12 key presses and releases) to unhang it. On resume not key presses are needed any more.

During on suspend-resume cycle ACPI barfed afer resume spewing messages without end (error during execution of methode \...THM, error evaulation operand ...) I had to remove the battery and pull the power-plug to reboot it.

The ACPI platform firmware got confused, apparently.

Greetings,
Rafael

#11 lore raw
In reply to Philipp Matthias Hahn
Quoted 34 lines · Philipp Matthias Hahn

Hello Rafael, Pavel!

Thank you both for the fast help.

Quoted 4 lines · Rafael J. Wysocki
Quoted 3 lines · Philipp Matthias Hahn

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:

...

Quoted 5 lines
Quoted 5 lines

Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:

...

Quoted 6 lines
Quoted 6 lines

Suspending console(s)

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

...

Quoted 2 lines

Please try to do "echo shutdown > /sys/power/disk" before hibernation and see what happens.

I'm already doing that.

Quoted 1 line

Also, is it an SMP kernel or UP?

UP.

On Mon, Oct 29, 2007 at 10:24:14PM +0100, Pavel Machek wrote:

Quoted 8 lines
Quoted 1 line

Yep, I seen that before. Try "nohz=off".

Okay, that seems to solve the "timer loosing time after resume" problem.

But I still need to press some keys on suspend (7-12 key presses and releases) to unhang it. On resume not key presses are needed any more.

So it fixed resume but not suspend? strange. Try highres=off, too. And maybe irqpoll?

You may want to try cpu hotplug separately...

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#12 lore raw
In reply to Philipp Matthias Hahn
Quoted 34 lines · Philipp Matthias Hahn

Hello Rafael, Pavel!

Thank you both for the fast help.

Quoted 4 lines · Rafael J. Wysocki
Quoted 3 lines · Philipp Matthias Hahn

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:

...

Quoted 5 lines
Quoted 5 lines

Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:

...

Quoted 6 lines
Quoted 6 lines

Suspending console(s)

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

...

Quoted 2 lines

Please try to do "echo shutdown > /sys/power/disk" before hibernation and see what happens.

I'm already doing that.

Quoted 1 line

Also, is it an SMP kernel or UP?

UP.

On Mon, Oct 29, 2007 at 10:24:14PM +0100, Pavel Machek wrote:

Quoted 8 lines
Quoted 1 line

Yep, I seen that before. Try "nohz=off".

Okay, that seems to solve the "timer loosing time after resume" problem.

But I still need to press some keys on suspend (7-12 key presses and releases) to unhang it. On resume not key presses are needed any more.

So it fixed resume but not suspend? strange. Try highres=off, too. And maybe irqpoll?

You may want to try cpu hotplug separately...

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#13 lore raw
In reply to Philipp Matthias Hahn
Quoted 22 lines · Philipp Matthias Hahn

Hello Rafael, Pavel!

Thank you both for the fast help.

Quoted 4 lines · Rafael J. Wysocki
Quoted 3 lines · Philipp Matthias Hahn

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:

...

Quoted 5 lines
Quoted 5 lines

Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:

...

Quoted 6 lines
Quoted 6 lines

Suspending console(s)

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

Quoted 5 lines

...

Quoted 2 lines

Please try to do "echo shutdown > /sys/power/disk" before hibernation and see what happens.

I'm already doing that.

Well, have you tried doing "echo platform > /sys/power/disk" before hibernation instead?

Quoted 11 lines
Quoted 1 line

Also, is it an SMP kernel or UP?

UP.

Quoted 1 line · Pavel Machek

Yep, I seen that before. Try "nohz=off".

Okay, that seems to solve the "timer loosing time after resume" problem.

Quoted 7 lines

But I still need to press some keys on suspend (7-12 key presses and releases) to unhang it. On resume not key presses are needed any more.

During on suspend-resume cycle ACPI barfed afer resume spewing messages without end (error during execution of methode \...THM, error evaulation operand ...) I had to remove the battery and pull the power-plug to reboot it.

The ACPI platform firmware got confused, apparently.

Greetings,
Rafael

#7 lore raw
In reply to Rafael J. Wysocki

Hello!

Quoted 17 lines · Pavel Machek
Quoted 17 lines
Quoted 4 lines · Philipp Matthias Hahn
Quoted 3 lines

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:

...

Quoted 5 lines
Quoted 5 lines

Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:

...

Quoted 6 lines
Quoted 6 lines

Suspending console(s)

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

...

Quoted 6 lines
Quoted 6 lines · Pavel Machek
Quoted 1 line

Yep, I seen that before. Try "nohz=off".

Okay, that seems to solve the "timer loosing time after resume" problem.

Quoted 6 lines
Quoted 3 lines

But I still need to press some keys on suspend (7-12 key presses and releases) to unhang it. On resume not key presses are needed any more.

So it fixed resume but not suspend? strange. Try highres=off, too. And maybe irqpoll?

highres=off did the trick. Thank you.

Does somebody want more data to debug this further?

Quoted 2 lines · Rafael J. Wysocki

Well, have you tried doing "echo platform > /sys/power/disk" before hibernation instead?

It also seems to work, but doesn't improve the situation. I still need to press keys for resume.

BYtE
Philipp

Signature · 3 lines
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [email protected]
#8 lore raw
In reply to Rafael J. Wysocki

Hello!

Quoted 17 lines · Pavel Machek
Quoted 17 lines
Quoted 4 lines · Philipp Matthias Hahn
Quoted 3 lines

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:

...

Quoted 5 lines
Quoted 5 lines

Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:

...

Quoted 6 lines
Quoted 6 lines

Suspending console(s)

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

...

Quoted 6 lines
Quoted 6 lines · Pavel Machek
Quoted 1 line

Yep, I seen that before. Try "nohz=off".

Okay, that seems to solve the "timer loosing time after resume" problem.

Quoted 6 lines
Quoted 3 lines

But I still need to press some keys on suspend (7-12 key presses and releases) to unhang it. On resume not key presses are needed any more.

So it fixed resume but not suspend? strange. Try highres=off, too. And maybe irqpoll?

highres=off did the trick. Thank you.

Does somebody want more data to debug this further?

Quoted 2 lines · Rafael J. Wysocki

Well, have you tried doing "echo platform > /sys/power/disk" before hibernation instead?

It also seems to work, but doesn't improve the situation. I still need to press keys for resume.

BYtE
Philipp

Signature · 3 lines
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [email protected]
#9 lore raw
Quoted 31 lines · Philipp Matthias Hahn

Hello!

Quoted 17 lines · Pavel Machek
Quoted 17 lines
Quoted 4 lines · Philipp Matthias Hahn
Quoted 3 lines

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:

...

Quoted 5 lines
Quoted 5 lines

Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:

...

Quoted 6 lines
Quoted 6 lines

Suspending console(s)

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

...

Quoted 10 lines
Quoted 9 lines · Pavel Machek
Quoted 1 line

Yep, I seen that before. Try "nohz=off".

Okay, that seems to solve the "timer loosing time after resume" problem.

But I still need to press some keys on suspend (7-12 key presses and releases) to unhang it. On resume not key presses are needed any more.

Quoted 6 lines
Quoted 2 lines

So it fixed resume but not suspend? strange. Try highres=off, too. And maybe irqpoll?

highres=off did the trick. Thank you.

Does somebody want more data to debug this further?

Please create a bugzilla entry at http://bugzilla.kernel.org for this bug (against "Power Management"->"Hibernation/Suspend") and put a summary of your findings in there. Also, please add my address to the bug's CC list.

Thanks,
Rafael

#10 lore raw
In reply to Philipp Matthias Hahn
Quoted 31 lines · Philipp Matthias Hahn

Hello!

Quoted 17 lines · Pavel Machek
Quoted 17 lines
Quoted 4 lines · Philipp Matthias Hahn
Quoted 3 lines

I have an IBM X41 tablet pc running 2.6.23 with the following problem:
Suspend2Ram work fine, but when I do a Suspend2Disk (echo disk > /sys/power/state), the notebook hangs showing the following lines:

...

Quoted 5 lines
Quoted 5 lines

Suspending console(s)

When I repeatedly press some keys or move the TrackPoint, the SwSusp continues and the notebook powers off.
On reboot, the notebook resumes but hangs showing the following screen:

...

Quoted 6 lines
Quoted 6 lines

Suspending console(s)

Generating interrupts by pressing keys or moving the TrackPoints makes the resume continue. But after that, the notebook looses time, xterms don't get updated until I press a key, the beeper beeps until I press a key, etc.

...

Quoted 10 lines
Quoted 9 lines · Pavel Machek
Quoted 1 line

Yep, I seen that before. Try "nohz=off".

Okay, that seems to solve the "timer loosing time after resume" problem.

But I still need to press some keys on suspend (7-12 key presses and releases) to unhang it. On resume not key presses are needed any more.

Quoted 6 lines
Quoted 2 lines

So it fixed resume but not suspend? strange. Try highres=off, too. And maybe irqpoll?

highres=off did the trick. Thank you.

Does somebody want more data to debug this further?

Please create a bugzilla entry at http://bugzilla.kernel.org for this bug (against "Power Management"->"Hibernation/Suspend") and put a summary of your findings in there. Also, please add my address to the bug's CC list.

Thanks,
Rafael