NetBSD-Bugs archive

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

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



The following reply was made to PR port-evbarm/56096; it has been noted by GNATS.

From: snow flurry <snow%datagirl.xyz@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-evbarm/56096: "sdmmc_mem_enable failed with error 60" until
 SD card is plugged in
Date: Wed, 7 Apr 2021 13:10:06 -0700

 Good to know that message is expected, if not a bit noisy.
 
 As for the eject not being handled, I did a quick test of reading from
 ld0 when ejected and got the following:
 
 [ 277.1202253] sunximmc0: host controller timeout, mint=0x00000104
 [ 277.1202253] sunximmc0: unexpected DMA receive interrupt
 [ 277.1350472] ld0c: error reading fsbn 0 (ld0 bn 0; cn 0 tn 0 sn 0), retrying
 
 This repeats a few times before the mount fails. This occurs even when
 the SD card is reinserted.
 
 On Wed, Apr 07, 2021 at 06:30:03AM +0000, Michael van Elst wrote:
 > The following reply was made to PR port-evbarm/56096; it has been noted by GNATS.
 > 
 > From: mlelstv%serpens.de@localhost (Michael van Elst)
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: 
 > Subject: Re: port-evbarm/56096: "sdmmc_mem_enable failed with error 60" until SD card is plugged in
 > Date: Wed, 7 Apr 2021 06:29:45 -0000 (UTC)
 > 
 >  snow%datagirl.xyz@localhost writes:
 >  
 >  >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
 >  
 >  The SDHC controller doesn't detect cards, the driver polls every
 >  second for a card and fails (without card).
 >  
 >  The error should probably be dropped (like in other functions)
 >  or converted to a debug message.
 >  
 >  However, the error should have reoccured when the SD card is removed
 >  again. So something is incomplete in handling the card eject.
 >  
 


Home | Main Index | Thread Index | Old Index