Suspend-to-Disk fails because of insufficient swap space

Bug #555065 reported by okurz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Trying Suspend-to-Disk fails when not enoug space is available on the swap partition.
An obvious problem, but maybe the power management script can check if enough swap space is available before trying to hibernate. The problem appeared after upgrading the system memory from 2 to 4GB while the swap partition is kept at the (previously correct) size of 2GB. Activating "Turn off computer->Suspend to Disk" fails after some time with a black window and a message in text-console showing "Not enough space in swap partition" (or something similar). So far I did not try to reproduce this problem.

System information:
Description: Ubuntu 9.10
Release: 9.10

pm-utils:
  Installed: 1.2.5-2ubuntu7
  Candidate: 1.2.5-2ubuntu7
  Version table:
 *** 1.2.5-2ubuntu7 0
        500 http://de.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

ProblemType: KernelOops
Annotation: This occured during a previous hibernate and prevented it from resuming properly.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: oliver 2371 F.... pulseaudio
                      oliver 2390 F.... kmix
 /dev/snd/controlC0: oliver 2371 F.... pulseaudio
                      oliver 2390 F.... kmix
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'XFi'/'Creative X-Fi 20K1 Unknown'
   Mixer name : '20K1'
   Components : ''
   Controls : 30
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'Intel'/'HDA Intel at 0xf1200000 irq 22'
   Mixer name : 'Realtek ALC889A'
   Components : 'HDA:10ec0885,1458a002,00100101'
   Controls : 43
   Simple ctrls : 24
Date: Sun Apr 4 11:51:42 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/apport/apportcheckresume
Failure: hibernate/resume
HibernationDevice: RESUME=UUID=c73f6730-6bf6-4170-a9dd-f5426796b490
InterpreterPath: /usr/bin/python2.6
MachineType: Gigabyte Technology Co., Ltd. P35-DS3
NonfreeKernelModules: nvidia
Package: linux-image-2.6.31-20-generic 2.6.31-20.58
ProcCmdLine: root=/dev/sda6 ro
ProcCmdline: /usr/bin/python /usr/share/apport/apportcheckresume
ProcEnviron: PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-20-generic N/A
 linux-firmware 1.26
SourcePackage: linux
Tags: resume hibernate
Title: [Gigabyte Technology Co., Ltd. P35-DS3] hibernate/resume failure [non-free: nvidia]
Uname: Linux 2.6.31-20-generic x86_64
UserGroups:

WpaSupplicantLog:

dmi.bios.date: 01/04/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F12
dmi.board.name: P35-DS3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF12:bd01/04/2008:svnGigabyteTechnologyCo.,Ltd.:pnP35-DS3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP35-DS3:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: P35-DS3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
okurz (oliver-kurz) wrote :
tags: added: kernel-suspend
tags: added: kj-triage
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi okurz,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 555065

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.