For some reason resume from hibernate is not working anymore. Noticed this issue just recently, but cannot tell specific time when this issue has started to emerge. I have tried with currently latest kernel 3.6.8 and also tried to downgrade to 3.4.11 but no help.
Found following in messages log:
30 19:38:44 linux-r359 kernel: PM: Starting manual resume from disk
Nov 30 19:38:44 linux-r359 kernel: PM: Hibernation image partition 8:1 present
Nov 30 19:38:44 linux-r359 kernel: PM: Looking for hibernation image.
Nov 30 19:38:44 linux-r359 kernel: PM: Image not found (code -22)
Nov 30 19:38:44 linux-r359 kernel: PM: Hibernation image not present or could not be loaded.
I haven’t made any changes to disks / partitions. Also like said earlier, computer goes to hibernate ok, but I have no idea why it doesen’t find resume image anymore. Any help greatly appreciated!
Have you tried deleting the Hibernation file? I forget what rig I was running that would just get a corrupted sleep file which I had to delete every now and then.
Thanks for your reply. I’m using swap partition as resume device. I have tried to re-format that partition with mkswap, but it didn’t help. Maybe I could try to use swap file instead of partition if that makes any difference. Although I can now live with this problem since hibernation works through acpi command…
I upgraded my Toshiba laptop from 12.1 to 12.2 two days ago. I used the iso download (checked the checksums and verified the DVD after burning), then updated all the packages online. Since then sleep/hibernate and resume don’t work.
I checked the suspend package: it is at version 1.0-18.4.1; according to the change log it was last updated back in mid September. Also the pm-utils package is at version 1.4.1-18.6.1 and again apparently hasn’t changed since mid-September.
There was a problem with sleep/resume earlier this year (with 12.1) but that has long been fixed. A couple of years ago the problem was apparently with the opensource driver for nVidia cards, but my laptop doesn’t have an nVidia card (it has an “Intel Arrandale Integrated Graphics Controller”).
My laptop sleeps, but won’t resume. If I try to hibernate it then it gets stuck in the process and – this is strange – the light on the caps lock key flashes rapidly. In either case a cold reboot is the only way to recover the machine. I thought switching it off and switching it back on was the way to deal with problems with just that other OS.
Any suggestions for fixes or even workarounds (such as explaining what acpi is!) would be gratefully received.
Have you made any progress with this? I find that pm-suspend suspends but the machine will not resume, and pm-hibernate does not hibernate let alone resume. Using hibernate or resume through the GUI exhibits the same behaviour. Needless to say, suspend and hibernate still work on this laptop when done using Windows7 so the source of this fault is not hardware and nor is it (I assume) firmware. Unfortunately I do not have the systems knowledge to be able to investigate this fault. I haven’t found anything useful by searching the web, so I’d be grateful to hear of any solution worth trying.
On 2012-12-10 19:06, greggmoore wrote:
>
> I upgraded my Toshiba laptop from 12.1 to 12.2 two days ago. I used the
> iso download (checked the checksums and verified the DVD after burning),
> then updated all the packages online. Since then sleep/hibernate and
> resume don’t work.
I don’t understand your upgrade method. The supported methods are these:
I don’t understand your misunderstanding. I downloaded the iso file published on software.opensuse.org: Download openSUSE 12.2, which of course is intended to be used to burn a DVD. I checked that the download had worked by using the published checksums. I burnt the DVD and verified that new DVD as K3b allows one to do. I did a standard install using that carefully created DVD as the source. In the install process one is offered the option of upgrading an existing system or a clean install. For my laptop I used upgrade rather than clean install (my desktop is a more critical environment so I do clean installs but that is always very much more work than an upgrade). All this is standard and by the book (or, more exactly, by the webpage). I always wait a couple of months after a release before applying an upgrade, just in case there are particular problems with the software which are later resolved. Finally I brought the newly installed 12.2 environment right up-to-date by doing a zypper update (which I do everyday anyway).
The day before this exercise, using 12.1, my laptop suspended and resumed correctly. After the upgrade exercise, using 12.2, it did not. It could be that in the upgrade something from 12.1 which should have been overwritten in 12.2 wasn’t overwritten, but I rely on zypper update to resolve that (assuming the rpm database is correct).
I hope that clarifies the process I used. As I said, I’m still interested in any solutions to the suspend/hibernate/resume problem.
On 2012-12-29 13:36, greggmoore wrote:
>
> robin_listas;2514186 Wrote:
…
> I burnt the DVD and verified that new DVD as K3b
> allows one to do. I did a standard install using that carefully created
> DVD as the source.
Ok, that’s a fresh install, not an upgrade.
> In the install process one is offered the option of
> upgrading an existing system or a clean install. For my laptop I used
> upgrade rather than clean install
Ok, so that’s an offline upgrade. I understand it is this machine which
is giving you trouble.
So, in this case, there are several recommendations and procedures
explained in the link I provided that you should do before any other
troubleshooting is done.
> The day before this exercise, using 12.1, my laptop suspended and
> resumed correctly. After the upgrade exercise, using 12.2, it did not.
> It could be that in the upgrade something from 12.1 which should have
> been overwritten in 12.2 wasn’t overwritten, but I rely on zypper update
> to resolve that (assuming the rpm database is correct).
Verify it.
And verify the config files as explained there.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
To the extent that I’m able to (I’m an applications programmer, not a SysOp let alone a kernel hacker) I have been through the advice on that page. YaST showed there were some anomalous files, mostly either things like codecs or applications downloaded from the 11.4 Contrib repositories but which seem to have been dropped when the repositories were restructured. Nothing remotely related to suspend/hibernate/resume was highlighted. There may be things apparently unrelated which are yet involved, but I don’t know my way around the innards of Unix well enough to identify them. (Perhaps I should emphasize that the laptop shuts down and cold boots successfully under 12.2, it also suspends/hibernates/resumes successfully under Windows7 – apologies for bringing that into the conversation – so Linux (cold) boot and the hardware in general seem to work fine.)
Likewise, on inspection, the config scripts which were listed by rcrpmconfigcheck seemed to be unrelated to the problem.
Is there anything else to do other than try a clean install?
Thanks for your help so far; any further advice gratefully received.
> To the extent that I’m able to (I’m an applications programmer, not a
> SysOp let alone a kernel hacker) I have been through the advice on that
> page. YaST showed there were some anomalous files, mostly either things
> like codecs or applications downloaded from the 11.4 Contrib
> repositories but which seem to have been dropped when the repositories
> were restructured. Nothing remotely related to suspend/hibernate/resume
> was highlighted.
If you have a look in yast, you just need to replace the packages in red.
> There may be things apparently unrelated which are yet
> involved, but I don’t know my way around the innards of Unix well enough
> to identify them. (Perhaps I should emphasize that the laptop shuts down
> and cold boots successfully under 12.2, it also
> suspends/hibernates/resumes successfully under Windows7 – apologies for
> bringing that into the conversation – so Linux (cold) boot and the
> hardware in general seem to work fine.)
No apologies necessary
> robin_listas;2514204 Wrote:
>> …
>>
>> Verify it.
>> And verify the config files as explained there.
>
> Likewise, on inspection, the config scripts which were listed by
> rcrpmconfigcheck seemed to be unrelated to the problem.
>
> Is there anything else to do other than try a clean install?
Well… one thing I do is also do a fresh install in another
partition, where I test that the version I’m going to migrate to works.
It is in the howto: I wrote it
> Thanks for your help so far; any further advice gratefully received.
Unfortunately, hibernation is very difficult to diagnose, and for me,
12.2 is even more difficult. I’m not sure how systemd is involved there.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
If you did an “upgrade” from 11.4 to 12.2 then there is a very good chance that config files or some binaries have not been upgraded. Upgrades are really only supported when moving 1 level. I only do fresh installs anymore.
On 2013-01-05 22:06, gogalthorp wrote:
>
> If you did an “upgrade” from 11.4 to 12.2 then there is a very good
> chance that config files or some binaries have not been upgraded.
> Upgrades are really only supported when moving 1 level. I only do fresh
> installs anymore.
Upgrades in offline method support more than one version jump, with caveats.
The procedure to handle those config files is detailed in the
documentation that I wrote on the wiki.
Also the procedure to handle those packages that were not upgraded, or
left orphan.
I have been doing upgrades for more than a decade.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
I’m not sure if your comment was in reply to mine or to Carlos’s. In my case I did an upgrade from 12.1 to 12.2, but have some legacy applications (things like a 3D geometry file format mapper) which were in the 11.4 Contrib repository but which seem to have been dropped from the repositories now. I don’t see how they can influence resume from sleep.
As for a clean install, I’ve concluded that is what is needed. It’s what I do on my desktop machine, but as Carlos says it takes quite a bit of effort to recreate a development environment with all its supporting applications (typically takes me one and a half days). An upgrade is a shortcut which has worked on the laptop in the past, but apparently not this time. When I find the time to do a clean install (into a new partition) on the laptop I will post on this thread whether sleep/hibernate/resume then works.
> As for a clean install, I’ve concluded that is what is needed. It’s
> what I do on my desktop machine, but as Carlos says it takes quite a bit
> of effort to recreate a development environment with all its supporting
> applications (typically takes me one and a half days). An upgrade is a
> shortcut which has worked on the laptop in the past, but apparently not
> this time. When I find the time to do a clean install (into a new
> partition) on the laptop I will post on this thread whether
> sleep/hibernate/resume then works.
Good.
My procedure for doing an upgrade of my work machine includes testing
the factory version in a separate partition of the same machine, and
reporting issues with it. One of the things I try is hibernation. When I
decide to do the upgrade (a month or two after release of the version) I
already know that the most important things I need do work.
It is not the first time that a machine that hibernates in a version
does not in the next version. My desktop, for example, hibernates fine
in 11.2 and 12.1, but crashes eventually in 11.4 (not the 11.4 as was
released, but later after some undetermined update).
Finally, if a fresh install in a machine does hibernate, the same
machine upgraded from a previous version must also hibernate.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
Where is the rest of your suspend Log? In my log it shows all the resume hooks and which ones are failing, maybe there are some clues in there? I am only using suspend though and not hibernation.
I still haven’t had time to do a clean install of 12.2, and a recent kernel upgrade didn’t fix the sleep/hibernate/resume problem for me. With 12.3 just around the corner it seems an increasingly urgent thing to do.
Except …
Having run out of ports on my router I thought it was time I really should sort out connecting my laptop wirelessly, but that too turned out to be a facility lost between 12.1 and 12.2. I read the “sticky” posts on the wifi forum, with the inevitable long lists of steps to perform, packages to download, even kernel re-compiles to perform for the fearless. But I’m not that fearless, so I used YaST to see if the firmware that my laptop now seemed to lack was available in the standard repositories. I found that a packaged called kernel-firmware was not yet installed. This package has the description “This package contains the firmware for in-kernel drivers that was previously included in the kernel. It is shared by all kernels >= 2.6.27-rc1.” Fortunately it has the firmware for my wifi card. When I installed it I also did an update for all packages; I didn’t notice any other part of the kernel being included but it could have pulled in other packages too.
When I rebooted, the wifi immediately connected. I was on a roll. The clouds parted and sun shone through (OK, that’s what the weather forecast had predicted so it probably wasn’t a side effect of the firmware). But being on a high I thought I’d just try to put the laptop to sleep. It slept and then resumed properly. So I made it hibernate. Which it did, and then woke up properly.
I can’t say for sure that the issue with sleep/hibernate/resume was solved by installing that package of firmware – although I did see “acpi” whizz by on the screen during installation. But before anyone takes extreme steps to sort out their machine they might just first try scanning the repositories for things “previously included in the kernel”.