resume with crypted swap causes hang on password prompt

Bug #736487 reported by Martin Pulec on 2011-03-16
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
uswsusp (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: uswsusp

Hi,
I have an problem with resuming from encrypted swap. I set uswsusp to encrypt an image, entered the password, (rebooted), hibernated.
Everything seemed to go fine, until I was asked to enter the password. (I didn't use splash screen.) At this moment, the system stopped to interact - after I entered the password and pressed Enter there was no response, not even moving the cursor to next line. Anyway, the system was still responsible - pressing Alt-F2 switched me to next vty, which was blank at this stage of booting, anyway.
(see also http://ubuntuforums.org/showthread.php?t=1560627)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: uswsusp (not installed)
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Wed Mar 16 23:46:22 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 LANGUAGE=cs_CZ:en
 PATH=(custom, user)
 LANG=cs_CZ.UTF-8
 SHELL=/bin/bash
SourcePackage: uswsusp

Gordon Dexter (gordon-texasdex) wrote :

Having this same issue with 10.04 32-bit. I believe it is an issue with the Plymouth splash screen--It apparently has a special way of requesting input from the user, which the uswsusp process has not yet been updated to use. Even if you disable splash Plymouth is still active to some degree (I think it manages the framebuffer), and you can't enter text.

Martin Pulec (martin-pulec) wrote :

There is some progress with Natty and kernel 2.6.39-rc5 (kernel ppa builds). With radeon and its framebuffer I am able to switch to tty2 and back to tty1 and then I am able to enter the password. I am not sure if this workaround works also with mainline Natty kernel because I had some unrelated issue with that version, but I think it should work too. Unfortunately, I haven't tested another framebuffer drivers and/or different configuration.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in uswsusp (Ubuntu):
status: New → Confirmed
niknah (hankin0) wrote :

I am using 12.04. Can't type anything into the passphrase prompt. Alt-F2 just shows a blank screen.
And as soon as I pres Alt-F? keys the password prompt disappears and I can't get it back again.

To get the password prompt I have to remove "splash quiet" from the boot config.

Dantali0n (t-spam-0) wrote :

I can confirm this happens and I have a workaround: Switch to another vty ( ALT-F1,2,3 etc ), type the password, press enter and go back to the vty with your desktop. Your password will be entered and uswsusp will now resume from hibernation.

Also this is my first post on launchpad.

System details:
Ubuntu 14.04 X64

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers