Andrew Lutomirski | 20 Jun 2011 20:49
Picon
Favicon

SDHCI I/O errors

I have an SDHC card that works fine in a camera and in several
different USB-based readers.  On my sdhci reader (the integrated one
on a Lenovo X220), though, it spews stuff like:

[  306.103556] mmcblk0: error -110 sending read/write command,
response 0x0, card status 0x400b00
[  306.103559] end_request: I/O error, dev mmcblk0, sector 410272
[  306.103595] mmc0: Got data interrupt 0x00600000 even though no data
operation was in progress.
[  306.103597] sdhci: =========== REGISTER DUMP (mmc0)===========
[  306.103602] sdhci: Sys addr: 0xf9253200 | Version:  0x00000502
[  306.103607] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000001
[  306.103613] sdhci: Argument: 0x000642a1 | Trn mode: 0x00000013
[  306.103618] sdhci: Present:  0x01cf0000 | Host ctl: 0x00000003
[  306.103623] sdhci: Power:    0x0000000f | Blk gap:  0x00000000
[  306.103628] sdhci: Wake-up:  0x00000000 | Clock:    0x00000107
[  306.103634] sdhci: Timeout:  0x00000009 | Int stat: 0x00000000
[  306.103639] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
[  306.103644] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[  306.103649] sdhci: Caps:     0x21e8c8b2 | Caps_1:   0x00008073
[  306.103654] sdhci: Cmd:      0x0000113a | Max curr: 0x00000040
[  306.103655] sdhci: ===========================================

all over the logs and fails some (but not all) attempts to read it.
The startup messages are:

[  830.308403] sdhci-pci 0000:0d:00.0: SDHCI controller found
[1180:e823] (rev 4)
[  830.308632] sdhci-pci 0000:0d:00.0: PCI INT A -> GSI 16 (level,
low) -> IRQ 16
(Continue reading)

Chris Ball | 20 Jun 2011 21:27
Favicon
Gravatar

Re: SDHCI I/O errors

Hi Andy,

On Mon, Jun 20 2011, Andrew Lutomirski wrote:
> I have an SDHC card that works fine in a camera and in several
> different USB-based readers.  On my sdhci reader (the integrated one
> on a Lenovo X220), though, it spews stuff like:
>
> [  306.103556] mmcblk0: error -110 sending read/write command,
> response 0x0, card status 0x400b00
> [  306.103559] end_request: I/O error, dev mmcblk0, sector 410272
> [  306.103595] mmc0: Got data interrupt 0x00600000 even though no data
> operation was in progress.
> [  306.103597] sdhci: =========== REGISTER DUMP (mmc0)===========
> [  306.103602] sdhci: Sys addr: 0xf9253200 | Version:  0x00000502
> [  306.103607] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000001
> [  306.103613] sdhci: Argument: 0x000642a1 | Trn mode: 0x00000013
> [  306.103618] sdhci: Present:  0x01cf0000 | Host ctl: 0x00000003
> [  306.103623] sdhci: Power:    0x0000000f | Blk gap:  0x00000000
> [  306.103628] sdhci: Wake-up:  0x00000000 | Clock:    0x00000107
> [  306.103634] sdhci: Timeout:  0x00000009 | Int stat: 0x00000000
> [  306.103639] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
> [  306.103644] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
> [  306.103649] sdhci: Caps:     0x21e8c8b2 | Caps_1:   0x00008073
> [  306.103654] sdhci: Cmd:      0x0000113a | Max curr: 0x00000040
> [  306.103655] sdhci: ===========================================
>
> all over the logs and fails some (but not all) attempts to read it.
> The startup messages are:
>
> [  830.308403] sdhci-pci 0000:0d:00.0: SDHCI controller found
(Continue reading)

Chris Ball | 20 Jun 2011 21:40
Favicon
Gravatar

Re: SDHCI I/O errors

Hi Andy,

