Hibernate corrupts swap partition

Bug #688204 reported by cariboo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
In Progress
High
Andy Whitcroft

Bug Description

Over the past couple of weeks, every time my netbook comes out of hibernate, the swap partition gets changed to an unknown type.

I first started with a shared swap between Maverick and Natty, Hibernate on Maverick works with out any problems, it's just Natty where the problem shows up. I've recreated the swap partition using the following command:

sudo mkswap /dev/sda3

the above command prints out the UUID of the swap partition. I then edot /etc/initramds-tools/conf.d/resume to reflect the new UUID and update initramfs using the following command:

sudo update-initramfs -c -k all

At the time, even a reboot would corrupt the swap partition making it unreadable. Checking with Gparted and DIsk Utility after a reboot showed the partition as unknown and when checking the UUID using:

sudo blkid

The swap partition never shows up.

I then did a fresh install using the latest Natty Daily Live CD. I can now reboot with out the swap partiton being destroyed, but hibernate still make it unusable. I installed the hibernate package from the repositories, hibernate now works, but now I get a black rectangle about the size of an open terminal in the upper left corner of the screen, that only a restart will clear.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.37-8-generic 2.6.37-8.21
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.37-8.21-generic 2.6.37-rc4
Uname: Linux 2.6.37-8-generic i686
NonfreeKernelModules: wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: cariboo 8273 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe938000 irq 42'
   Mixer name : 'IDT 92HD81B1X5'
   Components : 'HDA:111d7605,103c308f,00100402'
   Controls : 14
   Simple ctrls : 9
Date: Thu Dec 9 10:59:53 2010
HibernationDevice: RESUME=UUID=26419763-00ea-4fdc-82e1-93c6a40cde12
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101206)
MachineType: Hewlett-Packard Compaq Mini 110c-1100
ProcEnviron:
 LANG=en_CA.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.37-8-generic root=UUID=26f5a9ef-6317-4bdf-8beb-0b7652070133 ro quiet splash
RelatedPackageVersions: linux-firmware 1.40
RfKill:
 0: hp-wifi: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
dmi.bios.date: 10/06/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 308F0 Ver. F.18
dmi.board.name: 308F
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 02.10
dmi.chassis.asset.tag: CNU9487V1W
dmi.chassis.type: 10
dmi.chassis.vendor: Inventec
dmi.modalias: dmi:bvnHewlett-Packard:bvr308F0Ver.F.18:bd10/06/2009:svnHewlett-Packard:pnCompaqMini110c-1100:pvr0394110000001C00000300000:rvnHewlett-Packard:rn308F:rvrKBCVersion02.10:cvnInventec:ct10:cvr:
dmi.product.name: Compaq Mini 110c-1100
dmi.product.version: 0394110000001C00000300000
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
cariboo (cariboo) wrote :
Revision history for this message
cariboo (cariboo) wrote :
Revision history for this message
cariboo (cariboo) wrote :
Revision history for this message
cariboo (cariboo) wrote :
Revision history for this message
cariboo (cariboo) wrote :
Revision history for this message
Andy Whitcroft (apw) wrote :

This is actually triggered by a change to the compression algorithm used for hibernate partitions. We need to support this new version in the userspace tools. Marking this a dup of bug #683605.

Changed in linux (Ubuntu):
assignee: nobody → Andy Whitcroft (apw)
importance: Undecided → High
status: New → In Progress
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.