Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2024 12:51:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277884] RPi4: mmc broken with GENERIC-NODEBUG
Message-ID:  <bug-277884-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277884

            Bug ID: 277884
           Summary: RPi4: mmc broken with GENERIC-NODEBUG
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: lexi.freebsd@le-fay.org

Created attachment 249398
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249398&action=
=3Dedit
dmesg from working boot

i have two RPi4s, one 2GB and one 4GB, using SanDisk 16GB SD cards:

mmc0: <MMC/SD bus> on sdhci_bcm0
mmc1: <MMC/SD bus> on sdhci_bcm1
mmc0: No compatible cards found on bus
mmcsd0: 16GB <SDHC SC16G 8.0 SN 4D52ABA7 MFG 05/2022 by 3 SD> at mmc1
50.0MHz/4bit/65535-block

these are both running 15.0 as of 312a05c39e5fd79b37ee6f922462232797f56a2a.=
  i
tested with both the current sysutils/rpi-firmware from ports (20230405), a=
nd
the firmware from the current 15.0 binary snapshots.

when booting with GENERIC, both RPis work fine.  when booting with
GENERIC-NODEBUG, the SD card won't attach and mountroot fails.  this is
reproducible.  the problem appears to be specific to mmc, because if i put =
the
SD card into a USB card reader instead, both systems boot fine with either
kernel.

i don't have an easy way to access dmesg on a failed boot, but i did notice=
 it
printed the error "DMA error 4 on CH5", relating to the mmc controller.

full dmesg from one of the systems on a working boot is attached.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277884-227>