[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
@juergh 1) It's stated during the bootloader sequence before it loads into Ubuntu. I'll get screenshots 2) I will. The only thing I *HAD* to do after getting it to work was after an apt update and upgrade I needed to make sure to do a --reinstall of linux-modules-6.8.0-1028-raspi and linux- headers-6.8.0-1028-raspi because the system-boot partition for 25.04 was built with the 6.14 kernel and overwrites it. After I do that there's no issue on subsequent reboots. Will get that dpkg -l today. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
> stating that the cm5 is not supported by the OS. How is that communicated to the user? Can you post the output of `dpkg -l` from you modified system? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
@juergh The dailies fail after an apt update/upgrade and reboot, stating that the cm5 is not supported by the OS. I believe this has to do with the System Boot Partition. If I replace the entire partition (Partition 1) with the version from 25.04 it works fine. I think vmlinux and initrd need to be recompiled in this partition. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
I can't believe I didnt find that already! Thank you @juergh! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
Oh! That's good! For anyone who needs a way to get a preinstalled image with the updated kernel I created a script. 1. Download the latest 24.04.2 preinstalled image for arm64 raspi. 2. Create or select a folder to use for mounting the image (i.e. /mnt) Copy and run this script from a .sh file. Substitute "image_file" and "rootfs_mnt_dir" for the location of the downloaded image and location of the image file. ``` #!/bin/bash image_file=/home/ubuntu/Downloads/ubuntu-24.04.2-preinstalled-server-arm64+raspi.img rootfs_mnt_dir=/mnt/rootfs-mount apt update apt install qemu-user-static mount -o loop,offset=537919488 $image_file $rootfs_mnt_dir mount --bind /dev $rootfs_mnt_dir/dev cp /usr/bin/qemu-aarch64-static $rootfs_mnt_dir/usr/bin cp /run/systemd/resolve/stub-resolv.conf $rootfs_mnt_dir/etc/resolv.conf chroot $rootfs_mnt_dir qemu-aarch64-static /bin/bash -c 'apt update && apt install linux-raspi -y && exit' umount $rootfs_mnt_dir/dev rm $rootfs_mnt_dir/etc/resolv.conf umount $rootfs_mnt_dir ``` The script will automatically update and exit leaving you with a working 24.04.2 preinstalled image for CM5. the qemu-user-static package provides the qemu-aarch64-static binary needed to run this on an x86 based system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
> I meant arm64, which there are server ISOs for. Yes but these are generic installer images, not for raspi. For raspi there are only preinstalled images (server and desktop). Actually, I just realized that we do daily preinstalled Noble server images for raspi: https://cdimage.ubuntu.com/ubuntu-server/noble/daily-preinstalled/current/ No preinstalled desktop dailies though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
@juergh Got it. I misspoke. I meant arm64, which there are server ISOs for. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
There are no ISOs for raspi. Preinstalled images will be rebuilt for the 24.04.3 point release. https://discourse.ubuntu.com/t/noble-numbat-release-schedule/35649 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
@juergh This is a crucial component during install. Can we push for an updated ISO and preinstalled image? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
** Changed in: linux-raspi (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
This bug was fixed in the package linux-raspi - 6.8.0-1024.28 --- linux-raspi (6.8.0-1024.28) noble; urgency=medium * noble/linux-raspi: 6.8.0-1024.28 -proposed tracker (LP: #2107068) * Remove obsolete build flags in derivative kernels (LP: #2077306) - [Packaging] raspi: Remove obsolete do_source_package build flag * Packaging resync (LP: #1786013) - [Packaging] debian.raspi/dkms-versions -- update from kernel-versions (main/s2025.03.17) * mmc0 error on boot with eMMC CM5 (LP: #2089555) - DTS: bcm2712: emmc2 clock frequency is 200MHz - DTS: bcm2712: defer SDIO1 CQE selection to the board dtb - dts: bcm2712: cm5: Disable HS400 - dts: bcm2712: cm5: There is no card detect signal - dts: bcm2712: cm5: Add antenna controls - dts: bcm2712: cm5: Force the ANT pins to GPIOs - dts: bcm2712: cm5: fix typo and declare HS400es support * GPIO sysfs disabled in raspi kernel (LP: #2099685) - [Config] raspi: Set GPIO_SYSFS=y * Kernel compiled with different CONFIG_SERIAL_8250_NR_UARTS to Raspberry Pi OS (LP: #2096796) - [Config] raspi: Set SERIAL_8250_NR_UARTS=16 -- Juerg Haefliger Thu, 17 Apr 2025 13:09:26 +0200 ** Changed in: linux-raspi (Ubuntu Noble) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
Installed linux-raspi/6.8.0-1024.28 from noble-proposed and verified that a CM5 not boots successfully from eMMMc. $ uname -a Linux rpi-cm5-4gb-rev1d0-1f53 6.8.0-1024-raspi #28-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 17 12:20:20 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux $ sudo dmesg | grep -i mmc [0.955812] mmc0: CQHCI version 5.10 [0.955922] mmc1: CQHCI version 5.10 [1.150610] mmc1: SDHCI controller on 100110.mmc [100110.mmc] using ADMA 64-bit [1.368608] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit [1.432956] mmc1: cannot verify signal voltage switch [1.471367] mmc1: new ultra high speed DDR50 SDIO card at address 0001 [3.486539] mmc0: Command Queue Engine enabled [3.490981] mmc0: new HS200 MMC card at address 0001 [3.499897] mmcblk0: mmc0:0001 BJTD4R 29.1 GiB [3.508719] mmcblk0: p1 p2 [3.519268] mmcblk0: mmc0:0001 BJTD4R 29.1 GiB [3.530876] mmcblk0boot0: mmc0:0001 BJTD4R 4.00 MiB [3.540912] mmcblk0boot1: mmc0:0001 BJTD4R 4.00 MiB [3.551984] mmcblk0rpmb: mmc0:0001 BJTD4R 4.00 MiB, chardev (244:0) [4.129201] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs [4.135906] EXT4-fs (mmcblk0p2): mounted filesystem 0829cde1-7362-480c-bc2e-1768baf14ca0 ro with ordered data mode. Quota mode: none. [5.766354] EXT4-fs (mmcblk0p2): re-mounted 0829cde1-7362-480c-bc2e-1768baf14ca0 r/w. Quota mode: none. ** Tags removed: verification-needed-noble-linux-raspi ** Tags added: verification-done-noble-linux-raspi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
This bug is awaiting verification that the linux-raspi/6.8.0-1024.28 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux-raspi' to 'verification-done-noble- linux-raspi'. If the problem still exists, change the tag 'verification- needed-noble-linux-raspi' to 'verification-failed-noble-linux-raspi'. If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! ** Tags added: kernel-spammed-noble-linux-raspi-v2 verification-needed-noble-linux-raspi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
** Tags added: kernel-daily-bug -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
When will the fix be released? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
** Changed in: linux-raspi (Ubuntu Noble) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
** Description changed: + [ Impact ] + When attempting to boot the Ubuntu 24.04 image on an eMMC variant of the CM5, attached to a CM4 I/O carrier board, the boot hangs fairly early on, just presumably at the point it attempts to mount the "real" root. The following error message is repeated on the console: [ 14.648143] mmc0: mmc_select_hs400 failed, error -84 [ 14.653123] mmc0: error -84 whilst initialising MMC card This occurs with both the noble release kernel (6.8.0-1004.4), and with an image built from up to date sources using the noble-updates kernel (6.8.0-1015.17). I haven't managed to test the noble-proposed kernel (6.8.0-1016.18) yet. The issue doesn't occur with the oracular image (with kernel 6.11.0-1004.4). I'll attach the output from the serial console from as far as it got. + + [ Fix ] + + Update Pi5/CM5 DTB. + + + [ Test Case ] + + Boot CM5 from eMMC. Verify rebooting is working as well. + + + [ Where Problems Could Occur ] + + DTB fixes are Pi5/CM5 specific, so only Pi5/CM5 might exhibit problems + introduced by this fix. Other Pis shouldn't be affected by this change. ** Changed in: linux-raspi (Ubuntu Noble) Status: Triaged => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
Im also having this issue with ubuntu 24.04 (server and desktop) in rpi imager for a cm5 with a wavshare cm4-nano-c carrier board. Is there a a different OS that doesnt have this issue? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
Currently working on it. It's an Ubuntu 24.04 specific issue. 24.10 works fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
Still broken when selecting ubuntu 24.04 in rpi imager for a cm5 with emmc, same error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
Not yet, sorry. I need to get my hands on a CM5. Just ordered one. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux-raspi (Ubuntu) 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/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
+1 on this issue. Has there been any resolution so far? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2089555] Re: mmc0 error on boot with eMMC CM5
** Tags added: kern-12157 ** Also affects: linux-raspi (Ubuntu Noble) Importance: Undecided Status: New ** Changed in: linux-raspi (Ubuntu Noble) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089555 Title: mmc0 error on boot with eMMC CM5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2089555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
