linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Franz <flash86@gmx.at>
To: linux-mmc@vger.kernel.org
Subject: Re: mmc_spi broken?
Date: Mon, 02 May 2016 11:17:27 +0200	[thread overview]
Message-ID: <1462180647.21253.4.camel@gmx.at> (raw)
In-Reply-To: <CAPDyKFoXmAbvZz61QRX1nBDXXKaXJgSEHVu8+Xa4oaN=qnw=kw@mail.gmail.com>

I have new findings regarding this issue. It seems that udev is somehow
causing this problem. If I stop udev and mount the device manually
everything works fine. In the meantime I switched to mdev instead which
works like a charm.


On Mon, 2016-05-02 at 10:47 +0200, Ulf Hansson wrote:
> On 23 April 2016 at 10:37, Franz <flash86@gmx.at> wrote:
> > I am trying to get an SD Card to work via SPI interface. I am using a
> > RaspberryPI Compute Module with kernel Version 4.4, but I can't get it
> > to work properly. I've tried it with the native spi interface as well as
> > with the spi aux interface and also with a gpio bitbang spi interface.
> > It's always the same error:
> >
> > [ 2639.558282] mmc1: new SD card on SPI
> > [ 2639.566325] mmcblk1: mmc1:0000 SD256 243 MiB
> > [ 2639.646120]  mmcblk1: p1 < >
> > [ 2639.833759] mmcblk1: error -38 sending status command, retrying
> > [ 2639.839973] mmcblk1: error -38 sending status command, retrying
> > [ 2639.846170] mmcblk1: error -38 sending status command, aborting
> > [ 2639.853406] mmc1: SPI card removed
> > [ 2640.240223] mmc1: host does not support reading read-only switch,
> > assuming write-enable
> > [ 2640.248328] mmc1: new SD card on SPI
> > [ 2640.256373] mmcblk1: mmc1:0000 SD256 243 MiB
> > [ 2640.336068]  mmcblk1: p1 < >
> > [ 2640.523545] mmcblk1: error -38 sending status command, retrying
> > [ 2640.529757] mmcblk1: error -38 sending status command, retrying
> > [ 2640.535893] mmcblk1: error -38 sending status command, aborting
> > [ 2640.543129] mmc1: SPI card removed
> > [ 2640.930176] mmc1: host does not support reading read-only switch,
> > assuming write-enable
> > [ 2640.938313] mmc1: new SD card on SPI
> > [ 2640.946679] mmcblk1: mmc1:0000 SD256 243 MiB
> > [ 2641.026395]  mmcblk1: p1 < >
> > [ 2641.213996] mmcblk1: error -38 sending status command, retrying
> > [ 2641.220208] mmcblk1: error -38 sending status command, retrying
> > [ 2641.226344] mmcblk1: error -38 sending status command, aborting
> > [ 2641.233435] mmc1: SPI card removed
> > [ 2641.620177] mmc1: host does not support reading read-only switch,
> > assuming write-enable
> > [ 2641.628277] mmc1: new SD card on SPI
> > [ 2641.636530] mmcblk1: mmc1:0000 SD256 243 MiB
> > [ 2641.716114]  mmcblk1: p1 < >
> > [ 2641.903636] mmcblk1: error -38 sending status command, retrying
> > [ 2641.909852] mmcblk1: error -38 sending status command, retrying
> > [ 2641.915987] mmcblk1: error -38 sending status command, aborting
> > [ 2641.923056] mmc1: SPI card removed
> >
> > I don't have any RO or CD pins configured, just plain SPI interface
> > directly to the SD Card. I've tried it with different SD cards with
> > differen capacities. It's always the same error. The above messages
> > appear in a endless loop.The last time I've used the mmc_spi driver was
> > kernel 3.8 I think with this version everything worked without any
> > problems.  Does anyone know how to fix this?
> 
> So it seems to be a regression. I would try a bisect and see if it can
> pin-point us to a certain commit that causes the issue.
> 
> Kind regards
> Uffe



      reply	other threads:[~2016-05-02  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-23  8:37 mmc_spi broken? Franz
2016-05-02  8:47 ` Ulf Hansson
2016-05-02  9:17   ` Franz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462180647.21253.4.camel@gmx.at \
    --to=flash86@gmx.at \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).