Under arm64-aarch64-RPI3-20201105 on RPi4, I am seeing the following messages in the logs: Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no active command. Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: ============== REGISTER DUMP ============== Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 Nov 5 10:06:06 generic kernel: sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
Got these messages too under freebsd 13.1-release on raspberry 4b.
Same bug: # uname -a FreeBSD generic 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n244889-fa3bd463cee: Thu Feb 18 08:00:36 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 # dmesg | grep bcm2835 bcm2835_firmware0: <BCM2835 Firmware> on simplebus0 ofw_clkbus1: <OFW clocks bus> on bcm2835_firmware0 gpio1: <Raspberry Pi Firmware GPIO controller> on bcm2835_firmware0 bcm2835_cpufreq0: <CPU Frequency Control> on cpu0 bcm2835_cpufreq0: ARM 600MHz, Core 200MHz, SDRAM 400MHz, Turbo OFF # grep -c "Got command interrupt 0x00030000" messages 24
also on freebsd 13.2
I am seeing these messages on a 15.0-RELEASE system. Effectively, on a CM4, it means that no USB port on the board (I am using a 52PI CM4 router board - https://wiki.52pi.com/index.php/EP-0146) works. I have tried tweaking config.txt in different ways, but to no change. I would be happy to provide access to the board if needed for additional debugging.
In what way is the SDHCI issue (suboptimal reaction to a failed command) related to any USB problem?
(In reply to Michal Meloun from comment #5) Hi Michal, in my case, no USB port is usable as it just does not get recognized.
(In reply to Max Stucchi from comment #7) I see, but this is truly unrelated to the above bug. The problem with the SDHCI driver cannot affect the USB in any way.