Your message dated Wed, 18 Mar 2020 02:50:06 +0000
with message-id <[email protected]>
and subject line Bug#954061: Removed package(s) from unstable
has caused the Debian Bug report #760851,
regarding uswsusp: hibernation aborts (out of memory?) with plenty of swap free
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
760851: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760851
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: uswsusp
Version: 1.0+20120915-5
Severity: important

Dear Maintainer,

Hibernation used to work perfectly on my ASUS Zenbook, but approximately
three months ago, an upgrade broke it. Expected behaviour is to be able to
run "s2disk" and have the system switch to fullscreen, freeze processes,
then write the image out to disk. The actual behaviour is that I type
"s2disk", the system switches to fullscreen (saying "Snapshotting
system..."), and after a brief period aborts the hibernation, switching back
to X.

The only indication in the logs of this behaviour is that it is first
"PM: Preallocating image memory...", and then immediately afterwards
"PM: Basic memory bitmaps freed" in what appears to be the first step in
resuming my session. Below is an excerpt of my dmesg when I try to hibernate
several times in a row.

[62614.019501] (NULL device *): firmware: direct-loading firmware
iwlwifi-6000g2b-6.ucode
[62614.065007] Syncing filesystems ... done.
[62614.067419] Freezing user space processes ... (elapsed 0.001 seconds)
done.
[62614.068982] PM: Marking nosave pages: [mem 0x0009d000-0x000fffff]
[62614.068985] PM: Marking nosave pages: [mem 0x20000000-0x201fffff]
[62614.068992] PM: Marking nosave pages: [mem 0x40004000-0x40004fff]
[62614.068993] PM: Marking nosave pages: [mem 0xc9729000-0xc9d2cfff]
[...]
[62614.069052] PM: Marking nosave pages: [mem 0xcaced000-0xcaff3fff]
[62614.069061] PM: Marking nosave pages: [mem 0xcb000000-0xffffffff]
[62614.069632] PM: Basic memory bitmaps created
[62614.070074] PM: Preallocating image memory... 
[62618.433221] PM: Basic memory bitmaps freed
[62618.433259] Restarting tasks ... done.
[62618.471024] video LNXVIDEO:00: Restoring backlight state
[62618.471377] video LNXVIDEO:01: Restoring backlight state
[62677.323004] (NULL device *): firmware: direct-loading firmware
iwlwifi-6000g2b-6.ucode
[62677.375013] Syncing filesystems ... done.
[62677.378976] Freezing user space processes ... (elapsed 0.001 seconds)
done.
[62677.380437] PM: Marking nosave pages: [mem 0x0009d000-0x000fffff]
[62677.380440] PM: Marking nosave pages: [mem 0x20000000-0x201fffff]
[...]

I have tried rmmod'ing my wireless drivers, it makes no difference.
Strangely, hibernation appears to work if I am using less than about 3GB of
memory. Whenever I have encountered this issue in the past, I usually quit
Iceweasel and restart it (thus using less memory). (Yes I have tried killing
plugin-containers separately in case it was a Flash issue.) For example, I
am encountering this bug right now, with more than 3GB of memory used, even
though I have far more than enough swap available:

# free -m
             total       used       free     shared    buffers     cached
Mem:          5869       3052       2817        501         11        607
-/+ buffers/cache:       2434       3435
Swap:        16382       1477      14905

I have tried various uswsusp configurations for the maximum requested image
size, ranging from about 30% to 100% of my physical memory size (6GB).
Nothing seems to help.

As mentioned, if I close enough programs (even innocuous programs like
okular) and reduce the total memory used, I can get hibernation to work. Is
there some uswsusp setting that I should tweak to try to get this to work?

At about the same time as this bug manifested, hibernation started failing
about 30% of the time when resuming from disk (i.e. right after 100% of the
image is resumed, it panics or something and reboots immediately). I will file
a separate bug on this if it remains after fixing the not-enough-memory issue,
I only mention it here in case it is a symptom of the same problem.

Thanks,

~dwk

P.S. I used to be able to hibernate with at least twice as much memory used.
And hibernation used to be reliable, I'd have uptimes of several weeks despite
hibernating every day. Now I can't hibernate half the time and within a few
days, a resume will crash. This is why I have classified this as an important
bug; it makes hibernation pretty much unusable for me.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages uswsusp depends on:
ii  debconf [debconf-2.0]  1.5.53
ii  libblkid1              2.20.1-5.8
ii  libc6                  2.19-7
ii  libgcrypt11            1.5.3-5
ii  liblzo2-2              2.08-1
ii  libpci3                1:3.2.1-2
ii  libx86-1               1.1+ds1-10

Versions of packages uswsusp recommends:
ii  initramfs-tools  0.115
ii  mount            2.20.1-5.8

uswsusp suggests no packages.

-- debconf information:
* uswsusp/shutdown_method: platform
  uswsusp/resume_offset:
* uswsusp/encrypt: false
* uswsusp/image_size: 3606508000
* uswsusp/max_loglevel:
  uswsusp/no_swap:
* uswsusp/snapshot_device:
  uswsusp/RSA_key_bits: 1024
* uswsusp/early_writeout: true
  uswsusp/no_snapshot:
* uswsusp/resume_device: /dev/disk/by-uuid/xxx-removed-xxx
  uswsusp/continue_without_swap: true
  uswsusp/RSA_key_file: /etc/uswsusp.key
  uswsusp/create_RSA_key: false
* uswsusp/compute_checksum: false
* uswsusp/suspend_loglevel:
* uswsusp/compress: true

--- End Message ---
--- Begin Message ---
Version: 1.0+20120915-6.2+rm

Dear submitter,

as the package uswsusp has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/954061

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to