From: Maxim Levitsky <maximlevitsky@gmail.com>
To: Mark Hills <mark@pogo.org.uk>
Cc: Chris Ball <cjb@laptop.org>, linux-mmc@vger.kernel.org
Subject: Anyone else seen this wierd sdhci problem?
Date: Fri, 18 Jun 2010 16:24:13 +0300 [thread overview]
Message-ID: <1276867453.22527.14.camel@maxim-laptop> (raw)
In-Reply-To: <alpine.NEB.2.01.1006102345450.23786@jrf.vwaro.pbz>
We did some testing on this controller.
I came now to conclusion that I can't fix this problem for now.
Therefore I am posting here the results, in hope somebody else could
spot something interesting.
We are talking about Ricoh R5C822 controller, but not the one that is
part of R5C832 (firewire) multifunction chip, but rather, the one that
is part of R5C552 (firewire), RL5c476 II(cardbus).
The problem is that SD/SDHCI card just don't work.
This wasn't yet tested in windows, although I recommend doing so because
it might be just a hardware malfunction.
Also, it was found that enabling internal modem in bios makes this
problem show up a bit late that usual.
First card seem to work just fine, but after a while, it stops
responding completely:
mmc0: starting CMD17 arg 00000000 flags 000000b5
mmc0: blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00408020
mmc0: req done (CMD17): 0: 00000900 00000000 00000000 00000000
mmc0: 0 bytes transferred: -84
mmc0: starting CMD13 arg b3680000 flags 00000195
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
mmc0: req done (CMD13): 0: 00000900 00000000 00000000 00000000
mmcblk0: error -84 transferring data, sector 0, nr 32, card status 0x900
end_request: I/O error, dev mmcblk0, sector 0
mmc0: starting CMD17 arg 00000200 flags 000000b5
mmc0: blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00408020
mmc0: req done (CMD17): 0: 00000900 00000000 00000000 00000000
mmc0: 0 bytes transferred: -84
I tested a patch that removes all but sd/sdhci support from mmc, and
card seem to 'last longer', that is block core is able to read partition
table.
Also we disabled DMA, high-speed mode, tried lowering initial clock, and
no effect was observed.
@Mark Hills, now I understand the test we did by skipping the read of
sector #0 was a red herring.
That is pretty much all.
Anybody else have seen it?
Best regards,
Maxim Levitsky
prev parent reply other threads:[~2010-06-18 13:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-09 23:52 SD card on Dell D420 (Ricoh R5C822) Mark Hills
2010-06-10 0:36 ` Chris Ball
2010-06-10 8:08 ` Mark Hills
2010-06-10 9:39 ` Maxim Levitsky
2010-06-10 21:54 ` Mark Hills
2010-06-10 22:16 ` Maxim Levitsky
2010-06-10 22:54 ` Mark Hills
2010-06-18 13:24 ` Maxim Levitsky [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=1276867453.22527.14.camel@maxim-laptop \
--to=maximlevitsky@gmail.com \
--cc=cjb@laptop.org \
--cc=linux-mmc@vger.kernel.org \
--cc=mark@pogo.org.uk \
/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