[SOLVED] SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Someone567123
Level 1
Level 1
Posts: 7
Joined: Thu Dec 26, 2024 6:03 pm

[SOLVED] SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by Someone567123 »

Hello, Linux Mint forums. I am a new user here and I am also pretty new to using Linux Mint. I had freshly installed Mint onto my Mac Mini. (I have no idea what version it is, but from the looks of it, it's somewhere around the 2010's.) I've had the worst of luck trying to get the SD Card reader to work trying various workarounds, some even being outdated and others working once or twice. It probably doesn't help that I accidentally removed all partitions from the SD Card itself, so I have a lot of unallocated space, and when trying to fix that using Gparted or Disks, it just wouldn't let me create a new partition table. I've also tried formatting to FAT32, but not even formatting works. Any clue what my issue may be? Again, I am a new user here, so I would really appreciate help with posting screenshots or text from the terminal. Thanks!
Last edited by LockBot on Thu Jun 26, 2025 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
IYmEVDc
Level 16
Level 16
Posts: 6559
Joined: Mon Jan 27, 2020 8:27 pm

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by IYmEVDc »

Someone567123 wrote: Thu Dec 26, 2024 6:19 pm It probably doesn't help that I accidentally removed all partitions from the SD Card itself, so I have a lot of unallocated space, and when trying to fix that using Gparted or Disks, it just wouldn't let me create a new partition table.
if you can see the sd card in disks or gparted, it sounds like the reader is at least detecting the card. does it only show up in either or both sometimes?
Someone567123 wrote: Thu Dec 26, 2024 6:19 pm I've also tried formatting to FAT32, but not even formatting works. Any clue what my issue may be? Again, I am a new user here, so I would really appreciate help with posting screenshots or text from the terminal. Thanks!
are you sure the card still works? do you have a different system you could use to verify that it is still viable and possibly format it?

regarding posting text from the terminal, when typing a new post or reply there should be a button above the text entry field to the right of the quote (") button that looks like </>. you can either click on that and put your text between or highlight the text and then click it. i find it quick to just type them myself sometimes instead of taking my fingers off of the keys.

just an example of what that looks like:

Code: Select all

lspci -knnd ::0805
02:00.0 SD Host controller [0805]: O2 Micro, Inc. SD/MMC Card Reader Controller [1217:8520] (rev 01)
	Subsystem: Lenovo SD/MMC Card Reader Controller [17aa:2211]
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci
Someone567123
Level 1
Level 1
Posts: 7
Joined: Thu Dec 26, 2024 6:03 pm

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by Someone567123 »

if you can see the sd card in disks or gparted, it sounds like the reader is at least detecting the card. does it only show up in either or both sometimes?
I'm pretty sure Disks and Gparted don't detect the SD card because it doesn't show up as an option.
are you sure the card still works? do you have a different system you could use to verify that it is still viable and possibly format it?
I have a laptop also with Linux Mint installed, but I can't edit or add files to it because Mint thinks it's write protected. (It clearly isn't, the pin isn't in "locked" position and even as super user/root, I am unable to make changes.)
IYmEVDc
Level 16
Level 16
Posts: 6559
Joined: Mon Jan 27, 2020 8:27 pm

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by IYmEVDc »

does the sd card reader on the mac work with any cards or does it have an issue with just the one that the other system thinks is write-protected?
AndyMH
Level 22
Level 22
Posts: 16544
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by AndyMH »

Get an SD/USB adaptor, they are cheap. I have issues with the SD card from my camera, in the card reader in my T430 no joy. Plugged into a usb port via an adaptor, no issues works fine.
Thinkcentre M720Q - LM22.1 cinnamon, 4 x T430 - LM22.1 & LM21.3 cinnamon.
Someone567123
Level 1
Level 1
Posts: 7
Joined: Thu Dec 26, 2024 6:03 pm

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by Someone567123 »

IYmEVDc wrote: Thu Dec 26, 2024 7:18 pm does the sd card reader on the mac work with any cards or does it have an issue with just the one that the other system thinks is write-protected?
I tried a completely different SD card and it still didn't pick it up. It would be likewise for the other system as no matter what SD card I put in it, it will still show that it is "read-only" and write protected. I've heard that USB adapters could work as a solution, but I have yet to try that.
Last edited by Someone567123 on Thu Dec 26, 2024 7:44 pm, edited 1 time in total.
Someone567123
Level 1
Level 1
Posts: 7
Joined: Thu Dec 26, 2024 6:03 pm

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by Someone567123 »

AndyMH wrote: Thu Dec 26, 2024 7:21 pm Get an SD/USB adaptor, they are cheap. I have issues with the SD card from my camera, in the card reader in my T430 no joy. Plugged into a usb port via an adaptor, no issues works fine.
I'm aware that that is one of my possible solutions but I'm trying to get my system to detect the card via the SD card slot... I will consider getting a USB adapter sometime soon.
IYmEVDc
Level 16
Level 16
Posts: 6559
Joined: Mon Jan 27, 2020 8:27 pm

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by IYmEVDc »

Someone567123 wrote: Thu Dec 26, 2024 7:40 pm I tried a completely different SD card and it still didn't pick it up.
that sounds like it is possible the card reader isn't working. i had a mid-2014 macbook where the card reader would come and go. you could try taking a look at some of the following to see if you can find the device:

Code: Select all

lspci -knn | grep -iE 'sd|mmc'; journalctl -b | grep -iE 'sdhci|mmc'
the first takes a look through your pci devices to see if it can find one that has sd or mmc in the description. the second looks for the driver or mmc in your system journal.

or possibly this. make sure the card is out. run this in a terminal:

Code: Select all

dmesg -W
then insert the card to see if you get any output. you may need sudo with dmesg and journalctl if you are running lmde. not sure. don't use or test that one much.
Someone567123
Level 1
Level 1
Posts: 7
Joined: Thu Dec 26, 2024 6:03 pm

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by Someone567123 »

IYmEVDc wrote: Thu Dec 26, 2024 7:57 pm
Someone567123 wrote: Thu Dec 26, 2024 7:40 pm I tried a completely different SD card and it still didn't pick it up.

Code: Select all

lspci -knn | grep -iE 'sd|mmc'; journalctl -b | grep -iE 'sdhci|mmc'
the first takes a look through your pci devices to see if it can find one that has sd or mmc in the description. the second looks for the driver or mmc in your system journal.

Code: Select all

Dec 26 15:31:17 mypc kernel: mmc0: Timeout waiting for hardware cmd interrupt.
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001502
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000000
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000000
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Present:   0x1fff0000 | Host ctl: 0x00000001
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x0000e8c7
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Int enab:  0x00ff0083 | Sig enab: 0x00ff0083
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Caps:      0x176ec8b0 | Caps_1:   0x03002177
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Cmd:       0x00000102 | Max curr: 0x00000000
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: Host ctl2: 0x00000000
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: ADMA Err:  0x00000001 | ADMA Ptr: 0x0000000000000000
Dec 26 15:31:17 mypc kernel: mmc0: sdhci: ============================================
I keep getting the "Timeout waiting for hardware cmd interrupt" error almost every time when I tried some workarounds during rebooting my system.
Someone567123
Level 1
Level 1
Posts: 7
Joined: Thu Dec 26, 2024 6:03 pm

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by Someone567123 »

Also, I tried using

Code: Select all

sudo dmesg - W
but it just kept loading and wouldn't prompt me to a new line.
IYmEVDc
Level 16
Level 16
Posts: 6559
Joined: Mon Jan 27, 2020 8:27 pm

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by IYmEVDc »

no idea what those journal messages mean really except that maybe the kernel can't get the info it needs from the device. i have two systems with mint (21 and 22) installed and sd card readers that do work. nothing like that in the journal. maybe the register dump is for devs or could help with troubleshooting/debugging? at this point it sounds like you'll need an adapter to have a shot at getting cards to work on that system.

have you tried any other distros on the system even if only live? maybe some version of debian (lmde possibly) with an older kernel? that's about the only other thing i can think of to try.
Someone567123
Level 1
Level 1
Posts: 7
Joined: Thu Dec 26, 2024 6:03 pm

Re: SD Card reader isn't detecting/mounting an SD Card despite trying workarounds

Post by Someone567123 »

I'll have to try with a USB adapter. For now, I'll mark this as solved.
Locked

Return to “Storage”