Re: SD card on Dell D420 (Ricoh R5C822)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-06-10 at 09:08 +0100, Mark Hills wrote:
> On Wed, 9 Jun 2010, Chris Ball wrote:
> 
> > Hi Mark,
> > 
> >    >   mmc0: error -84 whilst initialising SD card
> > 
> > Not sure how much this'll help, but:
> > 
> > errno -84 is defined in include/asm-generic/errno.h as EILSEQ, and
> > there are two occurences of EILSEQ in sdhci.c, one of which has a
> > printk next to it that you aren't seeing.  So, it's likely that you're
> > seeing:
> > 
> >     else if (intmask & (SDHCI_INT_CRC | SDHCI_INT_END_BIT | SDHCI_INT_INDEX))
> >         host->cmd->error = -EILSEQ;
> > 
> > So, it seems like your controller is returning a successful command
> > response, but with some sort of data error attached.  Have you tried
> > multiple SD cards, and are they known-working?
> 
> I have two SD cards -- a 2GB Crucial, and a 32MB Sandisk (actually a 
> micro-SD in an adaptor). Both cards work in a USB card reader with the 
> same kernel, and in my digital radio.
>  
> > If you're sure it's not the card, try passing debug_quirks=1 to the
> > sdhci module.  (Let me know if you're not sure how to do that.)
> 
> I've tried this with 2.6.35-rc2, and the result is the same. I also diff'd 
> the dmesg, with no relevant differences.

Could you disable the CONFIG_MMC_RICOH_MMC and try again?
This setting is only relevant to MMC cards, and I have seen some
problems with it.

Also please post lsmod, dmesg, lspci output.

Did you do a suspend/resume cycle before this test?

You can also contact me via IRC (freenode, oftc, my nick MaximLevitsky),
and I try do some debugging.

Best regards,
	Maxim Levitsky

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux