← Back to team overview

kernel-packages team mailing list archive

[Bug 1387107] Re: boot hangs for no way to enter password for encrypted LVM


Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v3.18 kernel[0].

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:

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18-rc2-utopic/

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  boot hangs for no way to enter password for encrypted LVM

Status in “linux” package in Ubuntu:

Bug description:
  Problem Description 
  VNC booting Ubuntu hangs after:
  [    0.774027] /build/buildd/linux-3.16.0/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
  due to no way to enter the password for an encrypted device. It occurs for an installation with the device encryption selected. Without encryption, the warning message still appears, but the booting can continue till login prompt.

  Work Around: If selecting Recovery Mode quickly to boot, then there is
  the chance to enter a password and bring up the system.

  However, at the booting menu, if your hand is too slow, then the
  terminal mode will be toggled to somewhat unknown. Then the <Enter>
  key will not work, nor do the upper case letters. You have to type
  Ctrl+M (alternative of <Enter> with normal TERM setting) to get in
  "Advanced options for Ubuntu", but still end up unable to provide the
  correct password if it contains any upper case letters.

  *** Selections in Ubuntu installation ***
  Language - English
  Country - United States
  Detect keyboard - No
  Country for the keyboard - English (US)
  Keyboard layout - English (US)
  Hostname - UbuntuCrypt
  Full name - ...
  Username - .....
  Password - *******
  Encrypt directory - No
  Time zone - Central
  Partitioning method - Guided - use entire disk and set up encrypted LVM
  Select disk - Virtual disk 1 (vda) - 53.7 GB Virtio Block Device
  Write the changes to disks and configure LVM - Yes
  Encryption passphrase - *******
  Amount of volume group to use - 53.4 GB - Continue
  Write the changes to disks - Yes
  manage upgrades - Install security updates automatically
  System clocks set to UTC - No
  Installation complete - Continue

  *** Machine/software info ***
  [root@lep8b /]# uname -a
  Linux lep8b.austin.ibm.com 3.10.42-2007.pkvm2_1_1.16.ppc64 #1 SMP Fri Aug 15 10:45:07 CDT 2014 ppc64 ppc64 ppc64 GNU/Linux

  [root@lep8b /]# rpm -qa kimchi
  [root@lep8b /]#

  [root@lep8b iso]# ls -l ubuntu-14.10-server-ppc64el-GA.iso
  -r--r--r--. 1 qemu qemu 585523200 Oct 22 13:09 ubuntu-14.10-server-ppc64el-GA.iso

  [root@lep8b /]# rpm -qa "libvirt*"

  *** Domain define ***
  <domain type='kvm'>
      <kimchi:kimchi xmlns:kimchi="https://github.com/kimchi-project/kimchi";>
        <kimchi:os version="14.10" distro="ubuntu"/>
    <memory unit='KiB'>4382720</memory>
    <currentMemory unit='KiB'>4382720</currentMemory>
    <vcpu placement='static'>5</vcpu>
      <type arch='ppc64' machine='pseries'>hvm</type>
      <boot dev='hd'/>
      <boot dev='cdrom'/>
    <clock offset='utc'/>
      <disk type='file' device='disk'>
        <driver name='qemu' type='raw' cache='none'/>
        <source file='/var/lib/libvirt/images/vcd0a5/UbuntuCrypt.img'/>
        <target dev='vda' bus='virtio'/>
        <alias name='virtio-disk0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
      <disk type='file' device='cdrom'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/kal/iso/ubuntu-14.10-server-ppc64el-GA.iso'/>
        <target dev='sdc' bus='scsi'/>
        <alias name='scsi0-0-0-2'/>
        <address type='drive' controller='0' bus='0' target='0' unit='2'/>
      <controller type='usb' index='0'>
        <alias name='usb0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
      <controller type='pci' index='0' model='pci-root'>
        <alias name='pci.0'/>
      <controller type='scsi' index='0'>
        <alias name='scsi0'/>
        <address type='spapr-vio' reg='0x2000'/>
      <interface type='network'>
        <mac address='52:54:00:37:73:2e'/>
        <source network='default'/>
        <target dev='vnet21'/>
        <model type='virtio'/>
        <driver name='qemu'/>
        <alias name='net0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
      <serial type='pty'>
        <source path='/dev/pts/11'/>
        <target type='isa-serial' port='0'/>
        <alias name='serial0'/>
        <address type='spapr-vio' reg='0x30001000'/>
      <console type='pty' tty='/dev/pts/11'>
        <source path='/dev/pts/11'/>
        <target type='serial' port='0'/>
        <alias name='serial0'/>
        <address type='spapr-vio' reg='0x30001000'/>
      <input type='mouse' bus='usb'>
        <alias name='input0'/>
      <input type='keyboard' bus='usb'>
        <alias name='input1'/>
      <input type='tablet' bus='usb'>
        <alias name='input2'/>
      <graphics type='vnc' port='5904' autoport='yes' listen=''>
        <listen type='address' address=''/>
        <model type='vga' vram='9216' heads='1'/>
        <alias name='video0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
      <memballoon model='virtio'>
        <alias name='balloon0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
        <stats period='890'/>
    <seclabel type='dynamic' model='selinux' relabel='yes'>

To manage notifications about this bug go to: