SD cards CRC errors

  • I have CRC errors on all of my SD, microsd cards in LE

    One of them, during boot process:

    and repeated error:

    Code
    Mar 10 09:48:04 LibreELEC kernel: [aml_sd_emmc_irq] sd: warning... data crc, vstat:0xe1ff0008, virqc:3fff
    Mar 10 09:48:04 LibreELEC kernel: [aml_sd_emmc_irq] @ cmd 18 with ffffffc0a0923170; stop 0, status 4
    Mar 10 09:48:04 LibreELEC kernel: [aml_host_bus_fsm_show] sd: err: wait for irq service, bus_fsm:0x8
    Mar 10 09:48:04 LibreELEC kernel: aml_sd_emmc_data_thread 2639 sd: cmd:18
    Mar 10 09:48:04 LibreELEC kernel: [aml_sd_emmc_data_thread] aml_sd_emmc_data_thread() 2655: set 1st retry!
    Mar 10 09:48:04 LibreELEC kernel: aml_sd_emmc_data_thread : 2586
    Mar 10 09:48:04 LibreELEC kernel: sd: req failed (CMD18): -84, retrying...

    I don't believe what all my cards have bad blocks, some of them are new one.

    Also fsck doesn't show any errors

    Are any solution available for this errors?

  • My suggestion - try H2testw on your cards - it's a thorough tester that will find out if your cards are not being truthful about their capacity. The utility will write the enire card and then check the data. In the checking it can tell if the data is coming from the right place. Could be the cards are fakes... :(

    German site here... H2testw | heise Download

    Softpedia here... H2testw Download

    Edited once, last by S80_UK: typo (March 10, 2018 at 4:13 PM).

  • The reason was in my micro-sd to usb adapter, I used it for image burning and some reconfiguration. So it doesn't work correctly with micro-sd card more than 8 Gb, after 10 Gb it works incorrectly.

    Now I did a fresh install via card reader and backup restore via SD slot and no more CRC errors.

    Thank you all for your help.

    Edited once, last by boot2k3 (March 10, 2018 at 3:27 PM).

  • I tried rufus, no changes, still the same errors.

    But if I change my card location in usb card reader, than no more crc error, but device boots slower

    And from dmesg I see internal SD card reader response timeout during boot process:

    Is it internal SD reader problem or can be driver config issue?