mmc / SD card problems

This is the place for software discussions not having a dedicated subforum

mmc / SD card problems

Postby Lokutos » Sun Jan 04, 2015 4:58 pm

Hello!

I have a Wandboard Quad running with a manually bootstrapped Debian Wheezy and a manually built 3.17.4 kernel (from https://github.com/RobertCNelson/armv7- ... atform.git). I just upgraded to that 3.17.4 kernel. Before I was running 3.17.0 from the same git repo. The system has never been stable for me. It froze randomly and I finally got around to investigate a bit more. The system seems to crash on heavy I/O load (e.g. when doing apt-get update/upgrade). I tested with stress -c 4 -i 4 -d 4 --hdd-bytes 104857600 and got it to become unresponsive after about 1 hour. This time I had a serial cable connected and was able to get these messages on the console:
Code: Select all
[ 6713.661600] mmcblk0: error -110 sending stop command, original cmd response 0x0, card status 0x400e00
[ 6713.670861] mmcblk0: error -110 transferring data, sector 11753624, nr 56, cmd response 0x0, card status 0x0
[ 6713.680710] mmcblk0: retrying using single block read
[ 6713.697286] mmcblk0: timed out sending r/w cmd command, card status 0x400e00
[ 6713.707309] mmcblk0: timed out sending r/w cmd command, card status 0x400e00
[ 6713.717256] mmcblk0: timed out sending r/w cmd command, card status 0x400e00
[ 6713.724397] mmcblk0: timed out sending r/w cmd command, card status 0x400e00
[ 6713.737271] mmcblk0: timed out sending r/w cmd command, card status 0x400e00
[ 6713.747287] mmcblk0: timed out sending r/w cmd command, card status 0x400e00
[ 6713.754344] end_request: I/O error, dev mmcblk0, sector 11753624
[ 6713.760382] end_request: I/O error, dev mmcblk0, sector 11753632
[ 6713.766393] end_request: I/O error, dev mmcblk0, sector 11753640
[ 6713.772412] end_request: I/O error, dev mmcblk0, sector 11753648
[ 6713.778430] end_request: I/O error, dev mmcblk0, sector 11753656
[ 6713.784438] end_request: I/O error, dev mmcblk0, sector 11753664
[ 6713.790458] end_request: I/O error, dev mmcblk0, sector 11753672
[ 6723.836864] mmc2: Timeout waiting for hardware interrupt.

Above is retried over and over. The card controller never recovers. I have since tried three different microSD cards (one Samsung Pro, one Samsung EVO, one Sandisk), all with the same result. The cards themselves are OK (I can read all data on a different host etc.).
Because of this I updated the kernel from 3.17.0 to 3.17.4 with the same result. Has anyone else experienced this? Could this be a hardware issue?
I am currently running a test with the rootfs on mmc0 (the second card slot).
Lokutos
 
Posts: 2
Joined: Sun Jan 04, 2015 4:42 pm

Re: mmc / SD card problems

Postby Tapani » Tue Jan 06, 2015 3:58 am

I do not believe SD card slot has a hardware issue.

My first guess that your SD card has some slight issues.

To rule out hardware problems, get another SD card, make some of our demo images, and see if your SD card problems persist.
Tapani
 
Posts: 712
Joined: Tue Aug 27, 2013 8:32 am

Re: mmc / SD card problems

Postby JayminD » Tue Jan 06, 2015 6:27 am

Hi Lokutos,

Yes its not a hardware related issue as first thought,

I don't know which file system you used for your SD card,
but for suggestion, first of all complete format your SD with ext4 file system by creating new partition table and then make new one with ext4 FS.
May be this issue came due to ext2 file system, I am not sure about it. :?

I had also face same issue, after created ext4 FS on SD card problem gone :|

May this will help you

Regards

Jaymin D
JayminD
 
Posts: 56
Joined: Thu Jun 12, 2014 5:46 am
Location: INDIA

Re: mmc / SD card problems

Postby Lokutos » Tue Jan 06, 2015 11:51 pm

Thanks for the responses. I *am* already using ext4. And as I wrote I already tried three different cards (all three even different models). How would trying *another* card give any insight?
The problem persists with all three cards. As I wrote I'm currently testing with the rootfs on the second sd slot. So far the system has been stable. I stressed it a lot with stress and wasn't able to reproduce the problem. This is using the exact same SD card (and same rootfs, same kernel etc.) as before. I only created a second sd with uboot and kernel to boot from, then mount rootfs from the other slot / old card. Since the IP used in the SoC is most probably the same for all three sd interfaces and the driver is of course the same, this is really strange. It may still not be a true hardware issue as it could be a temperature related issue (the SD cards may stop responding or become slow / throttle due to excessive heat) since the primary slot sits under the heat sink. All my card are pretty speedy ones (UHS capable etc.). I may try an older / slower one and see how that goes.
Lokutos
 
Posts: 2
Joined: Sun Jan 04, 2015 4:42 pm

Re: mmc / SD card problems

Postby jason » Wed Jan 07, 2015 6:52 pm

I made an image with kernel 3.10

So far for 20 hours system is stable except for the WiFi: http://forums.wandboard.org/viewtopic.php?f=3&t=805

Give it a shot, its very small, can burn on a SD card directly and check if it works. I've compiled all the drivers. If it works, you can copy the kernel config from /proc/config.gz and build your 3.17 kernel from it.
jason
 
Posts: 43
Joined: Sun Jan 04, 2015 5:22 am

Re: mmc / SD card problems

Postby siruqumi » Wed Jun 20, 2018 6:36 am

The micro and we can call it the nano chip that to insert in the mobile for expand the memory of mobile is the SD card. I have three cards which to transfers the term paper writing service reviews folders for the printing and then to go shop where all printers are color.
siruqumi
 
Posts: 1
Joined: Wed Jun 20, 2018 6:36 am

Re: mmc / SD card problems

Postby Abbiealaric » Wed Jul 18, 2018 10:49 am

I had an open talking course where we went up to the front of the room and hauled a theme out of a sack. We had 1 moment to assemble our considerations at that point needed to represent 5 minutes on the subject Essay Help. Im genuinely certain I could compose 500 words on damn close to any subject (that I'm learned of or is outstanding and so on) in under 10 minutes and get a C.
Abbiealaric
 
Posts: 1
Joined: Wed Jul 18, 2018 10:48 am


Return to Software - General

Who is online

Users browsing this forum: No registered users and 8 guests

cron