[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Suspend-to-Disk Problem



How do you have the swap partition set up in your lilo/grub ?

Tried to give it directly at the lilo prompt and tried it with
append="resume=/dev/hda3" and/or append="pmdisk=/dev/hda3".

In Documentation/power/swsusp.txt you can read:
You need to append resume=/dev/your_swap_partition to kernel command
line. Then you suspend by echo 4 > /proc/acpi/sleep.

Kernelconfig help to CONFIG_PM_DISK_PARTITION says:
The partition specified can be overridden by specifying
   pmdisk=/dev/<other device>
which will set the resume partition to the device specified.

So what is the right one?


Anything appearing in /var/log(messages|kern.log|syslog) ?

they all have the same content:
Jan 10 16:58:11 muhlap kernel: Stopping tasks: ============================================================
============|
Jan 10 16:58:11 muhlap kernel: Freeing memory: ...........................|
Jan 10 16:58:11 muhlap kernel: hdc: start_power_step(step: 0)
Jan 10 16:58:11 muhlap kernel: hdc: completing PM request, suspend
Jan 10 16:58:11 muhlap kernel: hda: start_power_step(step: 0)
Jan 10 16:58:11 muhlap kernel: hda: start_power_step(step: 1)
Jan 10 16:58:11 muhlap kernel: hda: complete_power_step(step: 1, stat: 50, err: 0)
Jan 10 16:58:11 muhlap kernel: hda: completing PM request, suspend
Jan 10 16:58:11 muhlap kernel: hostap_cs: CS_EVENT_PM_SUSPEND
Jan 10 16:58:11 muhlap kernel: hostap_cs: CS_EVENT_RESET_PHYSICAL
Jan 10 16:58:11 muhlap kernel: PM: Attempting to suspend to disk.
Jan 10 16:58:11 muhlap kernel: PM: snapshotting memory.
Jan 10 16:58:11 muhlap kernel: PCI: Setting latency timer of device 0000:00:1d.0 to 64
Jan 10 16:58:12 muhlap kernel: PCI: Setting latency timer of device 0000:00:1d.1 to 64
Jan 10 16:58:12 muhlap kernel: PCI: Setting latency timer of device 0000:00:1d.2 to 64
Jan 10 16:58:12 muhlap kernel: PCI: Setting latency timer of device 0000:00:1f.5 to 64
Jan 10 16:58:12 muhlap kernel: hostap_cs: CS_EVENT_PM_RESUME
Jan 10 16:58:12 muhlap kernel: hostap_cs: CS_EVENT_CARD_RESET
Jan 10 16:58:12 muhlap kernel: prism2_hw_init: initialized in 269 ms
Jan 10 16:58:12 muhlap kernel: wlan0: trying to read PDA from 0x007f0000: OK
Jan 10 16:58:12 muhlap kernel: hda: Wakeup request inited, waiting for !BSY...
Jan 10 16:58:12 muhlap kernel: hda: start_power_step(step: 1000)
Jan 10 16:58:12 muhlap kernel: hda: completing PM request, resume
Jan 10 16:58:12 muhlap kernel: hdc: Wakeup request inited, waiting for !BSY...
Jan 10 16:58:12 muhlap kernel: hdc: start_power_step(step: 1000)
Jan 10 16:58:12 muhlap kernel: hdc: completing PM request, resume
Jan 10 16:58:12 muhlap kernel: Restarting tasks... done




Reply to: