OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.61k stars 882 forks source link

[Raspberry Pi] SD card timeouts #841

Closed PascalBoeschoten closed 12 years ago

PascalBoeschoten commented 12 years ago

I'm using a Raspberry Pi with devel-20120614193607-r11315 on a 16 GB Kingston Class 4 SD card.

OpenELEC regularly locks up for 10 seconds. Usually this occurs while navigating and sometimes during playback. I tailed the message log and saw that these errors occured every time it locked up:

Jun 21 17:28:01 openelec user.err kernel: [ 1350.909342] mmc0: final write to SD card still running Jun 21 17:28:11 openelec user.err kernel: [ 1360.887503] mmc0: Timeout waiting for hardware interrupt - cmd12. Jun 21 17:28:11 openelec user.err kernel: [ 1360.887696] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900

Full log: http://sprunge.us/UCgM

It runs perfectly smooth otherwise, though!

PascalBoeschoten commented 12 years ago

Increasing init_emmc_clock from 50000000 to 80000000 in the config.txt seems to significantly reduce this issue, it now only rarely happens.

sraue commented 12 years ago

can you please report this together with your exact sdcard specs/modell/data in this thread: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=5057 please note there too we use bootc's latest 3.2 kernel. you can also put in the link from this issue report there for any needed discussion

PascalBoeschoten commented 12 years ago

Updating to devel-20120621213209-r11380 containing the newer kernel solved it. I thought I was already running the latest build, because according to the wiki this contains the latest builds: http://sources.openelec.tv/tmp/image/openelec-rpi/, but it looks like I was wrong.

sraue commented 12 years ago

thanks :-)