LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 08-13-2018, 01:57 PM   #1
cybervigilante
Member
 
Registered: Apr 2018
Posts: 39

Rep: Reputation: Disabled
Can't read sdcard


I can't read my SD card. I tried downloading the driver from Realtek but the makefile wouldn't make and when I finally got it to, the c program was full of errors. Is there a generic linux program that has a lot of SD drivers? I'm tired of struggling with the Realtek driver. Failing that, is there any OS I could download to put into a virtual machine that would read and write the SD card? I mainly need it for a can-type mp3 player I keep on my bike.

I have a Dell Latitude E6410

Last edited by cybervigilante; 08-13-2018 at 01:58 PM. Reason: grammar
 
Old 08-13-2018, 02:26 PM   #2
redfox2807
Member
 
Registered: Jul 2012
Distribution: Debian testing/stable, Gentoo, CentOS 7, Sailfish OS, Android
Posts: 167

Rep: Reputation: 31
You didn't provide any information about what distro you're using, what program you're talking about, what error messages you received, and finally why you even tried to compile it and not just used a precompiled package for your distro, so the only thing I can do is to give some hints:

The drivers for SD cards readers are actually a part of linux kernel, not of some user space program. Seems unlikely that you're using a self-configured kernel, so you distro should already include the drivers. Having done a bit of googling, the card reader in your laptop should be supported since kernel 3.1 from 2012. So you either have a very outdated distro or your SD card is corrupted.
 
Old 08-13-2018, 05:03 PM   #3
cybervigilante
Member
 
Registered: Apr 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
MX Linux. sandisk micro sd. The driver downloads for linux were not precompiled - just c programs and a makefile. I know windows will run it but you need windows to install windows pe which I could put on virtual machine. Is there anywhere I can just get a bootable PE ISO?
 
Old 08-13-2018, 05:26 PM   #4
cybervigilante
Member
 
Registered: Apr 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Finally got an error at least from dmesg | tail, so I am seeing the card but no initializing it.
mmc0: error -110 whilst initialising SD card
 
Old 08-13-2018, 05:48 PM   #5
redfox2807
Member
 
Registered: Jul 2012
Distribution: Debian testing/stable, Gentoo, CentOS 7, Sailfish OS, Android
Posts: 167

Rep: Reputation: 31
Quote:
Originally Posted by cybervigilante View Post
mmc0: error -110 whilst initialising SD card
So it's not lack of card reader driver and you don't have to compile any drivers at all. The device mmc0 is up and running. My bet you just have a dead SD card. Happens way too often with them. I had similar output with different error numbers for dead SD cards. Try to use another one to see if that one would work.
 
Old 08-14-2018, 02:04 PM   #6
cybervigilante
Member
 
Registered: Apr 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Thanks. Had a feeling it was dead. I even installed a later kernel on my backup Lubuntu machine in case it was a kernel error, but that didn't work either.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't erase my Sdcard... clg Linux - Newbie 11 02-19-2016 02:32 PM
[SOLVED] can't mound sdcard amans Debian 1 03-28-2014 03:15 AM
help in loading kernel from SDcard tamamontu Linux - Embedded & Single-board computer 6 07-30-2010 10:58 AM
SDcard problems on HP dv2640 ocularb0b Linux - Hardware 0 11-15-2007 03:08 PM
SDCard Partition Problems ch4se Linux - Hardware 1 08-14-2005 07:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration