Bug 1179437

Summary: Error messages on Raspberry Pi 4 with no SD card
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ang <dillon.ang.h>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: nsaenzjulienne, tiwai
Version: Current   
Target Milestone: ---   
Hardware: aarch64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ang 2020-11-30 21:13:47 UTC
I am currently running Tumbleweed aarch64 20201119 on a Raspberry Pi 4 off a USB flash drive with no SD card installed.
Tumbleweed was installed using the ISO written to a USB 3.0 flash drive. The system is running the latest stable EEPROM firmware (updated using Raspberry Pi OS 64-bit).

The system was booted directly off the Tumbleweed installation ISO on the USB 3.0 flash drive with no SD card installed. It was then installed on another USB 3.0 flash drive installed in the lower USB 3.0 port with the following software selection: XFCE Desktop. After the system was installed, it booted straight off the USB 3.0 flash drive (no need to use gdisk as with the Raspberry Pi 3).

When using the system, I constantly get the following messages from dmesg when no SD card is installed (3 different commands, 0x00000502, 0x0000371a, and 0x0000341a)

[  207.194572] mmc1: Timeout waiting for hardware cmd interrupt.
[  207.194592] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[  207.194603] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00001002
[  207.194611] mmc1: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000000
[  207.194619] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000000
[  207.194627] mmc1: sdhci: Present:   0x1fff0001 | Host ctl: 0x00000001
[  207.194634] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[  207.194642] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x0000f447
[  207.194649] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[  207.194656] mmc1: sdhci: Int enab:  0x00ff1003 | Sig enab: 0x00ff1003
[  207.194663] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[  207.194670] mmc1: sdhci: Caps:      0x45ee6432 | Caps_1:   0x0000a525
[  207.194677] mmc1: sdhci: Cmd:       0x00000502 | Max curr: 0x00080008
[  207.194683] mmc1: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
[  207.194690] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  207.194696] mmc1: sdhci: Host ctl2: 0x00000000
[  207.194703] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[  207.194708] mmc1: sdhci: ============================================

[  235.364927] mmc1: Timeout waiting for hardware cmd interrupt.
[  235.364947] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[  235.364958] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00001002
[  235.364966] mmc1: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000000
[  235.364974] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000000
[  235.364982] mmc1: sdhci: Present:   0x1fff0001 | Host ctl: 0x00000001
[  235.364989] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[  235.364997] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x0000f447
[  235.365004] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[  235.365011] mmc1: sdhci: Int enab:  0x00ff1003 | Sig enab: 0x00ff1003
[  235.365018] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[  235.365025] mmc1: sdhci: Caps:      0x45ee6432 | Caps_1:   0x0000a525
[  235.365032] mmc1: sdhci: Cmd:       0x0000371a | Max curr: 0x00080008
[  235.365039] mmc1: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
[  235.365045] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  235.365051] mmc1: sdhci: Host ctl2: 0x00000000
[  235.365058] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[  235.365064] mmc1: sdhci: ============================================

[  383.839362] mmc1: Timeout waiting for hardware cmd interrupt.
[  383.839388] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[  383.839402] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00001002
[  383.839412] mmc1: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000000
[  383.839421] mmc1: sdhci: Argument:  0x80000c08 | Trn mode: 0x00000000
[  383.839430] mmc1: sdhci: Present:   0x1fff0001 | Host ctl: 0x00000001
[  383.839438] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
[  383.839446] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x0000f447
[  383.839453] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
[  383.839461] mmc1: sdhci: Int enab:  0x00ff1003 | Sig enab: 0x00ff1003
[  383.839469] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[  383.839478] mmc1: sdhci: Caps:      0x45ee6432 | Caps_1:   0x0000a525
[  383.839485] mmc1: sdhci: Cmd:       0x0000341a | Max curr: 0x00080008
[  383.839492] mmc1: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
[  383.839499] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  383.839505] mmc1: sdhci: Host ctl2: 0x00000000
[  383.839512] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[  383.839519] mmc1: sdhci: ============================================

Even with these messages, the system works as would be expected.
Comment 1 Nicolas Patricio Saenz Julienne 2020-12-01 10:37:47 UTC
This is being worked on at the moment, a temporary solution is to add `dtparam=sd_poll_once` to /boot/efi/config.txt.

*** This bug has been marked as a duplicate of bug 1176576 ***