* Re: [PATCH] mmc: Added quirks for Ricoh 1180:e823 lower base clock frequency
[not found] ` <alpine.DEB.2.02.1107181546100.1677@lazy>
@ 2012-11-22 0:29 ` Chris Ball
2012-11-26 16:42 ` Manoj Iyer
0 siblings, 1 reply; 3+ messages in thread
From: Chris Ball @ 2012-11-22 0:29 UTC (permalink / raw)
To: Manoj Iyer
Cc: Arnd Bergmann, linux-kernel, jbarnes, matsumur, linux-pci,
linux-mmc
Hi Manoj, Matsumuro-san,
On Mon, Jul 18 2011, Manoj Iyer wrote:
> Right, without the patch I get..
>
> [ 52.526665] mmc0: new SDHC card at address e624
> [ 52.571228] mmcblk0: mmc0:e624 SD16G 14.8 GiB
> [ 52.591071] mmcblk0: retrying using single block read
> [ 52.593105] mmcblk0: error -84 transferring data, sector 0, nr 8,
> card status 0x900
> [ 52.593109] end_request: I/O error, dev mmcblk0, sector 0
> [ 52.594594] mmcblk0: error -84 transferring data, sector 1, nr 7,
> card status 0x900
> [ 52.594604] end_request: I/O error, dev mmcblk0, sector 1
> [ 52.602893] quiet_error: 24 callbacks suppressed
> [ 52.602902] Buffer I/O error on device mmcblk0, logical block 0
> [ 52.605349] ldm_validate_partition_table(): Disk read failed.
> [ 52.605384] Dev mmcblk0: unable to read RDB block 0
> [ 52.607729] mmcblk0: unable to read partition table
> u@u:~$
>
> So, I cannot generate any comparison data with this SD card.
I don't know if you remember this bug, but I have reports from two users
who see "error -84"s on :e823 controllers even with this patch active on
modern ThinkPads.
Maybe 50MHz isn't low enough sometimes? Is it possible to lower the base
clock further?
I noticed that the frequency is encoded ine one of the PCI writes:
+ * 0x32 - 50Mhz new clock frequency
So if I get access to one of these systems, I might try lowering that
value (by half, say) and see what happens. But at the moment I haven't
found someone who's willing to try kernel patches yet, and I don't have
one of these systems myself.
Thanks!
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mmc: Added quirks for Ricoh 1180:e823 lower base clock frequency
2012-11-22 0:29 ` [PATCH] mmc: Added quirks for Ricoh 1180:e823 lower base clock frequency Chris Ball
@ 2012-11-26 16:42 ` Manoj Iyer
2012-11-26 16:57 ` Chris Ball
0 siblings, 1 reply; 3+ messages in thread
From: Manoj Iyer @ 2012-11-26 16:42 UTC (permalink / raw)
To: Chris Ball
Cc: Manoj Iyer, Arnd Bergmann, linux-kernel, jbarnes, matsumur,
linux-pci, linux-mmc
Chris,
Do you know what systems produce these errors? I can look and see if we
have those for testing your patch.
Cheers
Manoj
On Wed, 21 Nov 2012, Chris Ball wrote:
> Hi Manoj, Matsumuro-san,
>
> On Mon, Jul 18 2011, Manoj Iyer wrote:
>> Right, without the patch I get..
>>
>> [ 52.526665] mmc0: new SDHC card at address e624
>> [ 52.571228] mmcblk0: mmc0:e624 SD16G 14.8 GiB
>> [ 52.591071] mmcblk0: retrying using single block read
>> [ 52.593105] mmcblk0: error -84 transferring data, sector 0, nr 8,
>> card status 0x900
>> [ 52.593109] end_request: I/O error, dev mmcblk0, sector 0
>> [ 52.594594] mmcblk0: error -84 transferring data, sector 1, nr 7,
>> card status 0x900
>> [ 52.594604] end_request: I/O error, dev mmcblk0, sector 1
>> [ 52.602893] quiet_error: 24 callbacks suppressed
>> [ 52.602902] Buffer I/O error on device mmcblk0, logical block 0
>> [ 52.605349] ldm_validate_partition_table(): Disk read failed.
>> [ 52.605384] Dev mmcblk0: unable to read RDB block 0
>> [ 52.607729] mmcblk0: unable to read partition table
>> u@u:~$
>>
>> So, I cannot generate any comparison data with this SD card.
>
> I don't know if you remember this bug, but I have reports from two users
> who see "error -84"s on :e823 controllers even with this patch active on
> modern ThinkPads.
>
> Maybe 50MHz isn't low enough sometimes? Is it possible to lower the base
> clock further?
>
> I noticed that the frequency is encoded ine one of the PCI writes:
> + * 0x32 - 50Mhz new clock frequency
>
> So if I get access to one of these systems, I might try lowering that
> value (by half, say) and see what happens. But at the moment I haven't
> found someone who's willing to try kernel patches yet, and I don't have
> one of these systems myself.
>
> Thanks!
>
> - Chris.
> --
> Chris Ball <cjb@laptop.org> <http://printf.net/>
> One Laptop Per Child
>
>
--
====================
Manoj Iyer
Ubuntu/Canonical
Hardware Enablement
====================
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mmc: Added quirks for Ricoh 1180:e823 lower base clock frequency
2012-11-26 16:42 ` Manoj Iyer
@ 2012-11-26 16:57 ` Chris Ball
0 siblings, 0 replies; 3+ messages in thread
From: Chris Ball @ 2012-11-26 16:57 UTC (permalink / raw)
To: Manoj Iyer
Cc: Arnd Bergmann, linux-kernel, jbarnes, matsumur, linux-pci,
linux-mmc
Hi Manoj,
On Mon, Nov 26 2012, Manoj Iyer wrote:
> Do you know what systems produce these errors? I can look and see if
> we have those for testing your patch.
One T430s using the ExpressCard reader¹, and one X220, both with :e823.
Thanks,
- Chris.
¹: http://support.lenovo.com/en_US/product-and-parts/detail.page?&DocID=PD023556
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-26 16:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1310419715-13254-1-git-send-email-manoj.iyer@canonical.com>
[not found] ` <m2sjqa2q93.fsf@bob.laptop.org>
[not found] ` <alpine.DEB.2.02.1107131031360.3174@lazy>
[not found] ` <201107131835.25217.arnd@arndb.de>
[not found] ` <alpine.DEB.2.02.1107131144250.3174@lazy>
[not found] ` <m21uxu2k96.fsf@bob.laptop.org>
[not found] ` <alpine.DEB.2.02.1107131157440.3174@lazy>
[not found] ` <m2wrfm1537.fsf@bob.laptop.org>
[not found] ` <alpine.DEB.2.02.1107181535250.1677@lazy>
[not found] ` <m2zkkbb9vn.fsf@bob.laptop.org>
[not found] ` <alpine.DEB.2.02.1107181546100.1677@lazy>
2012-11-22 0:29 ` [PATCH] mmc: Added quirks for Ricoh 1180:e823 lower base clock frequency Chris Ball
2012-11-26 16:42 ` Manoj Iyer
2012-11-26 16:57 ` Chris Ball
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox