Bug 662853 - System will not enter hibernate when using a swap file instead of a swap partition
Summary: System will not enter hibernate when using a swap file instead of a swap part...
Keywords:
Status: CLOSED DUPLICATE of bug 466408
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 14
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-14 03:44 UTC by Basil Mohamed Gohar
Modified: 2010-12-15 01:13 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-12-15 01:13:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Basil Mohamed Gohar 2010-12-14 03:44:48 UTC
Description of problem:

Hibernate does not work when the system has a swap file but no swap partition.

Version-Release number of selected component (if applicable):


How reproducible:

Every time I've tried with multiple versions of Fedora

Steps to Reproduce:
1. Disable swap partition, and create a swap file
2. Attempt to put the system into hibernation
3. Be boggled as the system fails to hibernate, reporting an issue like 
  
Actual results:

System goes back to fully alert

Expected results:

Systems stays in hibernation until I turn it back on.

Additional info:

Here is a clip from /var/log/messages that I think is relevant:

Dec 13 22:42:07 beta kernel: [  293.213013] PM: Syncing filesystems ... done.
Dec 13 22:42:07 beta kernel: [  293.287012] Freezing user space processes ... (elapsed 0.01 seconds) done.
Dec 13 22:42:07 beta kernel: [  293.298288] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Dec 13 22:42:07 beta kernel: [  293.309352] PM: Preallocating image memory... done (allocated 256402 pages)
Dec 13 22:42:07 beta kernel: [  293.571207] PM: Allocated 1025608 kbytes in 0.26 seconds (3944.64 MB/s)
Dec 13 22:42:07 beta kernel: [  293.571217] Suspending console(s) (use no_console_suspend to debug)
Dec 13 22:42:07 beta kernel: [  293.572011] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Dec 13 22:42:07 beta kernel: [  293.572287] eth0: Going into suspend...
Dec 13 22:42:07 beta kernel: [  293.574011] ipw2200 0000:02:03.0: PCI INT A disabled
Dec 13 22:42:07 beta kernel: [  293.595383] b44 0000:02:00.0: PCI INT A disabled
Dec 13 22:42:07 beta kernel: [  293.733690] Intel ICH Modem 0000:00:1f.6: PCI INT B disabled
Dec 13 22:42:07 beta kernel: [  293.744410] Intel ICH 0000:00:1f.5: PCI INT B disabled
Dec 13 22:42:07 beta kernel: [  293.744835] ata_piix 0000:00:1f.1: PCI INT A disabled
Dec 13 22:42:07 beta kernel: [  293.745016] PM: freeze of devices complete after 172.928 msecs
Dec 13 22:42:07 beta kernel: [  293.745016] PM: late freeze of devices complete after 0.644 msecs
Dec 13 22:42:07 beta kernel: [  293.747013] ACPI: Preparing to enter system sleep state S4
Dec 13 22:42:07 beta kernel: [  293.747402] PM: Saving platform NVS memory
Dec 13 22:42:07 beta kernel: [  293.747445] PM: Saving platform NVS memory
Dec 13 22:42:07 beta kernel: [  293.747454] Disabling non-boot CPUs ...
Dec 13 22:42:07 beta kernel: [  293.747895] PM: Creating hibernation image:
Dec 13 22:42:07 beta kernel: [  293.748175] PM: Need to copy 135928 pages
Dec 13 22:42:07 beta kernel: [  293.748175] PM: Hibernation image created (135928 pages copied)
Dec 13 22:42:07 beta kernel: [  293.748175] microcode: CPU0 updated to revision 0x18, date = 2004-10-17
Dec 13 22:42:07 beta kernel: [  293.748327] ACPI: Waking up from system sleep state S4
Dec 13 22:42:07 beta kernel: [  293.754890] PM: early thaw of devices complete after 0.174 msecs
Dec 13 22:42:07 beta kernel: [  294.031294] pm_op(): pci_pm_thaw+0x0/0x59 returns -16
Dec 13 22:42:07 beta kernel: [  294.031304] PM: Device 0000:00:00.0 failed to thaw: error -16
Dec 13 22:42:07 beta kernel: [  294.031480] ata_piix 0000:00:1f.1: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
Dec 13 22:42:07 beta kernel: [  294.032012] Intel ICH 0000:00:1f.5: PCI INT B -> Link[LNKB] -> GSI 7 (level, low) -> IRQ 7
Dec 13 22:42:07 beta kernel: [  294.229779] ata2.00: configured for UDMA/33
Dec 13 22:42:07 beta kernel: [  294.244490] ata1.00: configured for UDMA/100
Dec 13 22:42:07 beta kernel: [  295.046288] Intel ICH Modem 0000:00:1f.6: BAR 0: set to [io  0xb400-0xb4ff] (PCI address [0xb400-0xb4ff]
Dec 13 22:42:07 beta kernel: [  295.046308] Intel ICH Modem 0000:00:1f.6: BAR 1: set to [io  0xb080-0xb0ff] (PCI address [0xb080-0xb0ff]
Dec 13 22:42:07 beta kernel: [  295.046438] Intel ICH Modem 0000:00:1f.6: PCI INT B -> Link[LNKB] -> GSI 7 (level, low) -> IRQ 7
Dec 13 22:42:07 beta kernel: [  296.048200] [drm] AGP mode requested: 4

Comment 1 Chuck Ebbert 2010-12-15 01:13:03 UTC

*** This bug has been marked as a duplicate of bug 466408 ***


Note You need to log in before you can comment on or make changes to this bug.