You are not logged in.

#1 2009-12-02 06:01:39

dpayne19
Member
Registered: 2009-04-21
Posts: 12

SD card unmounts

I have a SD card and I can mount it. But as soon as I try to move files off it, it starts to transfer and then unmounts before anything can finish transferring.

Here's my dmesg output

tifm_sd0:0 : card failed to respond for a long period of time (12, 1)
tifm0 : demand removing card from socket 0:0
mmc0: card 13da removed
mmcblk0: retrying using single block read
mmcblk0: error -123 sending status comand
mmcblk0: error -123 sending read/write command, response 0x0, card status 0x0
end_request: I/O error, dev mmcblk0, sector 731
Buffer I/O error on device mmcblk0p1, logical block 488
mmcblk0: error -123 sending status comand
mmcblk0: error -123 sending read/write command, response 0x0, card status 0x0
end_request: I/O error, dev mmcblk0, sector 732
Buffer I/O error on device mmcblk0p1, logical block 489
mmcblk0: error -123 sending status comand
mmcblk0: error -123 sending read/write command, response 0x0, card status 0x0
end_request: I/O error, dev mmcblk0, sector 733
...
mmcblk0: error -123 sending status comand
mmcblk0: error -123 sending read/write command, response 0x0, card status 0x0
end_request: I/O error, dev mmcblk0, sector 82494
mmcblk0: error -123 sending status comand
mmcblk0: error -123 sending read/write command, response 0x0, card status 0x0
end_request: I/O error, dev mmcblk0, sector 82495
tifm_core: MMC/SD card detected in socket 0:0
mmc0: new SD card at address 13da
mmcblk1: mmc0:13da SD01G 982 MiB 
 mmcblk1: p1

Offline

#2 2009-12-09 22:32:04

dpayne19
Member
Registered: 2009-04-21
Posts: 12

Re: SD card unmounts

I still haven't found a solution to this. I know the SD card isn't corrupted since it works on other comps. Is there something I'm missing, or is the reader broken?

Offline

#3 2009-12-09 22:37:21

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: SD card unmounts

Need more input:
How do you mount and umount it? XFCE/Gnome/KDE automounter or by hand with "mount" in console?
Does this happen no matter what you do or does it just happen after you wrote much data to the card?

I had this problem with XFCE after writing much data do a USB stick.
If this is your problem too then you may do sync as root before unmounting.

Last edited by Cdh (2009-12-09 22:37:43)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#4 2009-12-11 17:47:10

dpayne19
Member
Registered: 2009-04-21
Posts: 12

Re: SD card unmounts

I tried deleting everything on the SD card and syncing neither worked. I tried mounting and unmounting via pcmanfm, gnome automounter, using pmount from the console, and "mount" from the console with root and regular user.

It might have been because of the syncing, or something else but it stays mounted now. But the files get corrupted or something
Here's the output of 'ls' on the drive before I tried transferring

[root@desktop /media/card]# ls
dcim misc

After I tried transferring its

[root@desktop /media/card]# ls
.
.
.
.
!"#$.%&
!"#$.%&
1234.56
134.56
1234.56
1234.56
????.??
????.??
????.??
????.??
????.??
?b  ?.??
????.??
????.??
????.??
????.??
????.??
????.??
????.??
±???.?÷
ß???.?µ
ææôö.òû
üéâä.àå
üéâä.àå
üéâä.àå
üéâä.àå

I cut out some of the output just to keep the post shorter.

Last edited by dpayne19 (2009-12-11 18:08:49)

Offline

#5 2009-12-11 20:08:06

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: SD card unmounts

There seems to be something severely wrong with the filesystem.
Do the other PCs you tested it on also run (Arch)Linux?
If it's Windows it might just work around issues.

Can you test another SD-Card in your reader?

Maybe overwriting the whole SD-Card with zeros helps if it is a problem in the partition itself?
dd if=/dev/zero of=/dev/<SD-CARD>
If it's a hardware problem with your card (which other pcs work around) or your reader dd should produce this error too, I guess.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#6 2009-12-12 00:57:35

dpayne19
Member
Registered: 2009-04-21
Posts: 12

Re: SD card unmounts

I tried overwriting with dd and running dosfsck, neither worked. Whats odd is that all the old files are still on the card, wouldn't have dd overwritten everything?

Offline

Board footer

Powered by FluxBB