Error whilst initializing SD card on Linux
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Bleepage Open
--
Chapters
00:00 Error Whilst Initializing Sd Card On Linux
00:37 Accepted Answer Score 8
01:04 Answer 2 Score 4
01:31 Answer 3 Score 2
02:08 Answer 4 Score 2
02:45 Thank you
--
Full question
https://superuser.com/questions/849699/e...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #datarecovery #android #sdcard #microsdcard
#avk47
ACCEPTED ANSWER
Score 8
Your SD card has died. This happens over time, anything like a drop or a lot of use can cause a SD card to die. I have had the same thing happen to me on a 16GB micro SD card used with my Raspberry Pi 2. It just stopped working one day.
The only way you could possibly get the data off the SD card at this point is to take it to a professional in the Data Recovery Field.
ANSWER 2
Score 4
I see exactly the same error in my Lenovo Laptop while trying to mount a SD card, and I must say that SD cards support on the Linux desktop is unfortunately suboptimal. The same card works perfectly fine in my Android phone and in my camera!
As a workaround, to make it work in the desktop, the only solution I have found is leaving it connected, and waiting for a few minutes until the error stops and the device appears.
ANSWER 3
Score 2
Try connecting the SD card using a USB memory card reader.
This worked in my case, a Lenovo laptop running Ubuntu 16.04, and the SD card is definitely recognized in other operating systems.
Instead of getting the error messages when running dmesg
[ 882.603991] mmc0: card never left busy state
[ 882.604001] mmc0: error -110 whilst initialising SD card
I get the success messages
[ 1724.883050] sd 6:0:0:2: [sdd] 250607616 512-byte logical blocks: (128 GB/119 GiB)
[ 1724.888318] sdd: sdd1
I'm not sure if reading speed is as fast as connecting the SD directly to the laptop but I'm glad the SD is at least recognized.
ANSWER 4
Score 2
I've run into this with almost-new SD cards on modern Linux machines, where the same cards work fine in Raspberry Pis (running Linux!) with no hitches. My suggestion is first to:
- remove, wait a few seconds, and re-insert the card
- running
sudo partprobe
occasionally works (you might need to install a package first depending on your system) - as Teresa says, wait a few minutes and the kernel will be able to detect the card
Oh, and backup your card because it could well be about to die, regardless of age.