[Bug 258718] Switching mmc_helper to device_ api causes lost of mmc at RPi (sdhci_bcm0)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 25 Sep 2021 12:12:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258718

            Bug ID: 258718
           Summary: Switching mmc_helper to device_ api causes lost of mmc
                    at RPi (sdhci_bcm0)
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rz-rpi03@h-ka.de

Created attachment 228170
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228170&action=edit
Console log from boot till root-fs prompt with lots of sdhci_bcm0 error
messages.

Hello,

a RPI3 with a CURRENT kernel newer as commit
8a8166e5bcfb50e2b7280581b600d098fa6c9fc7
lost ist ability to find the root filesystem while a lot of

  dhci_bcm0-slot0: Cannot issue a command (power=21 clock=0)
  sdhci_bcm0-slot0: Cannot issue a command (power=21 clock=0)mmc0: CMD7 failed,
  RESULT: 4

messages appear on the console.

I have attached a console log from booting the kernel till the prompt
for a root-fs.

The causing commit was found by bisecting.
As the commit message "mmc: switch mmc_helper to device_ api" and the
changed files suggests, this issue is directly related.

Ralf

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