arm/181601: Sporadic failure of root mount on ARM/Raspberry

Luiz Otavio O Souza lists.br at gmail.com
Wed Aug 28 12:41:34 UTC 2013


On 28 August 2013 09:30, Ian Lepore <ian at freebsd.org> wrote:

[...]
 > mmcsd0: 8GB <SDHC NCard 1.0 SN 1075839384 MFG 05/2013 by 130 JT> at mmc0
50.0MHz/4bit/65535-block
 > WARNING: WITNESS option enabled, expect reduced performance.
 > WARNING: DIAGNOSTIC option enabled, expect reduced performance.
 > mmcsd0: Error indicated: 1 Timeout
 > mmcsd0: Error indicated: 1 Timeout
[...]

>
>  We have long had a problem with mysterious sdcard timeout errors on RPi
>  that doesn't happen on other hardware with sdhci controllers.  Until
>  now, it was thought that these timeouts always occurred shortly after
>  the controller was initialized by the OS.  The timeouts would affect the
>  early card-detection sequences; we worked around them by adding
>  automatic retries to the mmc code that identifies and initializes cards.
>
>  This error appears to be a timeout that occurs after the card init
>  sequences are done (the errors are reported by mmcsd0, not mmc0).
>

Yes, i've seen this as well and for me, every time it fails it thinks my SD
is HS capable while it isn't. This make it fail later.

Setting hw.bcm2835.sdhci.hs=0 on loader.conf works fine as a workaround.

Luiz


More information about the freebsd-arm mailing list