Bug 258718 - Switching mmc_helper to device_ api causes lost of mmc at RPi (sdhci_bcm0)
Summary: Switching mmc_helper to device_ api causes lost of mmc at RPi (sdhci_bcm0)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: arm64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-25 12:12 UTC by rz-rpi03
Modified: 2021-09-30 03:20 UTC (History)
0 users

See Also:


Attachments
Console log from boot till root-fs prompt with lots of sdhci_bcm0 error messages. (67.90 KB, text/plain)
2021-09-25 12:12 UTC, rz-rpi03
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rz-rpi03 2021-09-25 12:12:41 UTC
Created attachment 228170 [details]
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
Comment 1 rz-rpi03 2021-09-30 03:20:47 UTC
(In reply to rz-rpi03 from comment #0)
Fixed by commit 4a331971d2f1083f35b87197da0614fa3e0e53cb.