You are not logged in.

#1 2007-05-13 00:17:35

Zaffe
Member
From: Santiago, Chile
Registered: 2007-02-22
Posts: 26

Suspend2, cant resume

Hi

Im trying to sustend to ram, with kernel 2.6.19.beyond2-1 i was able to suspend/resume right, but with kernel 2.6.21-suspend2 after suspended cant resume.

hibernate.log

Starting suspend at Sat May 12 20:05:27 CLT 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [50] Executing FilesystemsUnmount ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [60] Executing NetworkStop ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing VbetoolSaveState ...
hibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoSysfsPowerStateSuspend ...
hibernate: Activating sysfs power state mem ...

in dmesg i can se a lot of errors like this

May 12 15:36:59 NoteDell Device driver pci0000:00 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver pnp0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver host0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver host1 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver target0:0:0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver target1:0:0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver eth0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver wlan0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev1.1_ep00 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev1.1_ep81 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev2.1_ep00 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev2.1_ep81 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev3.1_ep00 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev3.1_ep81 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev4.1_ep00 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev4.1_ep81 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev5.1_ep00 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev5.1_ep81 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev4.2_ep00 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev4.2_ep81 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev4.2_ep02 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev4.2_ep82 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev4.2_ep03 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev4.2_ep83 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver i2c-0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver fw-host0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver mmc0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev4.2_ep03 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver usbdev4.2_ep83 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver hci0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver 374fc00034f6ad41-0 lacks bus and class support for being resumed.
May 12 15:36:59 NoteDell Device driver eth1 lacks bus and class support for being resumed.
May 12 15:37:08 NoteDell Clocksource tsc unstable (delta = -191656116 ns)

Any help?

Offline

#2 2007-05-13 11:08:18

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 913

Re: Suspend2, cant resume

Well, the title of the thread is a bit misleading: the suspend2 patchset can not modify your ability to suspend to ram (suspension to disk and suspension to ram are two distinct beasts). On the contrary, probably the regression is in the upgrade from 2.6.19 to 2.6.21. I would not mind too much about those warnings in system log, since they are mere debug messages which the newest versions of the suspend2 patchset display.

A possible source of regression (I experienced that too, in the form of a soft lockup when resuming, after the update from 2.6.20 to 2.6.21) are the new tickless and nohz options. In grub configuration, try to add the following boot options to the kernel line: "highres=off nohz=off". Now reboot and see if you are able to resume properly. If this succeeds, I can give you further tips on this (it is a kernel bug and there is a patch).


Mortuus in anima, curam gero cutis

Offline

#3 2007-05-19 21:27:18

mehldutt
Member
From: Germany
Registered: 2006-01-08
Posts: 128

Re: Suspend2, cant resume

That work perfectly for me .
Finally I can resume again after suspend2ram smile

Offline

#4 2007-05-20 11:08:38

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 913

Re: Suspend2, cant resume

Fine, now you can choose: you can stay without nohz and highres (this is a good solution, they were not there in 2.6.20, thus you can live without them till 2.6.22). Otherwise, I had posted a bug about that and Thomas Gleixner came out with a patch solving it. You can apply it and compile your own kernel. The problem should be solved also in 2.6.22-rc1, but I did not try.
The bug is http://bugzilla.kernel.org/show_bug.cgi?id=8391
You can use the monolothic patch (attachament: collection of pending fixups). I think that these patches break stuff in some other architectures and that the fix applied in 2.6.22-rc1 is slightly different, but you do not need to care about this.

Last edited by patroclo7 (2007-05-20 11:09:50)


Mortuus in anima, curam gero cutis

Offline

#5 2007-07-30 18:04:40

gunnix
Member
Registered: 2005-11-11
Posts: 102
Website

Re: Suspend2, cant resume

Great, thanks for this! Now I can resume again as well smile


As is true for most people I know, I've always loved learning. As is also true for most people I know, I always hated school. Why is that?

Offline

Board footer

Powered by FluxBB