Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 45

Thread: HOWTO: Use swapfile instead of partition and hibernate

  1. #31
    Join Date
    Jan 2011
    Beans
    1

    Re: HOWTO: Use swapfile instead of partition and hibernate

    Just want to add I've got this working with Ubuntu 10.10 and ext4 filesystem on an eeepc 1005. I've got 4G swapfile (for 2G RAM) on root partition.
    Suspend was working correctly prior to the mod.

    I used the original HOWTO with RBertrand's update for grub2 and filefrag.

    The only issue I'm noticing at the moment is that on resume the sound is muted - but that's something I can live with...

    Update

    Hibernate working fully now - had to install hibernate package:

    sudo apt-get install hibernate

    probably should have had this to start with!
    Last edited by dralastair; January 7th, 2011 at 03:55 PM. Reason: New information

  2. #32
    Join Date
    Aug 2007
    Beans
    11

    Re: HOWTO: Use swapfile instead of partition and hibernate

    Hi all,

    I'm running ubuntu 10.10 which uses grub2 and I hope suspend to work with a swap file (read somewhere uswsusp is needed).

    I suppose I need to edit /etc/default/grub before running update-grub. According to your instructions (thanks for such great tutorial) anyone knows how this file should be edited?

    Thanks in advanced. Regards,

    Jean Pierre

  3. #33
    Join Date
    Aug 2007
    Beans
    11

    Re: HOWTO: Use swapfile instead of partition and hibernate

    Quote Originally Posted by nakednous View Post
    Hi all,

    I'm running ubuntu 10.10 which uses grub2 and I hope suspend to work with a swap file (read somewhere uswsusp is needed).

    I suppose I need to edit /etc/default/grub before running update-grub. According to your instructions (thanks for such great tutorial) anyone knows how this file should be edited?

    Thanks in advanced. Regards,

    Jean Pierre
    sorry I didn't notice that the thread was more than one page long Will check dralastair and RBertrand's posts in detail before asking something again.

  4. #34
    Join Date
    Aug 2007
    Beans
    11

    Re: HOWTO: Use swapfile instead of partition and hibernate

    Quote Originally Posted by nakednous View Post
    Hi all,

    I'm running ubuntu 10.10 which uses grub2 and I hope suspend to work with a swap file (read somewhere uswsusp is needed).

    I suppose I need to edit /etc/default/grub before running update-grub. According to your instructions (thanks for such great tutorial) anyone knows how this file should be edited?

    Thanks in advanced. Regards,

    Jean Pierre
    sorry I didn't notice that the thread was more than one page long Will check dralastair and RBertrand's posts in detail before asking something again.

  5. #35
    Join Date
    Aug 2007
    Beans
    11

    Re: HOWTO: Use swapfile instead of partition and hibernate

    Quote Originally Posted by nakednous View Post
    Hi all,

    I'm running ubuntu 10.10 which uses grub2 and I hope suspend to work with a swap file (read somewhere uswsusp is needed).

    I suppose I need to edit /etc/default/grub before running update-grub. According to your instructions (thanks for such great tutorial) anyone knows how this file should be edited?

    Thanks in advanced. Regards,

    Jean Pierre
    sorry I didn't notice that the thread was more than one page long Will check dralastair and RBertrand's posts in detail before asking something again.

  6. #36
    Join Date
    Aug 2007
    Beans
    11

    Re: HOWTO: Use swapfile instead of partition and hibernate

    sorry I didn't notice the thread was longer than its first place. Will check RBertrand and dralastair posts before asking again (if necessary).

  7. #37
    Join Date
    Aug 2007
    Beans
    11

    Re: HOWTO: Use swapfile instead of partition and hibernate

    (sorry for my previous repeated posts I had a bad connection and hit many times the "submit reply" button)

    I'm exclusively running kubuntu 10.10 (maverick) on an asus N53J with a SSD of 120GB and 10GB of RAM, with a single ext4 partition (without swap partition which seemed a good configuration for my hardware). I followed the instructions found here to make suspend to a swap file work without success.

    First of all I'm confuse about which suspend method to use: the in kernel default method (aka suspend or swsusp) or user space suspend (uswsusp). I tried both. I did it as follows:

    1. swsusp

    Followed the instructions here *without* installing uswsusp. To get the swap offset I ran: sudo filefrag -v /swapfile without problem. The output was:

    Code:
    Filesystem type is: ef53
    File size of /swapfile is 5215938560 (1273423 blocks, blocksize 4096)
     ext logical physical expected length flags
       0       0 10649600            2048
    ...
    I noted the 10649600 number. To configure grub2 (before running sudo update-grub, I changed the GRUB_CMDLINE_LINUX_DEFAULT variable found in /etc/default/grub. It looks like this:

    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=deadline resume=UUID=2e55de9d-891f-4040-b9a5-6c96b6bfb650 resume_offset=10649600"
    Note: It's also possible to configure the variable GRUB_CMDLINE_LINUX in grub. In this case, the changes will affect also the "recovery mode" kernel images.

    Then I configured the /etc/initramfs-tools/conf.d/resume and run sudo update-initramfs -u just as suggested here.

    Result: suspend to ram works fine. Suspend to disk puts my screen to black and hangs. After some minutes I reset the laptop. I noticed that when hitting the power button the machine turned off with activity as if one has turned it off correctly.

    2. uswsusp

    I made the following changes respect to the previous method:
    1. I installed hibernate and uswsusp: sudo apt-get install hibernate uswsusp
    2. To get the swap offset I ran: sudo swap-offset /swapfile. The output was:

    Code:
    resume offset = 10649600
    Same offset as in the previous case.
    3. I then edit the /etc/uswsusp.conf file running sudo dpkg-reconfigure uswsusp. It looks like this:

    Code:
    # /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both 
    resume device = /dev/sda1
    compress = y
    early writeout = y
    image size = 4.79866e+09
    RSA key file = /etc/uswsusp.key
    shutdown method = platform
    resume offset = 10649600
    compute checksum = y
    suspend loglevel = 5
    max loglevel = 5
    Before editing it, I was surprised by the fact that the file was already well configured (it had the correct offset. I just ended adding the log entries to it).

    Result: same as with swsusp. I also tried to integrate uswsusp with pm-utils without success as explained here (seems that swsusp installation routine already does it).

  8. #38
    Join Date
    Aug 2010
    Location
    Hopewell Junction, NY
    Beans
    332
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: HOWTO: Use swapfile instead of partition and hibernate

    I thought I couldn't get the laptop to hibernate because selecting "Hibernate" from the shutdown menu only brought up a gray screen. However, I found the the command "sudo hibernate" from a terminal DID put it into hibernation.

    How do I get it to work from the menu?

    p.s. Selecting "Hibernate" from the shutdown applet causes a blank gray screen to come up for several seconds, then the computer goes off. Next boot goes through normal start-up to login-screen.

    Selecting "Hibernate" from the indicator applet first brings up a locked-screen password entry, then shuts down. Next boot goes through normal start-up to login-screen. However, after login, network starts out disabled (?).
    Last edited by bilkay; January 11th, 2011 at 08:44 PM. Reason: Clarifying information

  9. #39
    Join Date
    Dec 2009
    Beans
    4

    Re: HOWTO: Use swapfile instead of partition and hibernate

    Can't seem to get this working on my fresh Maverick install.

    Tried all the suggestions in this thread, but none helped unfortunately. Even removed all (non-essential) pieces of hardware, without success.

    The swsusp method does shutdown, but is unable to load the image.
    In my boot.log I found the following:
    Code:
    Invalidating stale software suspend images... /swapfileswapon: /swapfile: software suspend data detected. Rewriting the swap signature.
    The uswsusp method saves all the data to the swapfile, but goes straight back to login screen or the open session, depending on how it is called.
    I couldn't find any errors in dmesg between the process of shutting down devices and starting them again:
    Code:
     7546.652403] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro,user_xattr,commit=0
    [ 7548.374093] PM: Marking nosave pages: 000000000009e000 - 0000000000100000
    [ 7548.374097] PM: Basic memory bitmaps created
    [ 7548.724812] snapshot_deprecated_ioctl: 14359 callbacks suppressed
    [ 7548.724819] snapshot_ioctl: ioctl '80043307' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7548.724823] Syncing filesystems ... done.
    [ 7548.727977] Freezing user space processes ... (elapsed 0.01 seconds) done.
    [ 7548.744065] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
    [ 7548.760073] snapshot_ioctl: ioctl '4004330c' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7548.760143] snapshot_ioctl: ioctl '40043306' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7548.760146] snapshot_ioctl: ioctl '40043303' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7548.760170] PM: Preallocating image memory... done (allocated 300494 pages)
    [ 7548.900908] PM: Allocated 1201976 kbytes in 0.14 seconds (8585.54 MB/s)
    [ 7548.900910] Suspending console(s) (use no_console_suspend to debug)
    [ 7548.901192] sd 0:0:1:0: [sda] Synchronizing SCSI cache
    [ 7548.901563] parport_pc 00:07: disabled
    [ 7548.901778] serial 00:06: disabled
    [ 7548.901833] HDA Intel 0000:01:05.1: PCI INT B disabled
    [ 7548.901856] ACPI handle has no context!
    [ 7548.972167] ahci 0000:00:11.0: PCI INT A disabled
    [ 7548.977048] [drm] Disabling audio support
    [ 7548.978053] radeon 0000:01:05.0: c177a800 unpin not necessary
    [ 7549.046497] PM: freeze of drv:radeon dev:0000:01:05.0 complete after 144.670 msecs
    [ 7549.046533] PM: freeze of drv:pci dev:0000:00:01.0 complete after 138.024 msecs
    [ 7549.046549] PM: freeze of drv: dev:pci0000:00 complete after 137.952 msecs
    [ 7549.046554] PM: freeze of devices complete after 145.489 msecs
    [ 7549.046914] PM: late freeze of devices complete after 0.358 msecs
    [ 7549.046981] ACPI: Preparing to enter system sleep state S4
    [ 7549.047871] PM: Saving platform NVS memory
    [ 7549.052818] PM: Saving platform NVS memory
    [ 7549.057760] Disabling non-boot CPUs ...
    [ 7549.164040] CPU 1 is now offline
    [ 7549.164044] SMP alternatives: switching to UP code
    [ 7549.167788] Extended CMOS year: 2000
    [ 7549.167856] PM: Creating hibernation image:
    [ 7549.168021] PM: Need to copy 288902 pages
    [ 7549.168021] PM: Normal pages needed: 107541 + 1024, available pages: 120620
    [ 7549.168021] PM: Hibernation image created (288902 pages copied)
    [ 7549.168021] Extended CMOS year: 2000
    [ 7549.168021] Enabling non-boot CPUs ...
    [ 7549.168021] SMP alternatives: switching to SMP code
    [ 7549.171364] Booting Node 0 Processor 1 APIC 0x1
    [ 7549.167504] Initializing CPU#1
    [ 7549.296286] CPU1 is up
    [ 7549.296620] ACPI: Waking up from system sleep state S4
    [ 7549.297219] PM: early thaw of devices complete after 0.072 msecs
    [ 7549.297329] ahci 0000:00:11.0: restoring config space at offset 0x1 (was 0x2300103, writing 0x2300107)
    [ 7549.297348] ahci 0000:00:11.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    [ 7549.297414] radeon 0000:01:05.0: setting latency timer to 64
    [ 7549.297790] [drm] Clocks initialized !
    [ 7549.299480] serial 00:06: activated
    [ 7549.300664] parport_pc 00:07: activated
    [ 7549.300890] sd 0:0:1:0: [sda] Starting disk
    [ 7549.312375] HDA Intel 0000:01:05.1: BAR 0: set to [mem 0xfeae8000-0xfeaebfff] (PCI address [0xfeae8000-0xfeaebfff]
    [ 7549.312394] HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    [ 7549.312398] HDA Intel 0000:01:05.1: setting latency timer to 64
    [ 7549.355414] [drm] ring test succeeded in 1 usecs
    [ 7549.355427] [drm] ib test succeeded in 0 usecs
    [ 7549.355429] [drm] Enabling audio support
    [ 7549.464046] ata1.01: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
    [ 7549.464050] ata1.01: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
    [ 7549.472883] ata1.00: ACPI cmd ef/03:46:00:00:00:a0 (SET FEATURES) filtered out
    [ 7549.472886] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
    [ 7549.488801] ata1.00: configured for UDMA/33
    [ 7549.494264] PM: thaw of drv:radeon dev:0000:01:05.0 complete after 196.876 msecs
    [ 7549.510037] ata1.01: configured for UDMA/100
    [ 7549.532387] PM: thaw of drv:sd dev:0:0:1:0 complete after 231.493 msecs
    [ 7549.532399] PM: thaw of drv:scsi_disk dev:0:0:1:0 complete after 151.913 msecs
    [ 7549.532447] PM: thaw of drv:scsi_device dev:0:0:1:0 complete after 231.532 msecs
    [ 7549.532451] PM: thaw of devices complete after 235.202 msecs
    [ 7549.532677] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7549.532749] snapshot_ioctl: ioctl '80043307' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7549.532809] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7549.532812] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7549.532996] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7549.533043] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7549.616389] ata3: SATA link down (SStatus 0 SControl 300)
    [ 7549.616419] ata5: SATA link down (SStatus 0 SControl 300)
    [ 7549.616444] ata4: SATA link down (SStatus 0 SControl 300)
    [ 7549.620388] ata6: SATA link down (SStatus 0 SControl 300)
    [ 7553.775965] snapshot_deprecated_ioctl: 20159 callbacks suppressed
    [ 7553.775971] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7553.776098] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7553.776180] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7553.776248] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7553.776296] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7553.776380] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7553.776432] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7553.776497] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7553.776562] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7553.776626] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7558.780650] snapshot_deprecated_ioctl: 24918 callbacks suppressed
    [ 7558.780657] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7558.780770] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7558.780845] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7558.780910] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7558.780975] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7558.781040] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7558.781104] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7558.781168] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7558.781231] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7558.781296] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7563.791124] snapshot_deprecated_ioctl: 27059 callbacks suppressed
    [ 7563.791131] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7563.791257] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7563.791266] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7563.791331] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7563.791395] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7563.791459] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7563.791522] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7563.791585] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7563.791648] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7563.791711] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7568.940264] snapshot_deprecated_ioctl: 29822 callbacks suppressed
    [ 7568.940270] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7568.940372] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7568.940434] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7568.940504] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7568.940569] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7568.940632] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7568.940696] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7568.940760] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7568.940824] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7568.940887] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7573.944026] snapshot_deprecated_ioctl: 23028 callbacks suppressed
    [ 7573.944032] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7573.944117] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7573.944193] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7573.944237] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7573.944344] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7573.944379] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7573.944438] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7573.944504] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7573.944568] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7573.944652] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7578.948074] snapshot_deprecated_ioctl: 22062 callbacks suppressed
    [ 7578.948081] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7578.948402] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7578.948455] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7578.948484] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7578.948564] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7578.948633] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7578.948707] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7578.948775] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7578.948848] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7578.948911] snapshot_ioctl: ioctl '80043308' is deprecated and will be removed soon, update your suspend-to-disk utilities
    [ 7583.844256] Restarting tasks ... done.
    [ 7583.901304] PM: Basic memory bitmaps freed
    [ 7583.919312] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
    [ 7584.582194] r8169 0000:02:00.0: eth0: link up
    [ 7587.009789] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro,user_xattr,commit=0
    I also tried tuxonice, which didn't work right away. Since I like to use rt-kernels sometimes, i guess it wouldn't be a solution for me anyways.

    Any suggestions on what else there is to try?

  10. #40
    Join Date
    May 2006
    Location
    Philadelphia
    Beans
    1,111
    Distro
    Kubuntu Karmic Koala (testing)

    Re: HOWTO: Use swapfile instead of partition and hibernate

    Thanks for mentioning the quirk-checker.sh script. It worked for a friend of mine on a new Sony VAIO with two SSDs, but my MacBook Pro is still without hibernate, after all these years.

    From the man page on uswsusp:
    resume offset
    Necessary if a swap file is used for suspending. In such a case the device identified by the "resume device" parameter is regarded as the partition that contains the swap file, and "resume offset" must be equal to the offset from the beginning of this partition at which the swap file's header is located, in <PAGE_SIZE> units. The value of this parameter for given swap file can be determined by the swap-offset program (has to be run as root) included in this package. [For this feature to work, you will need an -mm kernel, 2.6.18-mm3 or newer.]
    Most unfortunate. For those not familiar, the -mm tree is no longer maintained, not since 2007. Given that the hibernate command just calls other scripts, this would explain why hibernation isn't working, even with a properly configured uswsusp.conf. Found this bug report interesting, particularly comment #6.

    Hate to be pessimistic, but I'm near giving up on this s2ram works OK, but I've never had s2disk working on this laptop.

Page 4 of 5 FirstFirst ... 2345 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •