Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i/o errors with 64 gb card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1282

PostPosted: Sun Mar 15, 2020 10:17 am    Post subject: i/o errors with 64 gb card Reply with quote

I have recently purchased a new 64 gb card for use on my gentoo laptop
things go smoothly until i reach about 58% of the space
that's when things go wrong, after reaching this space I can write around 50 MBs or so before the file system is read only

I see the following in journalctl around the tiem of the problem:
Code:
Mar 15 12:07:24 cherry kernel: mmc2: Skipping voltage switch
Mar 15 12:07:24 cherry kernel: mmc2: error -110 doing runtime resume
Mar 15 12:07:24 cherry kernel: mmcblk2: error -110 requesting status
Mar 15 12:09:10 cherry kernel: mmc2: Skipping voltage switch
Mar 15 12:09:10 cherry kernel: mmc2: error -110 doing runtime resume
Mar 15 12:09:10 cherry kernel: mmcblk2: error -110 requesting status
Mar 15 12:09:13 cherry kernel: mmc2: Skipping voltage switch
Mar 15 12:09:13 cherry kernel: mmc2: tried to HW reset card, got error -110
Mar 15 12:09:13 cherry kernel: mmcblk2: recovery failed!
Mar 15 12:09:13 cherry kernel: print_req_error: I/O error, dev mmcblk2, sector 2088
Mar 15 12:09:13 cherry kernel: Buffer I/O error on dev mmcblk2p1, logical block 5, lost async page write
Mar 15 12:09:13 cherry kernel: mmcblk2: error -110 requesting status
Mar 15 12:09:13 cherry kernel: mmcblk2: recovery failed!
Mar 15 12:09:13 cherry kernel: print_req_error: I/O error, dev mmcblk2, sector 67111016
Mar 15 12:09:13 cherry kernel: Buffer I/O error on dev mmcblk2p1, logical block 8388621, lost async page write
Mar 15 12:09:13 cherry kernel: mmcblk2: error -110 requesting status
Mar 15 12:09:13 cherry kernel: mmcblk2: recovery failed!
Mar 15 12:09:13 cherry kernel: print_req_error: I/O error, dev mmcblk2, sector 83888384
Mar 15 12:09:13 cherry kernel: Buffer I/O error on dev mmcblk2p1, logical block 10485792, lost async page write
Mar 15 12:09:13 cherry kernel: mmcblk2: error -110 requesting status
Mar 15 12:09:28 cherry kernel: mmc2: Skipping voltage switch
Mar 15 12:09:28 cherry kernel: mmc2: error -110 doing runtime resume
Mar 15 12:09:28 cherry kernel: mmcblk2: error -110 requesting status




I'm using ext4 at the time(i tried btrfs and i get the same problem)
I never had this probm with my old 32 GB card(maybe this reader cannot read mroe than 32GB?)
kernel config:
https://pastebin.com/FsPD8i0y

lsusb -v:
https://pastebin.com/TvnxYtS7

When prchasing the laptop, the specifications said it can read memory carsd up to 64GB
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44921
Location: 56N 3W

PostPosted: Sun Mar 15, 2020 11:07 am    Post subject: Reply with quote

Adel Ahmed,

Maybe its not a real 64GB card. Its just labelled 64GB and programmed to advertise 64GB?

If its a no-name card, it may just be faulty.
You can judge the quality by the price you paid for it. If it looked too good to be true, it probably was.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 898
Location: Italy

PostPosted: Sun Mar 15, 2020 11:40 am    Post subject: Reply with quote

NeddySeagoon wrote:
Maybe its not a real 64GB card. Its just labelled 64GB and programmed to advertise 64GB?


There are tools for detecting fake flash drives. On Gentoo one can use sys-block/f3, for example. Before using them, users should back up important data from their flash drive because it could be lost.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1282

PostPosted: Wed Mar 18, 2020 10:39 am    Post subject: Reply with quote

if i dd from /dev/urandom to the mmc and it fills up to 100%

maybe the probelm is with ffmpeg, I am investigating the issue
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 898
Location: Italy

PostPosted: Wed Mar 18, 2020 11:00 am    Post subject: Reply with quote

Adel Ahmed wrote:
if i dd from /dev/urandom to the mmc and it fills up to 100%

I think you should try to create a random 64 GB file on your system, checksum it, transfer it with dd to the flash drive, read it back, and compare checksums.
If you only write to the flash drive without reading it back, it may lie to you.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1282

PostPosted: Mon Mar 23, 2020 11:16 am    Post subject: Reply with quote

it works just fine
I can also move files just fine, I think it's just ffmpeg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum