NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-evbarm/56096: "sdmmc_mem_enable failed with error 60" until SD card is plugged in



>Number:         56096
>Category:       port-evbarm
>Synopsis:       "sdmmc_mem_enable failed with error 60" until SD card is plugged in
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 07 04:50:01 +0000 2021
>Originator:     snow flurry
>Release:        NetBSD-current
>Organization:
>Environment:
NetBSD fairy01 9.99.81 NetBSD 9.99.81 (GENERIC64) #0: Sat Apr  3 07:38:11 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
>Description:
Using a SOPINE module in a Clusterboard booting from eMMC and with no SD card inserted, the following line is printed to the dmesg buffer every second:

sdmmc0: sdmmc_mem_enable failed with error 60

sdmmc0 seems to be referring to the controller associated with the SD card slot. The eMMC module (attached to sdmmc1) works as expected.

Once an SD card is inserted, even when the system is running, the SD card attaches to ld* normally and the error stops printing. sdmmc0 appears to stay quiet even after the SD card is removed.

With a kernel built with SDMMC_DEBUG and DEBUG options enabled, I get the following messages:

sdmmc0: sdmmc_mem_send_op_cond: ocr=0
sdmmc0: sdmmc_mem_send_op_cond: error=60, ocr=0
sdmmc0: switch to MMC mode
sdmmc0: sdmmc_mem_send_op_cond: ocr=0
sdmmc0: sdmmc_mem_send_op_cond: error=60, ocr=0
sdmmc0: couldn't read memory OCR
sdmmc0: sdmmc_mem_enable failed with error 60
>How-To-Repeat:
Using a SOPINE module in slot 1 of Clusterboard, boot NetBSD from eMMC, with SD card slot empty at boot
>Fix:



Home | Main Index | Thread Index | Old Index