Juan Carlos Garza Fernandez | 18 Jun 2012 16:45
Picon

Write Timeout is too long.

Hi,

On the past, the write timeout was increased from 300 ms to 3 seconds
(see commit 3bdc9ba892d6a294d16e9e6e0c4041926aa3d58c from Paul
Walmsley)  as some cards had issues with that limit, which is correct
as the issue can be reproduced by me. Increasing that timeout solves
the problem, however increasing the timeout to 3 seconds is a bit too
much and  following error message occurs in the kernel log:

 mmc1: Too large timeout requested for CMD25!

Empirically using 2 seconds for the 3.4.x kernel works fine. On a
2.6.24 kernel, the timeout was reduced to 1.5 s to avoid the message.

Can someone tell me on what basis was the timeout set to 3s? Was it
also empirically deduced?

Would it make sense to reduce the timeout?

Regards,
--

-- 
________________________________
Juan Carlos Garza
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Chris Ball | 20 Jun 2012 08:37
Favicon
Gravatar

Re: Write Timeout is too long.

Hi,

On Mon, Jun 18 2012, Juan Carlos Garza Fernandez wrote:
> Hi,
>
> On the past, the write timeout was increased from 300 ms to 3 seconds
> (see commit 3bdc9ba892d6a294d16e9e6e0c4041926aa3d58c from Paul
> Walmsley)  as some cards had issues with that limit, which is correct
> as the issue can be reproduced by me. Increasing that timeout solves
> the problem, however increasing the timeout to 3 seconds is a bit too
> much and  following error message occurs in the kernel log:
>
>  mmc1: Too large timeout requested for CMD25!

This is now fixed in mainline:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=09eeff52bf20d485bcafc441f01c142c59c3da16

by just silencing the warning.

Thanks,

- Chris.
--

-- 
Chris Ball   <cjb <at> laptop.org>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
(Continue reading)


Gmane