p4trykx
Posts: 127
Joined: Wed Jan 11, 2012 2:55 pm

SD card end of life?

Sun Oct 21, 2012 10:23 pm

Hello
I keep seeing this messages from kernel

Code: Select all

[    4.707542] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100k)
[    4.898034] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100k)
[    8.664510] mmcblk0: error -110 transferring data, sector 15277816, nr 8, cmd response 0x900, card status 0x200b00
[    8.681209] mmcblk0: retrying using single block read
[   11.376161] mmcblk0: error -110 transferring data, sector 15277816, nr 8, cmd response 0x900, card status 0x200b00
[   11.393135] end_request: I/O error, dev mmcblk0, sector 15277816
[   14.089132] mmcblk0: error -110 transferring data, sector 15277817, nr 7, cmd response 0x900, card status 0x200b00
[   14.106436] end_request: I/O error, dev mmcblk0, sector 15277817
[   16.802785] mmcblk0: error -110 transferring data, sector 15277818, nr 6, cmd response 0x900, card status 0x200b00
[   16.821289] end_request: I/O error, dev mmcblk0, sector 15277818
[   19.517612] mmcblk0: error -110 transferring data, sector 15277819, nr 5, cmd response 0x900, card status 0x200b00
[   19.535258] end_request: I/O error, dev mmcblk0, sector 15277819
[   22.231613] mmcblk0: error -110 transferring data, sector 15277820, nr 4, cmd response 0x900, card status 0x200b00
[   22.249274] end_request: I/O error, dev mmcblk0, sector 15277820
[   24.945598] mmcblk0: error -110 transferring data, sector 15277821, nr 3, cmd response 0x900, card status 0x200b00
[   24.963489] end_request: I/O error, dev mmcblk0, sector 15277821
[   27.659994] mmcblk0: error -110 transferring data, sector 15277822, nr 2, cmd response 0x900, card status 0x200b00
[   27.677838] end_request: I/O error, dev mmcblk0, sector 15277822
[   30.374316] mmcblk0: error -110 transferring data, sector 15277823, nr 1, cmd response 0x900, card status 0x200b00
[   30.392102] end_request: I/O error, dev mmcblk0, sector 15277823
[   30.401864] Buffer I/O error on device mmcblk0p2, logical block 1894367
[   33.101094] mmcblk0: error -110 transferring data, sector 15277816, nr 8, cmd response 0x900, card status 0x200b00
[   33.118848] mmcblk0: retrying using single block read
[   35.814356] mmcblk0: error -110 transferring data, sector 15277816, nr 8, cmd response 0x900, card status 0x200b00
[   35.832131] end_request: I/O error, dev mmcblk0, sector 15277816
[   38.528579] mmcblk0: error -110 transferring data, sector 15277817, nr 7, cmd response 0x900, card status 0x200b00
[   38.546324] end_request: I/O error, dev mmcblk0, sector 15277817
[   41.242753] mmcblk0: error -110 transferring data, sector 15277818, nr 6, cmd response 0x900, card status 0x200b00
[   41.260453] end_request: I/O error, dev mmcblk0, sector 15277818
[   43.956844] mmcblk0: error -110 transferring data, sector 15277819, nr 5, cmd response 0x900, card status 0x200b00
[   43.974584] end_request: I/O error, dev mmcblk0, sector 15277819
[   46.670993] mmcblk0: error -110 transferring data, sector 15277820, nr 4, cmd response 0x900, card status 0x200b00
[   46.688734] end_request: I/O error, dev mmcblk0, sector 15277820
[   49.386170] mmcblk0: error -110 transferring data, sector 15277821, nr 3, cmd response 0x900, card status 0x200b00
[   49.403919] end_request: I/O error, dev mmcblk0, sector 15277821
[   52.101469] mmcblk0: error -110 transferring data, sector 15277822, nr 2, cmd response 0x900, card status 0x200b00
[   52.119180] end_request: I/O error, dev mmcblk0, sector 15277822
[   54.815592] mmcblk0: error -110 transferring data, sector 15277823, nr 1, cmd response 0x900, card status 0x200b00
[   54.833356] end_request: I/O error, dev mmcblk0, sector 15277823
[   54.843109] Buffer I/O error on device mmcblk0p2, logical block 1894367
[   66.260780] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   66.680535] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   67.468376] bcm2835 ALSA card created!
Fist I thought that system got corrupted. I got some unexpected power downs. So I formated the card and run badblocks -w on my laptop but it finished with success.
Unfortunately those messages speared again. Also when I plug the card into my laptop I get similar ones.

What could it be? Is my card broken? It's fairly new 8 GB Kingston class 4 card. I didn't use it that much.
Is there some way to test for 'badblocks'. I'm not sure if badblocks actually makes sense for SD card.

steve_ancell
Posts: 62
Joined: Mon Jun 18, 2012 11:41 pm
Location: Brighton, East Sussex UK.

Re: SD card end of life?

Sun Oct 21, 2012 10:33 pm

I think the only way to be sure would be to borrow another SD card from someone to confirm your current one is stuffed.

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: SD card end of life?

Sun Oct 21, 2012 10:39 pm

Use the "error scan" and "benchmark" with http://hdtune.com/ (make sure card reader is active before running HD Tune).

Image

Is your PI overclocked??

Richard S.

p4trykx
Posts: 127
Joined: Wed Jan 11, 2012 2:55 pm

Re: SD card end of life?

Wed Oct 24, 2012 11:21 am

No my Raspi is not overclocked. I tried this card in another Raspi and I get the same errors. HDtune can only test the small fat32 partition. When I fresh format the card it's ok for a while.

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: SD card end of life?

Wed Oct 24, 2012 12:21 pm

HD Tune doesn't benchmark test file read / write performance it performs raw sector reads only therefore it's irrelevant what partitions or file systems is stored on the drive.
If there's a area of the Flash going bad then a drop is performance will show up in HD Tune, if sectors are unreadable then the "error scan" would also show this too.

Richard S.

p4trykx
Posts: 127
Joined: Wed Jan 11, 2012 2:55 pm

Re: SD card end of life?

Wed Oct 24, 2012 3:26 pm

Now I see that HD Tune does not see my card reader correctly there is only "8MB" in combobox and my hard drive. Maybe it's because it's a card reader integrated in my laptop(Latitude e6500). On the other hand Win32 Disk Image does not complain and writes images.

thsBavR10
Posts: 233
Joined: Sat Jul 21, 2012 3:11 pm

Re: SD card end of life?

Wed Oct 24, 2012 3:34 pm

Maybe your integrated card reader in your notebook isn't supporting SDHC cards, like yours.
Older readers can only read (and write) the older sd cards, limited to 2 GB.
Do you have an external card reader, or can buy one?

p4trykx
Posts: 127
Joined: Wed Jan 11, 2012 2:55 pm

Re: SD card end of life?

Wed Oct 24, 2012 7:53 pm

No. It supports SDHC otherwise I wouldn't be able to write a working image. I will try to test it on some other reader.

tata
Posts: 1
Joined: Mon Oct 29, 2012 10:15 pm

Re: SD card end of life?

Mon Oct 29, 2012 10:23 pm

Hi there,

I have exactly the same problem. Do you find any solution? What kind of SD card do you have? Mine is a Kingston.

Regards,

Andras

p4trykx
Posts: 127
Joined: Wed Jan 11, 2012 2:55 pm

Re: SD card end of life?

Wed Oct 31, 2012 12:55 am

I returned it to the shop. In two weeks I'll know their response if it's broken or not. I know those card have limited writes but it was running Pi maybe for one full month.

Try to use HD Tune. In my case there is a problem with my card reader which does not work with it. Maybe yours will show something.

Stephen99
Posts: 12
Joined: Fri Oct 05, 2012 6:18 pm

Re: SD card end of life?

Thu Nov 08, 2012 8:19 am

Just to add to the stats.

