Unable to read sd card
#1
I have a kde ce pinephone, and I am having a problem reading the sd card. I have tried with two different cards with the same results.

The sd card is listed in lsblk, however none of the partitions on the card are listed. I thought that was strange, so I tried to open the device in fdisk, but all I got was this error:
Code:
fdisk: cannot open /dev/mmcblk0: Input/output error
It seems to me like this is a hardware issue, but I don't know for sure. Is there something I'm missing here?
  Reply
#2
(02-05-2021, 06:24 PM)bmeinka Wrote: I have a kde ce pinephone, and I am having a problem reading the sd card. I have tried with two different cards with the same results.

The sd card is listed in lsblk, however none of the partitions on the card are listed. I thought that was strange, so I tried to open the device in fdisk, but all I got was this error:
Code:
fdisk: cannot open /dev/mmcblk0: Input/output error
It seems to me like this is a hardware issue, but I don't know for sure. Is there something I'm missing here?

Just a question because I have seen users do this before (not saying this is the case here but have to ask anyway). Is the sd card in the correct slot? It is a double slot. Top is for the sd and bottom for the sim.

Other questions assuming the above question does not apply:

Are you trying to boot from the sd? (This is what the sd slot is intended for. It is the first boot device)

Are you trying to mount the sd while booted from the EMMC?
View my projects at: https://gitlab.com/users/The3DmaN/projects or at the3dman.gitlab.io you can also find me on Matrix in many of the Pine related channels.
  Reply
#3
(02-08-2021, 08:56 PM)The3DmaN Wrote:
(02-05-2021, 06:24 PM)bmeinka Wrote: I have a kde ce pinephone, and I am having a problem reading the sd card. I have tried with two different cards with the same results.

The sd card is listed in lsblk, however none of the partitions on the card are listed. I thought that was strange, so I tried to open the device in fdisk, but all I got was this error:
Code:
fdisk: cannot open /dev/mmcblk0: Input/output error
It seems to me like this is a hardware issue, but I don't know for sure. Is there something I'm missing here?

Just a question because I have seen users do this before (not saying this is the case here but have to ask anyway). Is the sd card in the correct slot? It is a double slot. Top is for the sd and bottom for the sim.

Other questions assuming the above question does not apply:

Are you trying to boot from the sd? (This is what the sd slot is intended for. It is the first boot device)

Are you trying to mount the sd while booted from the EMMC?

It is in the correct slot. I am trying to boot from it, although trying to mount it while booted doesn't work either.

I have already verified that the sd card is not counterfeit and that the flashed image isn't corrupted.
  Reply
#4
(02-09-2021, 12:38 PM)bmeinka Wrote:
(02-08-2021, 08:56 PM)The3DmaN Wrote:
(02-05-2021, 06:24 PM)bmeinka Wrote: I have a kde ce pinephone, and I am having a problem reading the sd card. I have tried with two different cards with the same results.

The sd card is listed in lsblk, however none of the partitions on the card are listed. I thought that was strange, so I tried to open the device in fdisk, but all I got was this error:
Code:
fdisk: cannot open /dev/mmcblk0: Input/output error
It seems to me like this is a hardware issue, but I don't know for sure. Is there something I'm missing here?

Just a question because I have seen users do this before (not saying this is the case here but have to ask anyway). Is the sd card in the correct slot? It is a double slot. Top is for the sd and bottom for the sim.

Other questions assuming the above question does not apply:

Are you trying to boot from the sd? (This is what the sd slot is intended for. It is the first boot device)

Are you trying to mount the sd while booted from the EMMC?

It is in the correct slot. I am trying to boot from it, although trying to mount it while booted doesn't work either.

I have already verified that the sd card is not counterfeit and that the flashed image isn't corrupted.


Hmm. Which Distro are you trying to boot, and what was your method of imaging the card (dd, Gnome-Disks, Etcher)?
View my projects at: https://gitlab.com/users/The3DmaN/projects or at the3dman.gitlab.io you can also find me on Matrix in many of the Pine related channels.
  Reply
#5
(02-09-2021, 01:09 PM)The3DmaN Wrote:
(02-09-2021, 12:38 PM)bmeinka Wrote:
(02-08-2021, 08:56 PM)The3DmaN Wrote:
(02-05-2021, 06:24 PM)bmeinka Wrote: I have a kde ce pinephone, and I am having a problem reading the sd card. I have tried with two different cards with the same results.

The sd card is listed in lsblk, however none of the partitions on the card are listed. I thought that was strange, so I tried to open the device in fdisk, but all I got was this error:
Code:
fdisk: cannot open /dev/mmcblk0: Input/output error
It seems to me like this is a hardware issue, but I don't know for sure. Is there something I'm missing here?

Just a question because I have seen users do this before (not saying this is the case here but have to ask anyway). Is the sd card in the correct slot? It is a double slot. Top is for the sd and bottom for the sim.

Other questions assuming the above question does not apply:

Are you trying to boot from the sd? (This is what the sd slot is intended for. It is the first boot device)

Are you trying to mount the sd while booted from the EMMC?

It is in the correct slot. I am trying to boot from it, although trying to mount it while booted doesn't work either.

I have already verified that the sd card is not counterfeit and that the flashed image isn't corrupted.


Hmm. Which Distro are you trying to boot, and what was your method of imaging the card (dd, Gnome-Disks, Etcher)?
I have tried:
  • Arch Linux ARM
  • Jumpdrive
  • Ubuntu Touch
  • PostmarketOS edge and stable


I started off using dd, but switched to etcher after a few failed attempts to boot in hopes I was flashing the sd cards wrong. Got the same results either way.
  Reply
