partition detection breaks after upgrade to 22.04

Bug #1992371 reported by Daniel Golle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dmraid (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

After upgrade to 22.04 the partitions on the fakeraid (Intel Storage Matrix) device mapper node are no longer detected by the initramfs. This results in the system hanging waiting for the LUKS encrypted device is a partition on the fakeraid array, containing LVM2 volumes for rootfs and swap/hibernate.

When being dropped into (initramfs) busybox I can get the system to boot by running:

kpartx -a /dev/mapper/${longnameoffakeraidvolume}
cryptsetup luksOpen /dev/mapper/${longnameoffakeraidvolume}3
lvm pvs
lvm vgs
lvm lvs
lvm lvchange -a y ubuntuvg
exit

Ironically the system then asks me again to enter the password even though the volume has already been unlocked.

I suppose that a call to 'kpartx' is missing somewhere in the script-hooks for the initramfs.

The problem is also being discussed here:
https://unix.stackexchange.com/questions/709184/fakeraid-partition-missing-not-mapped-as-a-device-on-boot-after-upgrade-to-ubu

Revision history for this message
William Wilson (jawn-smith) wrote :

Are you able to get logs from the failed boot with journalctl? If so can you add them to this bug?

Changed in dmraid (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel Golle (dangowrt) wrote :

Unfortunately `jounrnalctl` is not available yet early in (initramfs) busybox.
Or do you mean log output once the system has fully booted after manually running `kpartx`, `cryptsetup` and `lvm` in (initramfs)?

Graham Inggs (ginggs)
tags: added: foundations-triage-discuss
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for dmraid (Ubuntu) because there has been no activity for 60 days.]

Changed in dmraid (Ubuntu):
status: Incomplete → Expired
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.