After upgrade to Intrepid get hibernate "Tuxonice binary signature file not found"

Bug #278573 reported by Dave
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
hibernate (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: hibernate

Just to note that doing an upgrade from Hardy to Intrepid (using update-manager -d) broke hibernate for me on my Toshiba Portege R100.

$ sudo hibernate
hibernate:Warning: Tuxonice binary signature file not found.

I suspect that poking around Tuxonice docs would help me fix this, and am pleased Ubuntu has moved to Tuxonice, but I thought I should report this in case there's anything systematic going wrong here, and it's not some function of weirdness specific to my installation (can't think of what that would be). Hibernate worked fine (albeit slowly) under Hardy.

ProblemType: Bug
Architecture: i386
Dependencies: console-tools None
DistroRelease: Ubuntu 8.10
Package: hibernate 1.99-1
PackageArchitecture: all
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: hibernate
Uname: Linux 2.6.27-4-generic i686

Tags: apport-bug
Revision history for this message
James Westby (james-w) wrote :

Hi,

Firstly I will say that hibernate isn't the preferred way of hibernating
your system. Some even suggest we should remove the package
from Ubuntu to save confusion.

Running hibernate with the option "-v4" should give you more output
that may help you diagnose what is going on.

Thanks,

James

Revision history for this message
Dave (dme26-lp) wrote : Re: [Bug 278573] Re: After upgrade to Intrepid get hibernate "Tuxonice binary signature file not found"

James Westby wrote:
> Firstly I will say that hibernate isn't the preferred way of hibernating
> your system. Some even suggest we should remove the package
> from Ubuntu to save confusion.

Thanks James: I'd assumed that hibernate did what the Gnome User
Switcher's hibernate option did (the GUI route doesn't work either -
hence me looking for a command line equivalent for easier debugging).

> Running hibernate with the option "-v4" should give you more output
> that may help you diagnose what is going on.

OK - I'm not so much worried about figuring out the problem for me
as for noting that currently Hardy to Intrepid upgrades will break the
hibernate configuration for at least some users, assuming that this
behaviour isn't due to something specific to my installation.

Going to -v2 was enough for some more information:

$ sudo hibernate -v2 2>&1 | more
hibernate:Warning: Tuxonice binary signature file not found.
hibernate: Trying method in suspend2.conf...
hibernate: Trying method in disk.conf...
hibernate: Trying method in ususpend-disk.conf...
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureUSuspendCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoUSuspend ...
hibernate: Running /sbin/s2disk ...
s2disk: Could not stat the resume device file. Reason: No such file or
directory
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [70] Executing ClockRestore ...
...

So it seems that the upgrade to Intrepid may not have left s2disk in a
working state (assuming that that was being used in Hardy in my case),
although I'll look into getting Tuxonice working, since I'd prefer to move
to using it anyway...

Revision history for this message
James Westby (james-w) wrote :

Hi,

Thanks for the information, this doesn't look like a problem
with hibernate, at the very least it's a uswsusp problem as
s2disk isn't working. It may be a configuration issue though.

I'm closing this bug report, but if you find a bug in any component
then please open a bug on that.

Thanks,

James

Changed in hibernate:
status: New → Invalid
Revision history for this message
Dave (dme26-lp) wrote :

On Mon, 6 Oct 2008, James Westby wrote:

> Thanks for the information, this doesn't look like a problem
> with hibernate, at the very least it's a uswsusp problem as
> s2disk isn't working. It may be a configuration issue though.

Indeed. Apologies for not poking around to see that hibernate's role is to
invoke other tools.

> I'm closing this bug report, but if you find a bug in any component
> then please open a bug on that.

There's clearly a problem (for at least me) regarding how the various
hibernation configuration files are handled by the Hardy to Intrepid
upgrade process, but I'm not sure what the best way is to report that...

Revision history for this message
James Westby (james-w) wrote :

On Mon, 2008-10-06 at 10:26 +0000, Dave wrote:
> > I'm closing this bug report, but if you find a bug in any component
> > then please open a bug on that.
>
> There's clearly a problem (for at least me) regarding how the various
> hibernation configuration files are handled by the Hardy to Intrepid
> upgrade process, but I'm not sure what the best way is to report that...
>

If you dig down and figure out what is really stopping you from
suspending currently then that will be a start.

Thanks,

James

Revision history for this message
hackel (hackel) wrote :

The file tuxonice-binary-signature.bin is missing from Ubuntu's hibernate package. It is referred to in scriptlets.d/tuxonice. It should not cause a problem unless running tuxonice, which is how I discovered it.
It should be installed to /usr/share/hibernate/ Adding this file to hibernate.install fixes the problem.

Changed in hibernate (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Aditya V (kroq-gar78) wrote :

Since Intrepid is no longer supported, I'll mark this as invalid.

Changed in hibernate (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.