[lkml]   [2012]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: mmc sdhci mmcblk0: error -110 sending status command, retrying
    On Thu, Feb 9, 2012 at 3:09 AM, Philip Rakity <> wrote:
    > Jeff,
    > I think the sdhci.c clock setting code was changed a while ago.   Maybe revert that mod and see what happens.
    > The card is a 24MHz which is rather slow so I would be surprised if that was it.
    > The other option is the force enable the High Speed bit in the  controller (used when speed is 25MHz or faster).  Will give the system more time (in theory) to work.

    That's a good point to start looking. I poked around and by setting
    host->ios.clock to 10000000 instead of 25000000, read from a 16GB card
    is no longer giving any error.

    I still don't dare to do any write. Already burn one 16GB SD and not
    ready to trash another. I asked earlier but haven't got any reply as
    to how to recover an SD that says "No medium found". Any chance of
    recovering it?

    Here's what I did. If set too low (1000000) or too high (25000000),
    random errors appeared.

    --- linux/drivers/mmc/core/ 2012-02-10 23:57:49.000000000 +0800
    +++ linux/drivers/mmc/core/core.c 2012-02-10 23:53:59.000000000 +0800
    @@ -881,7 +881,7 @@
    if (hz > host->f_max)
    hz = host->f_max;

    - host->ios.clock = hz;
    + host->ios.clock = 10000000;

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2012-02-10 17:21    [W:0.022 / U:40.448 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site