dm-crypt missing from initramfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-5.4 (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
Attempting to boot linux-image-
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-generic 5.4.0.12.15
ProcVersionSign
Uname: Linux 5.4.0-9-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Feb 6 17:20:45 2020
InstallationDate: Installed on 2016-11-01 (1192 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: linux-meta-5.4
UpgradeStatus: Upgraded to focal on 2020-01-20 (17 days ago)
Adam Collard (adam-collard) wrote : | #1 |
affects: | linux-meta-5.4 (Ubuntu) → linux-5.4 (Ubuntu) |
tags: | added: champagne |
Adam Collard (adam-collard) wrote : | #3 |
Partial transcription from the attached photo:
"Gave up waiting for root file system device"...
"ALERT! /dev/mapper/
Adam Collard (adam-collard) wrote : | #4 |
Same behaviour of 5.4.0-14.17
Changed in linux-5.4 (Ubuntu): | |
status: | Incomplete → New |
Seth Forshee (sforshee) wrote : | #5 |
I tried doing a fresh focal install with lvm/encrypted root and that is working fine. I'll try starting from eoan and upgrading to focal to see if that behaves differently.
Launchpad Janitor (janitor) wrote : | #6 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in linux-5.4 (Ubuntu): | |
status: | New → Confirmed |
Neil McPhail (njmcphail) wrote : | #7 |
Oddly, I've just had this on 5.4.0-14, whereas 5.4.0-12 works perfectly. Maybe something is messed up in initramfs generation?
Seth Forshee (sforshee) wrote : | #8 |
That's certainly a possibility. Can you check from the busybox shell what modules are loaded when you see the boot failure (cat /proc/modules)? Or unpack the initramfs and see what modules are included? Seems like dm-crypt would be the critical one here.
There are likely userspace components that could also be causing the issue, though I don't know what those would be.
Neil McPhail (njmcphail) wrote : | #9 |
Running cat /proc/modules gives:
i915
i2c_algo_bit
crc32_pclmul
drm_kms_helper
syscopyarea
sysfillrect
sysimgblt
fb_sys_fops
psmouse
sdhci_pci
cqhci
sdhci
lpc_ich
i2c_i801
ahci
drm
libahci
e1000e
wmi
video
(There may be a transcription error or 2 in there, so photo is at http://
Certainly no evidence of dm-crypt or similar.
Seth Forshee (sforshee) wrote : | #10 |
Interesting. If you list the contents of the initramfs in /boot (lsinitramfs /boot/initrd.
Adam Collard (adam-collard) wrote : | #11 |
$ lsinitramfs /boot/initrd.
1 $
https:/
Adam Collard (adam-collard) wrote : | #12 |
$ lsinitramfs /boot/initrd.
usr/lib/
Confirmed it is there for -9
summary: |
- Failure to boot with LVM + encrypted root disk + dm-crypt missing from initiramfs |
Ah, suspect this is actually an incident of bug 1864360, confirmed I do not have cryptsetup-
summary: |
- dm-crypt missing from initiramfs + dm-crypt missing from initramfs |
What is printed on the screen when this happens? Are you able to collect dmesg, or at least look at it for errors?
We have a newer version in -proposed with numerous updates from upstream stable, could you give that a try? We have a ppa (ppa:canonical- kernel- team/proposed) that you can use to get the -proposed kernel without enabling all of -proposed.