* Re: [2.6.23] IBM X41 looses time after Suspend2Disk
2007-10-30 8:35 ` Philipp Matthias Hahn
@ 2007-10-30 21:08 ` Pavel Machek
2007-10-30 21:08 ` Pavel Machek
` (2 subsequent siblings)
3 siblings, 0 replies; 15+ messages in thread
From: Pavel Machek @ 2007-10-30 21:08 UTC (permalink / raw)
To: Rafael J. Wysocki, Kernel Mailing List, linux-pm, Thomas Gleixner
On Tue 2007-10-30 09:35:37, Philipp Matthias Hahn wrote:
> Hello Rafael, Pavel!
>
> Thank you both for the fast help.
>
> On Mon, Oct 29, 2007 at 10:05:10PM +0100, Rafael J. Wysocki wrote:
> > On Monday, 29 October 2007 21:19, Philipp Matthias Hahn wrote:
> > > 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:
> ...
> > > 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:
> ...
> > > 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.
> ...
> > Please try to do "echo shutdown > /sys/power/disk" before hibernation and
> > see what happens.
>
> I'm already doing that.
>
> > Also, is it an SMP kernel or UP?
>
> UP.
>
>
> On Mon, Oct 29, 2007 at 10:24:14PM +0100, Pavel Machek wrote:
> > 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
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: [2.6.23] IBM X41 looses time after Suspend2Disk
2007-10-30 8:35 ` Philipp Matthias Hahn
2007-10-30 21:08 ` Pavel Machek
@ 2007-10-30 21:08 ` Pavel Machek
2007-11-02 13:33 ` Philipp Matthias Hahn
2007-11-02 13:33 ` Philipp Matthias Hahn
2007-10-30 21:20 ` Rafael J. Wysocki
2007-10-30 21:20 ` Rafael J. Wysocki
3 siblings, 2 replies; 15+ messages in thread
From: Pavel Machek @ 2007-10-30 21:08 UTC (permalink / raw)
To: Rafael J. Wysocki, Kernel Mailing List, linux-pm, Thomas Gleixner
On Tue 2007-10-30 09:35:37, Philipp Matthias Hahn wrote:
> Hello Rafael, Pavel!
>
> Thank you both for the fast help.
>
> On Mon, Oct 29, 2007 at 10:05:10PM +0100, Rafael J. Wysocki wrote:
> > On Monday, 29 October 2007 21:19, Philipp Matthias Hahn wrote:
> > > 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:
> ...
> > > 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:
> ...
> > > 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.
> ...
> > Please try to do "echo shutdown > /sys/power/disk" before hibernation and
> > see what happens.
>
> I'm already doing that.
>
> > Also, is it an SMP kernel or UP?
>
> UP.
>
>
> On Mon, Oct 29, 2007 at 10:24:14PM +0100, Pavel Machek wrote:
> > 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
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [2.6.23] IBM X41 looses time after Suspend2Disk
2007-10-30 21:08 ` Pavel Machek
@ 2007-11-02 13:33 ` Philipp Matthias Hahn
2007-11-02 13:33 ` Philipp Matthias Hahn
1 sibling, 0 replies; 15+ messages in thread
From: Philipp Matthias Hahn @ 2007-11-02 13:33 UTC (permalink / raw)
To: Pavel Machek, Rafael J. Wysocki
Cc: linux-pm, Thomas Gleixner, Kernel Mailing List
Hello!
On Tue, Oct 30, 2007 at 10:08:01PM +0100, Pavel Machek wrote:
> > > On Monday, 29 October 2007 21:19, Philipp Matthias Hahn wrote:
> > > > 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:
> > ...
> > > > 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:
> > ...
> > > > 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.
...
> > On Mon, Oct 29, 2007 at 10:24:14PM +0100, Pavel Machek wrote:
> > > 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?
highres=off did the trick. Thank you.
Does somebody want more data to debug this further?
On Tue, Oct 30, 2007 at 10:20:33PM +0100, Rafael J. Wysocki wrote:
> 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
--
/ / (_)__ __ ____ __ Philipp Hahn
/ /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [2.6.23] IBM X41 looses time after Suspend2Disk
2007-10-30 21:08 ` Pavel Machek
2007-11-02 13:33 ` Philipp Matthias Hahn
@ 2007-11-02 13:33 ` Philipp Matthias Hahn
2007-11-02 14:11 ` Rafael J. Wysocki
2007-11-02 14:11 ` Rafael J. Wysocki
1 sibling, 2 replies; 15+ messages in thread
From: Philipp Matthias Hahn @ 2007-11-02 13:33 UTC (permalink / raw)
To: Pavel Machek, Rafael J. Wysocki
Cc: Kernel Mailing List, linux-pm, Thomas Gleixner
Hello!
On Tue, Oct 30, 2007 at 10:08:01PM +0100, Pavel Machek wrote:
> > > On Monday, 29 October 2007 21:19, Philipp Matthias Hahn wrote:
> > > > 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:
> > ...
> > > > 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:
> > ...
> > > > 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.
...
> > On Mon, Oct 29, 2007 at 10:24:14PM +0100, Pavel Machek wrote:
> > > 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?
highres=off did the trick. Thank you.
Does somebody want more data to debug this further?
On Tue, Oct 30, 2007 at 10:20:33PM +0100, Rafael J. Wysocki wrote:
> 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
--
/ / (_)__ __ ____ __ Philipp Hahn
/ /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [2.6.23] IBM X41 looses time after Suspend2Disk
2007-11-02 13:33 ` Philipp Matthias Hahn
@ 2007-11-02 14:11 ` Rafael J. Wysocki
2007-11-02 14:11 ` Rafael J. Wysocki
1 sibling, 0 replies; 15+ messages in thread
From: Rafael J. Wysocki @ 2007-11-02 14:11 UTC (permalink / raw)
To: Philipp Matthias Hahn
Cc: Pavel Machek, Kernel Mailing List, linux-pm, Thomas Gleixner
On Friday, 2 November 2007 14:33, Philipp Matthias Hahn wrote:
> Hello!
>
> On Tue, Oct 30, 2007 at 10:08:01PM +0100, Pavel Machek wrote:
> > > > On Monday, 29 October 2007 21:19, Philipp Matthias Hahn wrote:
> > > > > 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:
> > > ...
> > > > > 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:
> > > ...
> > > > > 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.
> ...
> > > On Mon, Oct 29, 2007 at 10:24:14PM +0100, Pavel Machek wrote:
> > > > 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?
>
> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [2.6.23] IBM X41 looses time after Suspend2Disk
2007-11-02 13:33 ` Philipp Matthias Hahn
2007-11-02 14:11 ` Rafael J. Wysocki
@ 2007-11-02 14:11 ` Rafael J. Wysocki
1 sibling, 0 replies; 15+ messages in thread
From: Rafael J. Wysocki @ 2007-11-02 14:11 UTC (permalink / raw)
To: Philipp Matthias Hahn; +Cc: linux-pm, Thomas Gleixner, Kernel Mailing List
On Friday, 2 November 2007 14:33, Philipp Matthias Hahn wrote:
> Hello!
>
> On Tue, Oct 30, 2007 at 10:08:01PM +0100, Pavel Machek wrote:
> > > > On Monday, 29 October 2007 21:19, Philipp Matthias Hahn wrote:
> > > > > 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:
> > > ...
> > > > > 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:
> > > ...
> > > > > 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.
> ...
> > > On Mon, Oct 29, 2007 at 10:24:14PM +0100, Pavel Machek wrote:
> > > > 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?
>
> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [2.6.23] IBM X41 looses time after Suspend2Disk
2007-10-30 8:35 ` Philipp Matthias Hahn
2007-10-30 21:08 ` Pavel Machek
2007-10-30 21:08 ` Pavel Machek
@ 2007-10-30 21:20 ` Rafael J. Wysocki
2007-10-30 21:20 ` Rafael J. Wysocki
3 siblings, 0 replies; 15+ messages in thread
From: Rafael J. Wysocki @ 2007-10-30 21:20 UTC (permalink / raw)
To: Philipp Matthias Hahn
Cc: Pavel Machek, Kernel Mailing List, linux-pm, Thomas Gleixner
On Tuesday, 30 October 2007 09:35, Philipp Matthias Hahn wrote:
> Hello Rafael, Pavel!
>
> Thank you both for the fast help.
>
> On Mon, Oct 29, 2007 at 10:05:10PM +0100, Rafael J. Wysocki wrote:
> > On Monday, 29 October 2007 21:19, Philipp Matthias Hahn wrote:
> > > 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:
> ...
> > > 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:
> ...
> > > 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.
> ...
> > 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?
> > Also, is it an SMP kernel or UP?
>
> UP.
>
>
> On Mon, Oct 29, 2007 at 10:24:14PM +0100, Pavel Machek wrote:
> > 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.
The ACPI platform firmware got confused, apparently.
Greetings,
Rafael
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [2.6.23] IBM X41 looses time after Suspend2Disk
2007-10-30 8:35 ` Philipp Matthias Hahn
` (2 preceding siblings ...)
2007-10-30 21:20 ` Rafael J. Wysocki
@ 2007-10-30 21:20 ` Rafael J. Wysocki
3 siblings, 0 replies; 15+ messages in thread
From: Rafael J. Wysocki @ 2007-10-30 21:20 UTC (permalink / raw)
To: Philipp Matthias Hahn; +Cc: linux-pm, Thomas Gleixner, Kernel Mailing List
On Tuesday, 30 October 2007 09:35, Philipp Matthias Hahn wrote:
> Hello Rafael, Pavel!
>
> Thank you both for the fast help.
>
> On Mon, Oct 29, 2007 at 10:05:10PM +0100, Rafael J. Wysocki wrote:
> > On Monday, 29 October 2007 21:19, Philipp Matthias Hahn wrote:
> > > 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:
> ...
> > > 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:
> ...
> > > 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.
> ...
> > 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?
> > Also, is it an SMP kernel or UP?
>
> UP.
>
>
> On Mon, Oct 29, 2007 at 10:24:14PM +0100, Pavel Machek wrote:
> > 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.
The ACPI platform firmware got confused, apparently.
Greetings,
Rafael
^ permalink raw reply [flat|nested] 15+ messages in thread