[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
*** This bug is a duplicate of bug 2037015 *** https://bugs.launchpad.net/bugs/2037015 In regards to my previous comment, if it is inappropriate to post here, please direct my to the proper place. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
*** This bug is a duplicate of bug 2037015 *** https://bugs.launchpad.net/bugs/2037015 I know that this has been marked as a duplicate to bug#2037015, but I see nothing in the comments of that bug that talks about the availability of a raspberry pi installation source. I have tried the official images, but they fail. The only one I have been able to successfully install is "https://zoidberg.waveform.org.uk/images/ubuntu-24.04-preinstalled- desktop-arm64+raspi.img.xz" referred to in comment #1 above. Will there be an official installation image available for the Raspberry Pi? If so, when. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
*** This bug is a duplicate of bug 2037015 *** https://bugs.launchpad.net/bugs/2037015 My understanding is that it was determined this has the same root cause as LP: #2037015. Marking it as a duplicate. ** This bug has been marked a duplicate of bug 2037015 Screen corruption of webkit2gtk apps in X11 on Raspberry Pi, such as during install -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
I was able to reproduce the issue as well using nvme ssd adapter on Raspberry Pi 5. After flashing the given image in comment #1 , I can boot and successfully finish the installation of Ubuntu Noble using nvme ssd adapter on Raspberry Pi 5. I am observing issues on WiFi thou, it doesnt not seem relevant to this issue but I will share the logs from journalctl here: https://dpaste.com/ACQ2CYHJY ** Attachment added: "rpi5-nowifi-journalctl.txt" https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+attachment/5781002/+files/rpi5-nowifi-journalctl.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubiquity (Ubuntu Noble) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
** Also affects: ubiquity (Ubuntu Noble) Importance: Undecided Status: New ** Changed in: ubiquity (Ubuntu Noble) Milestone: None => noble-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
@vanvugt Indeed -- I'm confident that's the root cause at this point; just waiting for that to land in devel, then I can convert the bug to SRU, wait for that to land, then request an image re-spin from the release team -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
If that patch works then this crash was probably bug 2062146. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
Adding to the above: 1. @waveform - thank you so much for the new image!!! - it works! Nothing has worked for me until now, even the initial ubuntu setup from sd card (tried other options: usb stick, sd card via usb adapter, nvme), no matter how I flashed it (r-imager, balenda etcher). I always ended up with failed installation pop-up window, without even displaying the graphic glitch with the progress bar. Now I have managed successfully to set ubuntu 24.04 lts on my pi from the sd card as well as the nvme! 2. Test hardware details: - Raspberry pi 5 with 8gb ram - micro sd SanDisc Extreme V30 32GB flashed with Balena Etcher on mac - nvme Lexar NM790 1TB (Gen 4x4) flashed with pi-imager using custom image on my pi when the above got running -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
Oh, many thanks to @marius.quabeck as well -- all the confirmations are extremely helpful! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
@phrogger Brilliant, thanks for the confirmations; I've also tested a Sabrent NVMe drive here (successfully) and an ancient Intel SSD over USB (again successful). I think I'm happy to call this "good" at this point, so I'll push ahead with trying to get LP: #2037015 SRU'd back to noble, and then see if I can get the desktop image re-spun. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
I ran two additional tests with your "test image." Both booted, initialized, ran successfully. RPi5 8GB, USB SanDisk 32 GB USB 3.0, Firmware: April 20, 2024 RPi5 8GB, Pimoroni NVMe Base, AData Legend 800 SSD 1 TB, Firmware: April 20, 2024 --- Graham -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
I loaded your 'test image' onto an NVMe SSD on a RPi 5, edited the config.txt file, and it worked! [RPi5 4 GB, Pimoroni Base, Samsung 256 GB PM9B1 SSD] I had tried all kinds of things over the last week, different NVMe cards, different imagers, all unsuccessfully. 24.04 running with the noticeable extra speed of a PCIe/NVMe is sweet! The only quirk, was that, even though I selected English (US) keyboard during the initial installation dialog, I ended up on an English (UK) keyboard. This was easily fixed by going to the settings/Keyboard and editing. I would suggest you add some kind of suffix or change to the file name, since, if this is going to be the only solution to NVMe or USB operation for a while, you don't want the confusion from two different functionality files with the same name out in the 'wild'. Thanks for the fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
** Merge proposal linked: https://code.launchpad.net/~waveform/ubuntu-manual-tests/+git/ubuntu-manual-tests/+merge/465423 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
I now have a test image that, using the patch from LP: #2037015, appears to fix the installer issue when booting from USB. If volunteers are interested in testing the image, I've made it available at: https://zoidberg.waveform.org.uk/images/ubuntu-24.04-preinstalled- desktop-arm64+raspi.img.xz The SHA256 of the image, for verification purposes, is b2718d9005a5ea6486b8512b6cf3974ce48ef879d1232a6dc88b2ccaa1dc3390 I've tested booting from two SD cards on both models and both appear fine; I've also tested USB boot on the Pi 4 (which worked happily) and tomorrow I should be able to test NVMe on a Pi 5. However, given the variability displayed by this bug already, the wider the variety of hardware tested, the better. Naturally, no workarounds should be in place when testing (leave the config.txt "as is"). If things work, please report the model and memory size of your Pi (e.g. Pi 4 4GB) and what you're booting from (SD card, SSD, NVMe). make+model of the boot media would be useful too, but largely to judge if we're covering a reasonable range of hardware. If things don't work, please report the above information, plus where in the procedure the crash occurred. If possible, re-flash and try to confirm if the crash occurs in the same place each time (we've already seen cases in this bug where "sometimes it does and sometimes it doesn't"). ** Description changed: 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 ] + + A test image is now available; please see comment 1 below for details. At the time of writing, some workarounds have been found, but none that consistently work on all boards with all drives. One workaround that has worked on a Pi with a Samsung EVO SSD, and a Crucial SSD is as follows: 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. Another workaround, reported as working on a Pi 5 with an NVMe drive attached over PCIe: Before booting the image, find config.txt on the boot partition. Under the first "[all]" section append the following line: - dtparam=pciex1 + dtparam=pciex1 Unmount the drive cleanly, boot it, and run through the installer. Please note both workarounds have also been reported as failing with certain drive combinations. [ 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
Hi Dave, I'm not sure if this is of any help but I did install your image linked here and it worked perfectly. This is on a rpi 4 8GB where I previously had issues with the installer crashing while installing to sd card, no matter which of your workarounds I've tried. So... yea your image fixed my issue and I was able to successfully install 24.04! I have a few spare SD cards laying around, let me know if I can help debug anything. Thanks man! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
** Changed in: ubiquity (Ubuntu) Status: New => Triaged ** Changed in: ubiquity (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2064208] Re: Installer crashes when booting from USB on Raspberry Pi
** Description changed: 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). + At the time of writing, some workarounds have been found, but none that + consistently work on all boards with all drives. One workaround that has + worked on a Pi with a Samsung EVO SSD, and a Crucial SSD is as follows: + 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 + dtoverlay=vc4-kms-v3d + disable_fw_kms_setup=1 Should become: - dtoverlay=vc4-kms-v3d,cma-128 - disable_fw_kms_setup=1 + 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. + + Another workaround, reported as working on a Pi 5 with an NVMe drive + attached over PCIe: + + Before booting the image, find config.txt on the boot partition. Under + the first "[all]" section append the following line: + + dtparam=pciex1 + + Unmount the drive cleanly, boot it, and run through the installer. + + Please note both workarounds have also been reported as failing with + certain drive combinations. [ 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064208 Title: Installer crashes when booting from USB on Raspberry Pi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2064208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs