Hibernation throws ecryptfs_encrypt_page errors on Latitude E5420

Bug #883834 reported by J-P Stacey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

How to repeat:

I've installed Ubuntu 11.10 on a Dell Latitude E5420. My machine has an encrypted home directory, and /home is mounted from a different partition on the same hard drive: this might be relevant.

I prompy my laptop to hibernate by pressing the power button and selecting "Hibernate".

What should happen:

The machine should go into hibernation and then poweroff. When I restart it, my session should be remembered.

What actually happens:

Hibernation gets so far and then throws anywhere between a couple and over a dozen errors of the form:

[XXXX.XX] ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-Y]

where XXXX.XX is a dmesg-like timestamp and Y is some small integer. These errors appear on a text-only screen i.e. X seems to have already shut down.

The machine then hangs. When I power cycle it (holding power button down for 5 seconds then restarting) it starts very quickly - suggesting it is coming out of hibernation - but my session has been forgotten. There are no open browser windows or applications.

More information:

As I don't know exactly what package might be causing this bug then I can't be sure what information to provide, but let me know what diagnostics I can run.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jp 1827 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0x95440000 irq 44'
   Mixer name : 'Intel CougarPoint HDMI'
   Components : 'HDA:111d76e7,1028049b,00100102 HDA:80862805,80860101,00100000'
   Controls : 27
   Simple ctrls : 13
DistroRelease: Ubuntu 11.10
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: Dell Inc. Latitude E5420
NonfreeKernelModules: wl
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=5c77c568-6dde-4563-8a5b-a154e4f15997 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-12-generic N/A
 linux-backports-modules-3.0.0-12-generic N/A
 linux-firmware 1.60
StagingDrivers: brcmutil mei brcmsmac
Tags: oneiric running-unity staging
Uname: Linux 3.0.0-12-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 07/10/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A02
dmi.board.name: 0675PR
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA02:bd07/10/2011:svnDellInc.:pnLatitudeE5420:pvr01:rvnDellInc.:rn0675PR:rvrA01:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E5420
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.

Revision history for this message
Timothy Mayoh (timothy-m-deactivatedaccount) wrote :

Does this issue occur on suspend or when you are not using an encrypted home directory?

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote :

1. Suspend works fine.

2. Not 100% how best to test an unencrypted home directory once I've already got one for my primary user. So I created a new user "testuser" and logged in as them.

I confirmed neither of these directories existed: /home/.ecryptfs/testuser , /home/testuser/.Private (not sure how ecryptfs is actually implemented.) I then initiated hibernation.

This time, hibernation "completed" (the machine powered down), and I didn't get any of the above mentioned errors. However, I did get an error of the form:

[XXXX.xx] firewire_ohci: Register access failure - please notify <email address hidden>

Also, when I powered up the laptop again, although it was quick to restart, the session had still gone.

So I guess there are two issues in this bug:

A. Hibernate/Resume does not work on my Latitude E5420 (session is not remembered)

B. Hibernate on similar machine throws ecryptfs errors when home directory encrypted; firewire errors when directory not encrypted.

Does that make sense?

Revision history for this message
Timothy Mayoh (timothy-m-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:

apport-collect 883834

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : AcpiTables.txt

apport information

tags: added: apport-collected oneiric running-unity staging
description: updated
Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : AlsaDevices.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : AplayDevices.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : BootDmesg.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : CurrentDmesg.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : IwConfig.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : Lspci.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : Lsusb.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : PciMultimedia.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : ProcEnviron.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : ProcInterrupts.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : ProcModules.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : PulseSinks.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : PulseSources.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : RfKill.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : UdevDb.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : UdevLog.txt

apport information

Revision history for this message
J-P Stacey (jp-stacey-gmail) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
status: Confirmed → New
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
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.