On Mon, Jun 20 2011, Chris Ball wrote:
> On Mon, Jun 20 2011, Andrew Lutomirski wrote:
>> I have an SDHC card that works fine in a camera and in several
>> different USB-based readers.  On my sdhci reader (the integrated one
>> on a Lenovo X220), though, it spews stuff like:
>>
>> [  306.103556] mmcblk0: error -110 sending read/write command,
>> response 0x0, card status 0x400b00
>> [  306.103559] end_request: I/O error, dev mmcblk0, sector 410272
>> [  306.103595] mmc0: Got data interrupt 0x00600000 even though no data
>> operation was in progress.
>> [  306.103597] sdhci: =========== REGISTER DUMP (mmc0)===========
>> [  306.103602] sdhci: Sys addr: 0xf9253200 | Version:  0x00000502
>> [  306.103607] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000001
>> [  306.103613] sdhci: Argument: 0x000642a1 | Trn mode: 0x00000013
>> [  306.103618] sdhci: Present:  0x01cf0000 | Host ctl: 0x00000003
>> [  306.103623] sdhci: Power:    0x0000000f | Blk gap:  0x00000000
>> [  306.103628] sdhci: Wake-up:  0x00000000 | Clock:    0x00000107
>> [  306.103634] sdhci: Timeout:  0x00000009 | Int stat: 0x00000000
>> [  306.103639] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
>> [  306.103644] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
>> [  306.103649] sdhci: Caps:     0x21e8c8b2 | Caps_1:   0x00008073
>> [  306.103654] sdhci: Cmd:      0x0000113a | Max curr: 0x00000040
>> [  306.103655] sdhci: ===========================================
>>
>> all over the logs and fails some (but not all) attempts to read it.
>> The startup messages are:
>>
(Continue reading)

Andrew Lutomirski | 20 Jun 2011 23:25
Picon
Favicon

Re: SDHCI I/O errors

On Mon, Jun 20, 2011 at 3:40 PM, Chris Ball <cjb <at> laptop.org> wrote:
> Hi Andy,
>
> On Mon, Jun 20 2011, Chris Ball wrote:
>> On Mon, Jun 20 2011, Andrew Lutomirski wrote:
>>> I have an SDHC card that works fine in a camera and in several
>>> different USB-based readers.  On my sdhci reader (the integrated one
>>> on a Lenovo X220), though, it spews stuff like:
>>>
>>> [  306.103556] mmcblk0: error -110 sending read/write command,
>>> response 0x0, card status 0x400b00
>>> [  306.103559] end_request: I/O error, dev mmcblk0, sector 410272
>>> [  306.103595] mmc0: Got data interrupt 0x00600000 even though no data
>>> operation was in progress.
>>> [  306.103597] sdhci: =========== REGISTER DUMP (mmc0)===========
>>> [  306.103602] sdhci: Sys addr: 0xf9253200 | Version:  0x00000502
>>> [  306.103607] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000001
>>> [  306.103613] sdhci: Argument: 0x000642a1 | Trn mode: 0x00000013
>>> [  306.103618] sdhci: Present:  0x01cf0000 | Host ctl: 0x00000003
>>> [  306.103623] sdhci: Power:    0x0000000f | Blk gap:  0x00000000
>>> [  306.103628] sdhci: Wake-up:  0x00000000 | Clock:    0x00000107
>>> [  306.103634] sdhci: Timeout:  0x00000009 | Int stat: 0x00000000
>>> [  306.103639] sdhci: Int enab: 0x02ff00cb | Sig enab: 0x02ff00cb
>>> [  306.103644] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
>>> [  306.103649] sdhci: Caps:     0x21e8c8b2 | Caps_1:   0x00008073
>>> [  306.103654] sdhci: Cmd:      0x0000113a | Max curr: 0x00000040
>>> [  306.103655] sdhci: ===========================================
>>>
>>> all over the logs and fails some (but not all) attempts to read it.
>>> The startup messages are:
(Continue reading)


Gmane