I have the same problem. Also have a Kingston class 4 SD card. (8GB)

sdjf
Posts: 1397
Joined: Fri Mar 16, 2012 5:20 am
Location: California

Re: SD card end of life?

Thu Nov 08, 2012 5:14 pm

I do not understand why people are not testing their SD cards with fsck and fdisk. badblocks has never shown anything bad on the many SD cards I have whose file systems have gotten corrupted.

The following is a troubleshooting guide I wrote for SD card problems, written for users of the Zaurus PDA, but the same concepts and basic linux commands are ones I will use when I finally get my Pi:

http://sdjf.esmartdesign.com/cards.html
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

p4trykx
Posts: 127
Joined: Wed Jan 11, 2012 2:55 pm

Re: SD card end of life?

Wed Nov 21, 2012 5:24 pm

I happy to inform that I finally got my Kingston SD card replaced by new one.

p4trykx
Posts: 127
Joined: Wed Jan 11, 2012 2:55 pm

Re: SD card end of life?

Sat Feb 23, 2013 11:52 pm

I have a SD Card problem again. This time it's with Kingston 8 GB class4. It died suddenly(cant even format) I wonder if maybe Raspi is killing them ;-) But I don't do any extensive writes I used it locationally with Xbian.
Maybe it's just bad luck. I have another Toshiba class 10 card and this one works fine.

Did someone had a Kingston card failure? Maybe my local shop sells some fake ones and that's why they are failing?

Mobius
Posts: 238
Joined: Thu Aug 30, 2012 1:07 am
Location: San Angelo, Texas USA

Re: SD card end of life?

Sun Feb 24, 2013 12:45 am

Sometimes the cards get corrupted. SOmetimes you can just re-image them but sometimes that doesn't work right either. If you have one that keeps giving errors, I suggest that you use a partition management program to turn the whole card into a single FAT32 partiton and then format it before trying to re-image. I use the free EaseUS Partition Master program but others are available. there are also any number of free flash card testing utilities out there like Check Flash.

stupid_boy
Posts: 64
Joined: Tue Jan 01, 2013 7:53 pm

Re: SD card end of life?

Sun Feb 24, 2013 8:52 am

H2Tune is very good indicator for SD card condition. if you see some regions with repetitive slowdowns, this clearly advertises your card is beginning wearing. to use it, your card must be at least recognizable by windows. currently my card have regions with 100 bytes per second and these regions are unusable/unreliable. in my case these regions are not simply 'bad sectors', they are a 'black holes'.
sd cards usually do not advertise bad sectors in generic way. that is why fdisk, chkdsk and similar can't test them. one advertisement is transfer slowdown and if things get even worse, sd card will report smaller size.

when your card become unrecognizable from windows for example, this usually is because its MBR is broken. in such cases only working solution i found is GParted live. for sure there are other similar tools, for me i found this and it is enough for now. GParted clearly detects missed/broken MBR, can write new one and can assist in further repartition. when you get this way, all data on your card is lost, but your card can be bring back to life.

sadly, both things happens and no one is insured.

p4trykx
Posts: 127
Joined: Wed Jan 11, 2012 2:55 pm

Re: SD card end of life?

Sun Feb 24, 2013 12:08 pm

I can't even get gparted to clear the partitions when I plug the card I get a lot of kernel errors and no /dev/mmcblk. Kingston claims it ha a lifetime warranty for SD cards so I should get a new one.

stupid_boy
Posts: 64
Joined: Tue Jan 01, 2013 7:53 pm

Re: SD card end of life?

Sun Feb 24, 2013 12:42 pm

gparted live is live cd for pc. in it you will not see /dev/mmcblk, but device and eventually its partitions.

ravon
Posts: 1
Joined: Tue Jun 05, 2018 2:27 pm

Re: SD card end of life?

Tue Jun 05, 2018 2:28 pm

For future readers I just wanted to mention that I now have two dead Kingston cards. So either go for a different brand or keep those receipts so you are able to claim your lifetime warranty.

Return to “Troubleshooting”