Michael Biebl <bi...@debian.org> writes:

> Am 01.02.2011 20:15, schrieb Gerald Turner:
>> Package: pm-utils
>> Version: 1.3.0-3
>> 
>> Hello, my Asus EeePC 1000HE as well as Hans's 1005HGO are no longer
>> able to resume from hibernation since upgrading pm-utils,
>> linux-image-2.6.32-5-686, and grub-pc.
>> 
>> Resume had been working on November versions of these packages (and
>> many iterations prior to that), version details below.
>
> Is your resume partition correctly setup in initramfs-tools (check
> /etc/initramfs-tools/conf.d/resume)?

Looks correct:

$ cat /etc/initramfs-tools/conf.d/resume 
RESUME=UUID=9192a2ff-c56c-4b8b-b070-7ce73926f61d

$ blkid
/dev/sda2: UUID="9192a2ff-c56c-4b8b-b070-7ce73926f61d" TYPE="swap" 
/dev/sda1: LABEL="root" UUID="6e7164e6-ed0c-4e18-bbc2-eebb70fbc8b4" 
TYPE="reiserfs" 

> Is your swap partition big enough (cat /proc/swaps ; cat /proc/meminfo)
>

My swap partition is a few K shy of the 2GB memory.  Hasn't been a
problem before, doesn't suspend use compression?  Should I attempt to
resize (perhaps having swap 4GB).

$ cat /proc/swaps 
Filename                                Type            Size    Used    Priority
/dev/sda2                               partition       1959920 0       -1

$ cat /proc/meminfo 
MemTotal:        2066272 kB
MemFree:         1755620 kB
Buffers:           35996 kB
Cached:           156728 kB
SwapCached:            0 kB
Active:           111132 kB
Inactive:         164244 kB
Active(anon):      82860 kB
Inactive(anon):    37072 kB
Active(file):      28272 kB
Inactive(file):   127172 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:       1183368 kB
HighFree:         933720 kB
LowTotal:         882904 kB
LowFree:          821900 kB
SwapTotal:       1959920 kB
SwapFree:        1959920 kB
Dirty:               220 kB
Writeback:             0 kB
AnonPages:         82660 kB
Mapped:            49144 kB
Shmem:             37280 kB
Slab:              18480 kB
SReclaimable:       8320 kB
SUnreclaim:        10160 kB
KernelStack:        1728 kB
PageTables:         2164 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2993056 kB
Committed_AS:     420956 kB
VmallocTotal:     122880 kB
VmallocUsed:       15096 kB
VmallocChunk:      98516 kB
HardwareCorrupted:     0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       4096 kB
DirectMap4k:       20472 kB
DirectMap4M:      884736 kB

BTW resume fails even when system is hibernated immediately after a
fresh restart when not much memory has been used:

$ free
             total       used       free     shared    buffers     cached
Mem:       2066272     356588    1709684          0      36636     202108
-/+ buffers/cache:     117844    1948428
Swap:      1959920          0    1959920

> Does your system correctly resume if you run
> echo "disk" > /sys/power/state
>

Same result, laptop suspends, showing kernel messages about freezing,
tick to 100% and cleanly shuts down, and on resume messages tick to 100%
and resets.

-- 
Gerald Turner   Email: gtur...@unzane.com   JID: gtur...@unzane.com
GPG: 0xFA8CD6D5  21D9 B2E8 7FE7 F19E 5F7D  4D0C 3FA0 810F FA8C D6D5

Attachment: pgpAUdtYBdoTE.pgp
Description: PGP signature

Reply via email to