* [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend
@ 2005-07-23 12:35 Jan De Luyck
2005-07-23 12:50 ` Christian Hesse
0 siblings, 1 reply; 6+ messages in thread
From: Jan De Luyck @ 2005-07-23 12:35 UTC (permalink / raw)
To: linux-kernel; +Cc: Pavel Machek, Tony Lindgren
Hello,
I recently tried out dyntick 050610-1 against 2.6.12.3, works great, it
actually makes a noticeable difference on my laptop's battery life. I don't
have hard numbers, lets just say that instead of the usual ~3 hours i get out
of it, i was ~4 before it started nagging, usual use pattern at work.
The only gripe I have with it that it stops S3 from working. If the patch is
compiled in the kernel, it makes S3 suspend correctly, but resuming goes into
a solid hang (nothing get's it back alive, have to keep the powerbutton for
~5 secs to shutdown the system)
Anything I could test? The logs don't give anything useful..
Thanks,
Jan
--
Yow! I'm having a quadrophonic sensation of two winos alone in a steel mill!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend
2005-07-23 12:35 [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend Jan De Luyck
@ 2005-07-23 12:50 ` Christian Hesse
2005-07-24 14:23 ` Pavel Machek
2005-07-25 10:27 ` Tony Lindgren
0 siblings, 2 replies; 6+ messages in thread
From: Christian Hesse @ 2005-07-23 12:50 UTC (permalink / raw)
To: linux-kernel; +Cc: Jan De Luyck, Pavel Machek, Tony Lindgren
[-- Attachment #1: Type: text/plain, Size: 884 bytes --]
On Saturday 23 July 2005 14:35, Jan De Luyck wrote:
> Hello,
>
> I recently tried out dyntick 050610-1 against 2.6.12.3, works great, it
> actually makes a noticeable difference on my laptop's battery life. I don't
> have hard numbers, lets just say that instead of the usual ~3 hours i get
> out of it, i was ~4 before it started nagging, usual use pattern at work.
>
> The only gripe I have with it that it stops S3 from working. If the patch
> is compiled in the kernel, it makes S3 suspend correctly, but resuming goes
> into a solid hang (nothing get's it back alive, have to keep the
> powerbutton for ~5 secs to shutdown the system)
>
> Anything I could test? The logs don't give anything useful..
I reported this some time ago [1], but there's no sulution so far...
[1] http://groups.google.com/groups?selm=4b4NI-7mJ-9%40gated-at.bofh.it
--
Christian
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend
2005-07-23 12:50 ` Christian Hesse
@ 2005-07-24 14:23 ` Pavel Machek
2005-07-24 15:11 ` Jan De Luyck
2005-07-25 10:27 ` Tony Lindgren
1 sibling, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2005-07-24 14:23 UTC (permalink / raw)
To: Christian Hesse; +Cc: linux-kernel, Jan De Luyck, Tony Lindgren
Hi!
> > I recently tried out dyntick 050610-1 against 2.6.12.3, works great, it
> > actually makes a noticeable difference on my laptop's battery life. I don't
> > have hard numbers, lets just say that instead of the usual ~3 hours i get
> > out of it, i was ~4 before it started nagging, usual use pattern at work.
> >
> > The only gripe I have with it that it stops S3 from working. If the patch
> > is compiled in the kernel, it makes S3 suspend correctly, but resuming goes
> > into a solid hang (nothing get's it back alive, have to keep the
> > powerbutton for ~5 secs to shutdown the system)
> >
> > Anything I could test? The logs don't give anything useful..
>
> I reported this some time ago [1], but there's no sulution so far...
>
> [1] http://groups.google.com/groups?selm=4b4NI-7mJ-9%40gated-at.bofh.it
Does it also break if swsusp? Does it break if you replace enter sleep
function with some kind of dummy functions? (Or perhaps S1 is enough
for this test?)
Pavel
--
teflon -- maybe it is a trademark, but it should not be.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend
2005-07-24 14:23 ` Pavel Machek
@ 2005-07-24 15:11 ` Jan De Luyck
0 siblings, 0 replies; 6+ messages in thread
From: Jan De Luyck @ 2005-07-24 15:11 UTC (permalink / raw)
To: linux-kernel; +Cc: Pavel Machek, Christian Hesse, Tony Lindgren
On Sunday 24 July 2005 16:23, Pavel Machek wrote:
> Hi!
>
> > > I recently tried out dyntick 050610-1 against 2.6.12.3, works great, it
> > > actually makes a noticeable difference on my laptop's battery life. I
> > > don't have hard numbers, lets just say that instead of the usual ~3
> > > hours i get out of it, i was ~4 before it started nagging, usual use
> > > pattern at work.
> > >
> > > The only gripe I have with it that it stops S3 from working. If the
> > > patch is compiled in the kernel, it makes S3 suspend correctly, but
> > > resuming goes into a solid hang (nothing get's it back alive, have to
> > > keep the powerbutton for ~5 secs to shutdown the system)
> > >
> > > Anything I could test? The logs don't give anything useful..
> >
> > I reported this some time ago [1], but there's no sulution so far...
> >
> > [1] http://groups.google.com/groups?selm=4b4NI-7mJ-9%40gated-at.bofh.it
>
> Does it also break if swsusp? Does it break if you replace enter sleep
> function with some kind of dummy functions? (Or perhaps S1 is enough
> for this test?)
I have only tried with S3.. how do I test with S1?
Jan
--
YOW!! I'm in a very clever and adorable INSANE ASYLUM!!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend
2005-07-23 12:50 ` Christian Hesse
2005-07-24 14:23 ` Pavel Machek
@ 2005-07-25 10:27 ` Tony Lindgren
2005-07-25 10:46 ` Christian Hesse
1 sibling, 1 reply; 6+ messages in thread
From: Tony Lindgren @ 2005-07-25 10:27 UTC (permalink / raw)
To: Christian Hesse; +Cc: linux-kernel, Jan De Luyck, Pavel Machek
* Christian Hesse <mail@earthworm.de> [050723 05:51]:
> On Saturday 23 July 2005 14:35, Jan De Luyck wrote:
> > Hello,
> >
> > I recently tried out dyntick 050610-1 against 2.6.12.3, works great, it
> > actually makes a noticeable difference on my laptop's battery life. I don't
> > have hard numbers, lets just say that instead of the usual ~3 hours i get
> > out of it, i was ~4 before it started nagging, usual use pattern at work.
> >
> > The only gripe I have with it that it stops S3 from working. If the patch
> > is compiled in the kernel, it makes S3 suspend correctly, but resuming goes
> > into a solid hang (nothing get's it back alive, have to keep the
> > powerbutton for ~5 secs to shutdown the system)
> >
> > Anything I could test? The logs don't give anything useful..
>
> I reported this some time ago [1], but there's no sulution so far...
>
> [1] http://groups.google.com/groups?selm=4b4NI-7mJ-9%40gated-at.bofh.it
In theory it should not happen... And it's working on my laptop for resume
just fine with dyntick on. Can you try it without APIC support? Maybe
that's the differerence again. (I don't have APIC on my laptop)
Also a workaround is to disable dyntick before suspend with:
# echo 0 > /sys/devices/system/timer/timer0/dyn_tick_state
and then enable it again after resume.
Tony
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend
2005-07-25 10:27 ` Tony Lindgren
@ 2005-07-25 10:46 ` Christian Hesse
0 siblings, 0 replies; 6+ messages in thread
From: Christian Hesse @ 2005-07-25 10:46 UTC (permalink / raw)
To: Tony Lindgren; +Cc: linux-kernel, Jan De Luyck, Pavel Machek
[-- Attachment #1: Type: text/plain, Size: 1784 bytes --]
On Monday 25 July 2005 12:27, Tony Lindgren wrote:
> * Christian Hesse <mail@earthworm.de> [050723 05:51]:
> > On Saturday 23 July 2005 14:35, Jan De Luyck wrote:
> > > Hello,
> > >
> > > I recently tried out dyntick 050610-1 against 2.6.12.3, works great, it
> > > actually makes a noticeable difference on my laptop's battery life. I
> > > don't have hard numbers, lets just say that instead of the usual ~3
> > > hours i get out of it, i was ~4 before it started nagging, usual use
> > > pattern at work.
> > >
> > > The only gripe I have with it that it stops S3 from working. If the
> > > patch is compiled in the kernel, it makes S3 suspend correctly, but
> > > resuming goes into a solid hang (nothing get's it back alive, have to
> > > keep the powerbutton for ~5 secs to shutdown the system)
> > >
> > > Anything I could test? The logs don't give anything useful..
> >
> > I reported this some time ago [1], but there's no sulution so far...
> >
> > [1] http://groups.google.com/groups?selm=4b4NI-7mJ-9%40gated-at.bofh.it
>
> In theory it should not happen... And it's working on my laptop for resume
> just fine with dyntick on. Can you try it without APIC support? Maybe
> that's the differerence again. (I don't have APIC on my laptop)
root@logo:~# zcat /proc/config.gz | grep APIC
CONFIG_X86_GOOD_APIC=y
# CONFIG_X86_UP_APIC is not set
Only the second one can be changed in make (menu)config. So I think this is
what you have?
> Also a workaround is to disable dyntick before suspend with:
>
> # echo 0 > /sys/devices/system/timer/timer0/dyn_tick_state
>
> and then enable it again after resume.
IIRC, this didn't work, system hangs at resume as well. Will try again if
you've released an updated version.
--
Christian
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-25 10:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-23 12:35 [2.6.12.3] dyntick 050610-1 breaks makes S3 suspend Jan De Luyck
2005-07-23 12:50 ` Christian Hesse
2005-07-24 14:23 ` Pavel Machek
2005-07-24 15:11 ` Jan De Luyck
2005-07-25 10:27 ` Tony Lindgren
2005-07-25 10:46 ` Christian Hesse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox