[Bug 2064208] [NEW] Installer crashes when booting from USB on Raspberry Pi
Dave Jones
2064208 at bugs.launchpad.net
Tue Apr 30 08:51:17 UTC 2024
Public bug reported:
After writing the Ubuntu 24.04 Desktop for Raspberry Pi image to an SSD
drive with a USB3 interface (specifically; this issue does not occur
when booting from an SD card), booting the drive on a Pi 4 or Pi 5, and
running through the installer to the point where the (corrupted) slide
deck starts to display during setup, the installer crashes.
[ Workaround ]
This is a temporary fix, confirmed on a Pi 4 (would be grateful if
others can confirm the workaround on a wider variety of hardware).
Before booting the image, find config.txt on the boot partition, and the
"dtoverlay=vc4-kms-v3d" line within it. There will be two of these
lines, you want the first one under an "[all]" section. Append
",cma-128" to the line. Specifically, the following section:
dtoverlay=vc4-kms-v3d
disable_fw_kms_setup=1
Should become:
dtoverlay=vc4-kms-v3d,cma-128
disable_fw_kms_setup=1
Unmount the drive cleanly, boot it, and run through the installer. You
may revert the change (if you wish) after successful installation.
[ Background ]
Given this crash occurs immediately upon the (corrupted) slide deck
starting, that it only occurs when booting from USB (but the exact same
image works from an SD card), and that merely changing the pre-
allocation of the contiguous memory area affects it, I suspect this at
least related to (if not a duplicate of) LP: #2037015, particularly
since a crash bug is now associated with it too, LP: #2062146.
Still, I'll leave this open as a non-duplicate for now as I'm not
positive of root-cause yet.
** Affects: ubiquity (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2064208
Title:
Installer crashes when booting from USB on Raspberry Pi
Status in ubiquity package in Ubuntu:
New
Bug description:
After writing the Ubuntu 24.04 Desktop for Raspberry Pi image to an
SSD drive with a USB3 interface (specifically; this issue does not
occur when booting from an SD card), booting the drive on a Pi 4 or Pi
5, and running through the installer to the point where the
(corrupted) slide deck starts to display during setup, the installer
crashes.
[ Workaround ]
This is a temporary fix, confirmed on a Pi 4 (would be grateful if
others can confirm the workaround on a wider variety of hardware).
Before booting the image, find config.txt on the boot partition, and
the "dtoverlay=vc4-kms-v3d" line within it. There will be two of these
lines, you want the first one under an "[all]" section. Append
",cma-128" to the line. Specifically, the following section:
dtoverlay=vc4-kms-v3d
disable_fw_kms_setup=1
Should become:
dtoverlay=vc4-kms-v3d,cma-128
disable_fw_kms_setup=1
Unmount the drive cleanly, boot it, and run through the installer. You
may revert the change (if you wish) after successful installation.
[ Background ]
Given this crash occurs immediately upon the (corrupted) slide deck
starting, that it only occurs when booting from USB (but the exact
same image works from an SD card), and that merely changing the pre-
allocation of the contiguous memory area affects it, I suspect this at
least related to (if not a duplicate of) LP: #2037015, particularly
since a crash bug is now associated with it too, LP: #2062146.
Still, I'll leave this open as a non-duplicate for now as I'm not
positive of root-cause yet.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions
More information about the foundations-bugs
mailing list