Hi,

On Thu, Dec 22, 2016 at 06:00:37AM +0800, Icenowy Zheng wrote:
> Hello, Maxime and Hans,
> Recently I got a board (Lichee Pi One) with two SD slots, both have its cd pin
> not connected (said to save GPIO, according to the designer).
> 
> I used "broken-cd" in its device tree file, in order to get them to work.
> However, after the system booted, the kernel insists on outputing infomation
> like the following per second:
> 
> ```
> [  409.185225] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 8, RTO !!
> [  409.195088] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
> [  409.206424] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
> [  409.213199] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
> [  409.219831] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
> [  409.226492] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 1, RTO !!
> [  410.305194] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 8, RTO !!
> [  410.315049] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
> [  410.326381] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
> [  410.333544] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
> [  410.340281] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
> [  410.346942] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 1, RTO !!
> ```
> 
> which renders the console nearly not usable.
> 
> Should this kind of message be masked when the card is configured with
> broken-cd? (As the card may be hot-swapped)

I have no idea. Other drivers seem to not even log a message when a
timeout occurs. This needs to be discussed with the maintainer on the
relevant mailing-lists.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Reply via email to