Bug 258718

Summary: Switching mmc_helper to device_ api causes lost of mmc at RPi (sdhci_bcm0)
Product: Base System Reporter: rz-rpi03
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: CURRENT   
Hardware: arm64   
OS: Any   
Attachments:
Description Flags
Console log from boot till root-fs prompt with lots of sdhci_bcm0 error messages. none

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.