Bug 251033 - RPi4: Got command interrupt 0x00030000
Summary: RPi4: Got command interrupt 0x00030000
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-11 04:49 UTC by support
Modified: 2026-03-03 06:43 UTC (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description support 2020-11-11 04:49:23 UTC
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
Comment 1 lbfoo 2022-05-18 13:32:02 UTC
Got these messages too under freebsd 13.1-release on raspberry 4b.
Comment 2 Gary Mulder 2022-08-04 07:41:03 UTC
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
Comment 3 Please 2023-06-01 08:05:38 UTC
also on freebsd 13.2
Comment 4 Max Stucchi 2026-02-10 13:01:37 UTC
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.
Comment 5 Michal Meloun freebsd_committer freebsd_triage 2026-03-02 18:09:22 UTC
In what way is the SDHCI issue (suboptimal reaction to a failed command) related to any USB problem?
Comment 6 Max Stucchi 2026-03-03 06:39:00 UTC
(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.
Comment 7 Max Stucchi 2026-03-03 06:39:17 UTC
(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.
Comment 8 Michal Meloun freebsd_committer freebsd_triage 2026-03-03 06:43:05 UTC
(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.