All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manoj <manoj.iyer@canonical.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: SDHCI: Ricoh [1180:e823] unable to mount MMC cards.
Date: Wed, 30 Mar 2011 17:23:24 -0500	[thread overview]
Message-ID: <4D93AD5C.1070308@canonical.com> (raw)

The ricoh SD/MMC card reader [1180:e823] is able to read SD cards, I 
recently submitted a patch to enable this card reader 
(https://lkml.org/lkml/2011/2/11/309).

But it is not able to mount MMC cards.

When I insert an MMC card I get:
mmc0: error -110 whilst initialising MMC card

I traced it down to ETIMEDOUT coming from sdhci_cmd_irq() can someone 
give me a clue as to where I should start looking?

======= lspci -vvnn ==============
0d:00.0 System peripheral [0880]: Ricoh Co Ltd Device [1180:e823] (rev 
05) (prog-if 01)
	Subsystem: Lenovo Device [17aa:21ce]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at d1400000 (32-bit, non-prefetchable) [size=256]
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [78] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME+
	Capabilities: [80] Express (v1) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 
unlimited
			ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 
<4us, L1 <64us
			ClockPM+ Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- 
BWMgmt- ABWMgmt-
	Capabilities: [100 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
			Status:	NegoPending- InProgress-
	Capabilities: [800 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ 
MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci-pci
=======================================================

-- 
Manoj Iyer
Ubuntu/Canonical
Hardware Enablement

             reply	other threads:[~2011-03-30 22:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-30 22:23 Manoj [this message]
2011-03-30 23:04 ` SDHCI: Ricoh [1180:e823] unable to mount MMC cards Chris Ball
2011-03-30 23:32   ` Manoj
2011-03-30 23:53     ` Chris Ball
2011-03-31 14:12       ` Manoj
2011-03-31 14:43         ` Chris Ball
2011-03-31 14:41           ` Manoj
2011-03-31 15:13             ` Chris Ball
2011-03-31 16:00               ` Manoj
2011-03-31 16:31                 ` Chris Ball
2011-03-31 17:09                   ` Manoj
2011-03-31 17:26                     ` Chris Ball
2011-03-31 17:59                       ` Manoj
2011-03-31 18:33                         ` Chris Ball
2011-03-31 18:47                           ` Philip Langdale
2011-03-31 18:47                             ` Philip Langdale
2011-03-31 14:47           ` Manoj

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=4D93AD5C.1070308@canonical.com \
    --to=manoj.iyer@canonical.com \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.