#6
(02-09-2021, 03:11 PM)bmeinka Wrote:
(02-09-2021, 01:09 PM)The3DmaN Wrote:
(02-09-2021, 12:38 PM)bmeinka Wrote:
(02-08-2021, 08:56 PM)The3DmaN Wrote:
(02-05-2021, 06:24 PM)bmeinka Wrote: I have a kde ce pinephone, and I am having a problem reading the sd card. I have tried with two different cards with the same results.

The sd card is listed in lsblk, however none of the partitions on the card are listed. I thought that was strange, so I tried to open the device in fdisk, but all I got was this error:
Code:
fdisk: cannot open /dev/mmcblk0: Input/output error
It seems to me like this is a hardware issue, but I don't know for sure. Is there something I'm missing here?

Just a question because I have seen users do this before (not saying this is the case here but have to ask anyway). Is the sd card in the correct slot? It is a double slot. Top is for the sd and bottom for the sim.

Other questions assuming the above question does not apply:

Are you trying to boot from the sd? (This is what the sd slot is intended for. It is the first boot device)

Are you trying to mount the sd while booted from the EMMC?

It is in the correct slot. I am trying to boot from it, although trying to mount it while booted doesn't work either.

I have already verified that the sd card is not counterfeit and that the flashed image isn't corrupted.


Hmm. Which Distro are you trying to boot, and what was your method of imaging the card (dd, Gnome-Disks, Etcher)?
I have tried:
  • Arch Linux ARM
  • Jumpdrive
  • Ubuntu Touch
  • PostmarketOS edge and stable


I started off using dd, but switched to etcher after a few failed attempts to boot in hopes I was flashing the sd cards wrong. Got the same results either way.


Sounds like maybe it is not software and could be hardware related as you suggested earlier. Etcher should work fine for that, and if its in the correct slot and not a bad sd card, I am not sure what else it could be. Maybe put a support ticket in and see if there are any other suggestions from them.
View my projects at: https://gitlab.com/users/The3DmaN/projects or at the3dman.gitlab.io you can also find me on Matrix in many of the Pine related channels.
  Reply
#7
(02-09-2021, 03:20 PM)The3DmaN Wrote:
(02-09-2021, 03:11 PM)bmeinka Wrote:
(02-09-2021, 01:09 PM)The3DmaN Wrote:
(02-09-2021, 12:38 PM)bmeinka Wrote:
(02-08-2021, 08:56 PM)The3DmaN Wrote: Just a question because I have seen users do this before (not saying this is the case here but have to ask anyway). Is the sd card in the correct slot? It is a double slot. Top is for the sd and bottom for the sim.

Other questions assuming the above question does not apply:

Are you trying to boot from the sd? (This is what the sd slot is intended for. It is the first boot device)

Are you trying to mount the sd while booted from the EMMC?

It is in the correct slot. I am trying to boot from it, although trying to mount it while booted doesn't work either.

I have already verified that the sd card is not counterfeit and that the flashed image isn't corrupted.


Hmm. Which Distro are you trying to boot, and what was your method of imaging the card (dd, Gnome-Disks, Etcher)?
I have tried:
  • Arch Linux ARM
  • Jumpdrive
  • Ubuntu Touch
  • PostmarketOS edge and stable


I started off using dd, but switched to etcher after a few failed attempts to boot in hopes I was flashing the sd cards wrong. Got the same results either way.


Sounds like maybe it is not software and could be hardware related as you suggested earlier. Etcher should work fine for that, and if its in the correct slot and not a bad sd card, I am not sure what else it could be. Maybe put a support ticket in and see if there are any other suggestions from them.
Thank you for your time. I have contacted support.
  Reply
#8
Dump question, but when you say "I have already verified that the sd card is not counterfeit", does that mean that you tried it on an other device ? It could just be a dead SD card maybe.
Maybe you should also try an other SD card.
  Reply
#9
(02-10-2021, 12:55 AM)Alfiory Wrote: Dump question, but when you say "I have already verified that the sd card is not counterfeit", does that mean that you tried it on an other device ? It could just be a dead SD card maybe.
Maybe you should also try an other SD card.
I tried them on a raspberry pi 2 with raspbian and it booted fine. I have tried with two different sd cards.
  Reply
#10
Yes so more likely to be a problem of the PinePhone. ^^
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Won't boot - Failed to read Who-Am-I register nocargo 3 560 07-09-2021, 05:34 PM
Last Post: ewPine
  Can't boot from eMMC or SD card... Nibel 1 327 06-03-2021, 08:41 PM
Last Post: ppafin
  using sd card rvh 7 1,128 04-07-2021, 02:49 PM
Last Post: tllim
  sd card to lollipop rvh 5 728 04-06-2021, 12:02 AM
Last Post: biketool
  Observations about SIM card recognition and OS distribution lsitongia 10 1,582 03-04-2021, 12:54 AM
Last Post: tllim
  Phone Won't Detect Music Files From SD Card Joelandsonja 11 5,146 02-25-2021, 11:23 PM
Last Post: cybercricket
  Cannot boot to SD card - Completely locked out of my phone the day I got it Giddyup 5 937 02-15-2021, 11:45 AM
Last Post: Giddyup
  I am stuck, When in Terminal, unable to enter a password Whio84 3 491 02-12-2021, 03:46 PM
Last Post: Whio84
  No sms texts on concumer cellular sim card tckosvic 2 460 02-09-2021, 02:05 PM
Last Post: tckosvic
  Flashing SC card for Ubuntu Touch thorensjubilee 2 1,134 12-15-2020, 07:38 AM
Last Post: thorensjubilee

Forum Jump:


Users browsing this thread: 1 Guest(s)