Skip to contentSkip to conversation

[2.6.12.3] dyntick 050610-1 breaks makes S3 suspend

DISCUSSION Jan De Luyck 4 participants 6 messages Jul 23, 2005 – Jul 25, 2005

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
Yow!  I'm having a quadrophonic sensation of two winos alone in a steel mill!
#1 lore raw
Quoted 7 lines · Jan De Luyck

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.

Quoted 6 lines

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

Signature · 1 line
Christian
#2 lore raw

Hi!

Quoted 10 lines
Quoted 10 lines

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)

Quoted 5 lines
Quoted 1 line

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

Signature · 1 line
teflon -- maybe it is a trademark, but it should not be.
#3 lore raw
Quoted 15 lines · Pavel Machek

Hi!

Quoted 13 lines
Quoted 12 lines

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..

Quoted 7 lines
Quoted 3 lines

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

Signature · 1 line
YOW!!  I'm in a very clever and adorable INSANE ASYLUM!!
#4 lore raw
In reply to Christian Hesse
Quoted 13 lines · Christian Hesse
Quoted 12 lines · Jan De Luyck

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)

Quoted 5 lines
Quoted 1 line

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

#5 lore raw
Quoted 17 lines · Tony Lindgren
Quoted 16 lines · Christian Hesse
Quoted 14 lines · Jan De Luyck

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..

Quoted 7 lines
Quoted 3 lines

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?

Quoted 5 lines

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.

Signature · 1 line
Christian