12.04 crashes when resuming from encrypted lvm volume

Bug #1026959 reported by Anton Kanishchev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Using the command

sudo s2disk

the splash screen appears with the percentage bar -hibernation completes and the system turns itself off. The resume part worked on the same machine ,just not encrypted.

when it is time to resume from hibernate it asks for password to encrypted lvm volume -if password entered correctly it displays:
"successfully mounted sda-crypt[ etc etc] , resuming from sda....] it then hangs. can only see hdd activity for a few seconds before it hangs.

Is this a fault with the s2disk package or shall i try sudo pm-hibernate and see whether that works???

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-26-generic-pae 3.2.0-26.41
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic-pae 3.2.19
Uname: Linux 3.2.0-26-generic-pae i686
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: anton 1803 F.... pulseaudio
 /dev/snd/controlC0: anton 1803 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd4a00000 irq 47'
   Mixer name : 'Realtek ALC262'
   Components : 'HDA:10ec0262,104d3a00,00100302 HDA:14f12c06,104d1700,00100000'
   Controls : 18
   Simple ctrls : 10
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xd0030000 irq 48'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,104d3a00,00100100'
   Controls : 6
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Fri Jul 20 09:28:33 2012
HibernationDevice: RESUME=UUID=c0a58e6e-2bca-44a4-be92-6c7a602240ba
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423.2)
MachineType: Sony Corporation VGN-NW11S_T
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-26-generic-pae root=/dev/mapper/volumegrp01-volume02 ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-26-generic-pae N/A
 linux-backports-modules-3.2.0-26-generic-pae N/A
 linux-firmware 1.79
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/27/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R0180Y4
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR0180Y4:bd08/27/2009:svnSonyCorporation:pnVGN-NW11S_T:pvrC601PLF4:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VGN-NW11S_T
dmi.product.version: C601PLF4
dmi.sys.vendor: Sony Corporation

Revision history for this message
Anton Kanishchev (ak12-deactivatedaccount) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Anton Kanishchev, thank you for reporting this and helping make Ubuntu better. Could you please capture the oops following https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Capturing_OOPs ?
As well, if you could also please 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. As well, please comment on which kernel version specifically you tested.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream', and comment as to why specifically you were unable to test it.

Please let us know your results. Thanks in advance.

tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Anton Kanishchev (ak12-deactivatedaccount) wrote :

Ok-i followed the link about capturing oops ( https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Capturing_OOPs ).
have installed the package that it asked for. i have googled on how to find the oops log (http://www.pls-mc.com/content/view/221/374/) but /proc/kmsg doesnt display anything (doesnt open) and the other method does not work.

Am I missing something???

Will test upstream kernel later on today and will post results back tomorrow.

Revision history for this message
penalvch (penalvch) wrote :

Anton Kanishchev, one thing I want to bring to your attention is the following article https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume#Failure_due_to_encrypted_swap . Is this the situation you are facing?

Revision history for this message
Anton Kanishchev (ak12-deactivatedaccount) wrote :

Thanks for pointing that out Christopher, I used lvm ( using alternative install of 12.04lts) to set up my entire installation to be encrypted with AES.I followed the instructions given here( http://stonesifer.org/2011/07/01/dual-boot-windows-7-encrypted-with-ubuntu-1104-encrypted/ ) I guess that means that the swap is encrypted as well. Or does this issue occur only if you encrypt the home folder via the normal install? i suppose this bug is invalid now (previously reported issue). what should i mark it as(invalid?)?

Thanks very much for your help

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.