Input output error during read on dev mmcblk0

Forum rules Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

faraon7

Level 1
Level 1
Posts: 4
Joined: Sat Nov 15, 2014 3:14 pm

SDHC 32 GB cart won`t mount on 17.2 x64

Hi,
Im struggling from several weeks with my camera cart Kingston 32GB Micro SDHC. It wout mount «Unable to mount location»- «Can`t mount file». I checked everything i tried to change cart FS, format it in linux, windows checking it for errors without success.
I tried to mout it from the terminal with —mount. No success too. When i start gparted it says «Input/output error during read on /dev/mmcblk0».
I tried other micro sd carts with different size under 32 gb and they are fine…

I appreciate any help ! Thanks!

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

faraon7

Level 1
Level 1
Posts: 4
Joined: Sat Nov 15, 2014 3:14 pm

Re: SDHC 32 GB cart won`t mount on 17.2 x64

Post

by faraon7 » Mon Jul 06, 2015 12:50 am

Ok, I followed your suggestion and after 5-6 hours of waiting it finished with:

dd: error writing ‘/dev/mmcblk0’: No space left on device
30613+0 records in
30612+0 records out
32099008512 bytes (32 GB) copied, 10910,7 s, 2,9 MB/s

After that I reformatted with the windows because it`s not possible with mint and the no change at all.
«Can`t mount file». My mint installation is fresh so i suppose that this is a problem with the OS at all, not specific to me. Maybe only with the Kingston carts :(

Mute Ant

Re: SDHC 32 GB cart won`t mount on 17.2 x64

Post

by Mute Ant » Tue Jul 07, 2015 4:13 pm

dd saw it and wrote the whole extent, so the card and reader hardware are seen by Linux…it all works. You could try for a super-floppy file system format with mkfs

…every OS since 1995 will know how to handle that.

I can

  • read from my micro-sd card when it is in «lock» position

but things get very weird when I try «unlock» it: there is no way I can

  • fsck it, nor
  • mount it, nor
  • read it, nor..
  • format it!

I need to format it, what can I do?

Here is my gparted output:

$ sudo gparted
Created symlink /run/systemd/system/-.mount → /dev/null.
Created symlink /run/systemd/system/boot-efi.mount → /dev/null.
Created symlink /run/systemd/system/home-iagox2dlito-.docker-devicemapper.mount → /dev/null.
Created symlink /run/systemd/system/home.mount → /dev/null.
Created symlink /run/systemd/system/run-user-1000.mount → /dev/null.
Created symlink /run/systemd/system/run-user-117.mount → /dev/null.
Created symlink /run/systemd/system/tmp.mount → /dev/null.
Created symlink /run/systemd/system/var.mount → /dev/null.

======================
libparted : 3.2                                         # see screenshots
======================                                  #
Input/output error during write on /dev/mmcblk0         # first error
Error fsyncing/closing /dev/mmcblk0: Input/output error # second error
Input/output error during write on /dev/mmcblk0         # start looping
Error fsyncing/closing /dev/mmcblk0: Input/output error #
Input/output error during read on /dev/mmcblk0          #

enter image description here

Clicking Device -> Create partition table

enter image description here

choosing msdos, Apply, wait for a while then

enter image description here

Ignore

enter image description here

And then it starts looping between these two error messages until I finally
Cancel.

After cancelling, the status bar displays

enter image description here

for a while, then

enter image description here

.. anyway there is no more mmcblk0 visible in the up-left box.

Any idea what may be wrong?
How can I format my SD card?
Is it just dead?


[EDIT] more info? When inserted in unlocked state:

$ dmesg
...
[ 1282.922022] mmc0: cannot verify signal voltage switch
[ 1283.097715] mmc0: new ultra high speed SDR104 SDHC card at address 0001
[ 1283.104727] mmcblk0: mmc0:0001 SD32G 29.0 GiB 
[ 1283.106469]  mmcblk0: p1 p2
[ 1284.996181] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 1285.018828] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended

Oh, okay..

$ sudo e2fsck /dev/mmcblk0
e2fsck 1.43.4 (31-Jan-2017)
e2fsck: Input/output error while trying to open mmcblk0

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

.. suggested commands both yield the same output.


Playing around with f3 on
malat advice:

# f3write /dev/mmcblk0p1
f3write: Can't open path /dev/mmcblk0p1: Not a directory

# f3write /dev/mmcblk0p2
f3write: Can't open path /dev/mmcblk0p2: Not a directory

# f3read /dev/mmcblk0p1
f3read: Can't open path /dev/mmcblk0p1: Not a directory

# f3read /dev/mmcblk0p2
f3read: Can't open path /dev/mmcblk0p1: Not a directory

Trying their mounting point instead:

# f3write /media/iago-lito/boot # /dev/mmcblk0p1
f3write: f3write.c:403: get_freespace: Assertion `!statvfs(path, &fs)' failed.
[1]    11908 abort      f3write /media/iago-lito/boot

# f3write /media/iago-lito/0aed834e-8c8f-412d-a276-a265dc676112 # /dev/mmcblk0p2
Free space: 24.50 GB
Creating file 1.h2w ...
f3write: Can't create file 0aed834e-8c8f-412d-a276-a265dc676112/1.h2w: Input/output error

# f3read /media/iago-lito/boot # /dev/mmcblk0p1
                  SECTORS      ok/corrupted/changed/overwritten

  Data OK: 0.00 Byte (0 sectors)
Data LOST: 0.00 Byte (0 sectors)
           Corrupted: 0.00 Byte (0 sectors)
    Slightly changed: 0.00 Byte (0 sectors)
         Overwritten: 0.00 Byte (0 sectors)
Average reading speed: 0.00 Byte/s

# f3read /media/iago-lito/0aed834e-8c8f-412d-a276-a265dc676112 # /dev/mmcblk0p2
                  SECTORS      ok/corrupted/changed/overwritten

  Data OK: 0.00 Byte (0 sectors)
Data LOST: 0.00 Byte (0 sectors)
           Corrupted: 0.00 Byte (0 sectors)
    Slightly changed: 0.00 Byte (0 sectors)
         Overwritten: 0.00 Byte (0 sectors)
Average reading speed: 0.00 Byte/s

.. `smells bad.


Now try playing gdisk with Alex
Berry:

First try, both partitions were mounted:

$ sudo gdisk /dev/mmcblk0                                                                          20 ↵
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
***************************************************************


Warning! Secondary partition table overlaps the last partition by
33 blocks!
You will need to delete this partition or resize it in another utility.

Command (? for help): x

Expert command (? for help): z
About to wipe out GPT on /dev/mmcblk0. Proceed? (Y/N): Y
Warning! GPT main partition table not overwritten! Error is 0
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.

Expert command (? for help):

Second try after unmounting both partitions:

sudo gdisk /dev/mmcblk0                                                                                                      32 ↵
GPT fdisk (gdisk) version 1.0.1

Warning! Read error 5; strange behavior now likely!
Warning! Read error 5; strange behavior now likely!
Partition table scan:
  MBR: not present
  BSD: not present
  APM: not present
  GPT: not present

Creating new GPT entries.

Command (? for help): x

Expert command (? for help): z
About to wipe out GPT on /dev/mmcblk0. Proceed? (Y/N): Y
Warning! GPT main header not overwritten! Error is 5
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.

.. I am glad error messages (no5) at least are consistent with my deepest
thoughts!
Yanking card and rebooting..

Now gparted does not list /dev/mmcblk0 at all after scanning devices:

Input/output error during read on /dev/mmcblk0

hard time for hardware -_-«

Running live USB of the latest Vivid daily build on Lenovo Thinkpad 10 with Samsung eMMC MDGAGC 116 GiB:

Ubuntu 15.04 (vivid-desktop-amd64.iso 2015-02-16 8:05)
Linux 3.18.0-13-generic
systemd 218-10ubuntu1

Extract of dmesg (full log in attachment):

[ 12.337332] mmc0: BKOPS_EN bit is not set
[ 12.348788] mmc0: new HS200 MMC card at address 0001

[ 12.369112] mmcblk0: mmc0:0001 MDGAGC 116 GiB
[ 12.369786] mmcblk0boot0: mmc0:0001 MDGAGC partition 1 4.00 MiB
[ 12.370414] mmcblk0boot1: mmc0:0001 MDGAGC partition 2 4.00 MiB
[ 12.370976] mmcblk0rpmb: mmc0:0001 MDGAGC partition 3 4.00 MiB
[ 12.376682] mmcblk0: p1 p2 p3 p4

I get multiple errors when trying to access to mmc partitions:

[ 21.950514] sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock
[ 21.950537] mmc0: Got data interrupt 0x00600000 even though no data operation was in progress.
[ 21.952904] mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
[ 21.955002] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x400900
[ 21.955007] mmcblk0: error -84 transferring data, sector 244277120, nr 8, cmd response 0x900, card status 0x0
[ 21.955011] mmcblk0: retrying using single block read

[ 22.197516] mmcblk0boot0: error -84 transferring data, sector 8071, nr 1, cmd response 0x900, card status 0x0
[ 22.199814] mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
[ 22.201911] mmcblk0boot1: error -110 sending stop command, original cmd response 0x900, card status 0x400900
[ 22.201914] mmcblk0boot1: error -84 transferring data, sector 8064, nr 8, cmd response 0x900, card status 0x0
[ 22.201917] mmcblk0boot1: retrying using single block read

[ 22.241280] Buffer I/O error on dev mmcblk0boot0, logical block 1008, async page read
[ 22.244301] mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
[ 22.246331] mmcblk0boot1: error -110 sending stop command, original cmd response 0x900, card status 0x400900
[ 22.246335] mmcblk0boot1: error -84 transferring data, sector 8064, nr 8, cmd response 0x900, card status 0x0
[ 22.246337] mmcblk0boot1: retrying using single block read
[ 22.248553] mmcblk0boot1: error -84 transferring data, sector 8064, nr 8, cmd response 0x900, card status 0x0

[ 22.265044] Buffer I/O error on dev mmcblk0boot1, logical block 1008, async page read

Ubiquity reports «Input/output errors» consequently, I’m unable to install Ubuntu on mmcblk0 device.

Content of /sys/block/mmcblk0:

alignment_offset
bdi
capability
dev
device
discard_alignment
ext_range
force_ro
holders
inflight
mmcblk0boot0
mmcblk0boot1
mmcblk0p1
mmcblk0p2
mmcblk0p3
mmcblk0p4
mmcblk0rpmb
power
queue
range
removable
ro
size
slaves
stat
subsystem
trace
uevent

I don’t know if it’s related, but I also get a warning from libparted:

sudo parted -l
Warning: The driver descriptor says the physical block size is 2048 bytes, but
Linux says it is 512 bytes.
Ignore/Cancel? i

Error: /dev/mmcblk0rpmb: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0rpmb: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Error: /dev/mmcblk0boot0: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Error: /dev/mmcblk0boot1: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Model: MMC MDGAGC (sd/mmc)
Disk /dev/mmcblk0: 125GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
 1 1049kB 274MB 273MB fat32 EFI system partition boot, esp
 2 274MB 408MB 134MB Microsoft reserved partition msftres
 3 408MB 113GB 113GB ntfs Basic data partition msftdata
 4 113GB 125GB 12.1GB ntfs Basic data partition hidden, diag

Let me know if you need additional information.

ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse: Error: command [‘fuser’, ‘-v’, ‘/dev/snd/seq’, ‘/dev/snd/timer’] failed with exit code 1:
CasperVersion: 1.351
CurrentDesktop: Unity
DistroRelease: Ubuntu 15.04
IwConfig:
 usb0 no wireless extensions.

 lo no wireless extensions.
LiveMediaBuild: Ubuntu 15.04 «Vivid Vervet» — Alpha amd64 (20150216)
MachineType: LENOVO 20C1CTO1WW
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/username.seed boot=casper quiet splash —
ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
RelatedPackageVersions:
 linux-restricted-modules-3.18.0-13-generic N/A
 linux-backports-modules-3.18.0-13-generic N/A
 linux-firmware 1.141
RfKill:
 0: LNV4752:00: GPS
  Soft blocked: no
  Hard blocked: no
Tags: vivid
Uname: Linux 3.18.0-13-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 10/17/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: GWET25WW (1.25)
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 20C1CTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SKG18 I
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 11
dmi.chassis.vendor: LENOVO
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnLENOVO:bvrGWET25WW(1.25):bd10/17/2014:svnLENOVO:pn20C1CTO1WW:pvrThinkPad10:rvnLENOVO:rn20C1CTO1WW:rvrSKG18I:cvnLENOVO:ct11:cvr0.1:
dmi.product.name: 20C1CTO1WW
dmi.product.version: ThinkPad 10
dmi.sys.vendor: LENOVO

  1. Question 16.10 Trying to get SD Card Slot working on NUC6i5SYH

    I have been searching the web for the last few days trying to figure out how to get the SD card slot on my Intel NUC6i5SYH (skylake i5) working. Unfortunately I yet to find anything to even get started. Anyone have any ideas? I have included the output of lspci and lsusb below if that is helpful.

    lspci output:

    Code:

    00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation Iris Graphics 540 (rev 0a)
    00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
    00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
    00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
    00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
    00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
    00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
    00:1e.6 SD Host controller: Intel Corporation Sunrise Point-LP Secure Digital IO Controller (rev 21)
    00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
    00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
    00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
    00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
    00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection I219-V (rev 21)
    01:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)

    Last edited by jason.m.langley; January 23rd, 2017 at 01:02 PM.

    Reason: updating with code tag


  2. Re: 16.10 Trying to get SD Card Slot working on NUC6i5SYH

    Have you tried inserting an SD card into it that has something on it (at least a fat32 partition) and see if anything shows up in dmesg or sudo fdisk -l or sudo parted -l?

    Since it is not internally USB connected, it may not be a /dev/sdx, it may be some other block device that you might not be able to boot from. At least that is the case for many SD slots in laptops. The card slot on a fairly recent laptop I checked is internally USB connected, but following is example of a an MMC block device that uses a Ricoh device on PCI instead of USB:

    Code:

    efflandt@ssd80-1610:~$ sudo parted -l
    Model: ATA INTEL SSDSA2M080 (scsi)
    Disk /dev/sda: 80.0GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End     Size    Type     File system  Flags
     1      1049kB  76.0GB  76.0GB  primary  ext4         boot
    
    
    Model: SD SR256 (sd/mmc)
    Disk /dev/mmcblk0: 253MB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End    Size   Type     File system  Flags
     1      16.4kB  253MB  253MB  primary  fat16        boot

    It is just a tiny old microSD in SD adapter in SD card slot of an old laptop, but just to show you that you may need to look for something other than sd devices. In this case the first partition on it is /dev/mmcblk0p1.

    i5 650 3.2 GHz upgraded to i7 870, 16 GB 1333 RAM, nvidia GTX 1060, 32″ 1080p & assorted older computers


  3. Re: 16.10 Trying to get SD Card Slot working on NUC6i5SYH

    Welcome. Do you mean it’s simply not reading the card? The reader is showing up fine. Is it a larger SD, say 32-64Gb?

    Install exfat-utils and exfat-fuse, stick the card in (you may need a reboot) and see if it works now.

    PS: Please use [code] tags for terminal output. See the green link in the first line of my signature at bottom of this post.

    Last edited by Bucky Ball; January 23rd, 2017 at 05:31 AM.


  4. Re: 16.10 Trying to get SD Card Slot working on NUC6i5SYH

    Welcome to the Ubuntu Forums

    I have that kind of computer, the same NUC model, and the card slot works unusually well. I can even boot from it, both in UEFI mode and BIOS mode. So either your card reader or its connection is damaged, or the card is bad, or the file system on the card is damaged, or the file system is not understood by linux.

    I agree with the tips in the previous posts, and would add that you connect your SD card to another computer and check the partition(s) and file system(s). In linux you can use the following command lines,

    Code:

    df
    sudo lsblk -f
    sudo lsblk -m
    sudo parted -ls

    Please put the output of the commands within [code]tags[/code] to make it easier to read: Click on the red button Go Advanced, mark the text and click on the # icon above the editing window (or do it manually), like this:

    [code]
    your output line 1
    line 2
    line 3

    [/code]

    Notice that you can mark (press the left button while moving the cursor) and paste (press the middle button or wheel to paste) from a terminal window to the editing box of Ubuntu Forums.

    If the other computer runs Windows, and you cannot boot it with your Ubuntu install drive, you can use the corresponding Windows tools to see the check the partition(s) and file system(s)


  5. Re: 16.10 Trying to get SD Card Slot working on NUC6i5SYH

    Thank you (and the replies above), I have updated the original post with the Code tags (and will keep that in mind going forward).

    To answer a few questions, I have 2 SD cards that I am testing and both work on my win10 laptop. Both are FAT (I believe), one is for a dash cam (32 GB MicroSDHC w/ adaptor) and the other for a DSLR (64 GB SDXC). At the end of the day I am looking for a plug and play type solution, where I can pop in an SD card it will just auto open a file explorer window. That being said I would also live with having to manually mount the card. I am not tying to boot with the card.

    Using the info from your posts it does appear that the cards are being recognized, but not happily (mmcblk0). The output below is with the 32GB card inserted, but I see very similar output for the 64GB card as well.

    Code:

    ME@computer:~$ sudo parted -ls
    Error: /dev/mmcblk0: unrecognised disk label
    Model: SD USDU1 (sd/mmc)
    Disk /dev/mmcblk0: 32.2GB
    Sector size (logical/physical): 512B/512B
    Partition Table: unknown
    Disk Flags:

    Code:

    ME@computer:~$ sudo lsblk -m
    NAME      SIZE OWNER GROUP MODE
    loop1   110.1M root  disk  brw-rw----
    sdd     465.7G root  disk  brw-rw----
    └─sdd1  465.7G root  disk  brw-rw----
    sdb     232.9G root  disk  brw-rw----
    ├─sdb5   29.8G root  disk  brw-rw----
    └─sdb1  203.1G root  disk  brw-rw----
    loop2    76.1M root  disk  brw-rw----
    loop0      75M root  disk  brw-rw----
    sdc     465.8G root  disk  brw-rw----
    └─sdc1  465.8G root  disk  brw-rw----
    sda       1.8T root  disk  brw-rw----
    └─sda1    1.8T root  disk  brw-rw----
    mmcblk0    30G root  root  brw-------
    loop3     115M root  disk  brw-rw----

    Code:

    ME@computer:~$ df
    Filesystem      1K-blocks      Used  Available Use% Mounted on
    udev              8138068         0    8138068   0% /dev
    tmpfs             1631976     19304    1612672   2% /run
    /dev/sdb1       208556068   8645720  189246604   5% /
    tmpfs             8159864    347164    7812700   5% /dev/shm
    tmpfs                5120         4       5116   1% /run/lock
    tmpfs             8159864         0    8159864   0% /sys/fs/cgroup
    /dev/loop0          76800     76800          0 100% /snap/ubuntu-core/423
    /dev/loop1         112768    112768          0 100% /snap/vlc/1
    /dev/loop2          77952     77952          0 100% /snap/ubuntu-core/1357
    /dev/sda1      1922728752 623808664 1201228032  35% /mnt/InternalHD2TB
    /dev/sdd1       488352764 224126768  264225996  46% /mnt/BackUp500GB
    /dev/sdc1       488264736 383744416  104520320  79% /mnt/PHOTOBOX
    tmpfs             1631972        28    1631944   1% /run/user/113
    none              8159864      1936    8157928   1% /tmp/guest-ojjjua
    tmpfs             1631972       112    1631860   1% /run/user/999
    tmpfs             1631972       112    1631860   1% /run/user/1000
    /dev/loop3         117888    117888          0 100% /snap/vlc/4


  6. Re: 16.10 Trying to get SD Card Slot working on NUC6i5SYH

    Yes the card is recognized as it should as /dev/mmcblk0, but no partitions and no file systems. It is possible that at least one of the cards has an exfat file system. Install exfat-utils and exfat-fuse,

    Code:

    sudo apt-get install exfat-utils exfat-fuse

    and check if it works better.

    But there might also be a problem with the partition table alias ‘disk label’, which is what parted is complaining about. Do you know what kind of partition table it is? If it is a Windows ‘dynamic disk’, linux cannot see it correctly.

    Which version of Ubuntu are you running?


  7. Re: 16.10 Trying to get SD Card Slot working on NUC6i5SYH

    Currently running desktop Ubuntu 16.10. I will take a closer look at the partition tables this evening. That being said when I attempted to open gparted with either of the card inserted this morning I was getting a ton of timeout errors.


  8. Re: 16.10 Trying to get SD Card Slot working on NUC6i5SYH

    Quote Originally Posted by sudodus
    View Post

    Code:

    sudo apt-get install exfat-utils exfat-fuse

    I said it earlier and sudodus has reiterated. This is probably all you have/had to do. You seem to have missed it.


  9. Re: 16.10 Trying to get SD Card Slot working on NUC6i5SYH

    I think I did miss it. Only had a few minutes for experimenting this morning though. Excited to get out of work and explore this. Getting the SD card slot working is the last thing I need to check off to make the computer fully wife approved.


  10. Re: 16.10 Trying to get SD Card Slot working on NUC6i5SYH

    Ok, I was able to install exfat-utils exfat-fuse last night, unfortunately it does not appear to have made a huge difference. I also took the two SD cards back to my windows machine and confirmed the exact file systems. The 32 GB card is FAT32 and the 64 GB card is exFAT. Bit of a garbled post this morning but just trying to document what I have done for myself the next time I get to work on this.

    The only difference I am seeing in the output of the suggested commands is lsblk where now the card is brw-rw—- rather than brw——-.

    Code:

    ME@computer:~$ sudo lsblk -m
    NAME      SIZE OWNER GROUP MODE
    loop1     115M root  disk  brw-rw----
    sdd     465.7G root  disk  brw-rw----
    └─sdd1  465.7G root  disk  brw-rw----
    sdb     232.9G root  disk  brw-rw----
    ├─sdb5   29.8G root  disk  brw-rw----
    └─sdb1  203.1G root  disk  brw-rw----
    loop2    76.1M root  disk  brw-rw----
    loop0   110.1M root  disk  brw-rw----
    sdc     465.8G root  disk  brw-rw----
    └─sda1    1.8T root  disk  brw-rw----
    mmcblk0  59.5G root  disk  brw-rw----
    └─sdc1  465.8G root  disk  brw-rw----
    sda       1.8T root  disk  brw-rw----
    loop3      75M root  disk  brw-rw----

    Also tried the output of but the SD card is not included in the output.

    When I insert the 64 GB card in and fire up gparted it recognizes the card (partitions and sizes looks the same as windows storage management consul), but gives me these warnings in the information window:
    Unable to detect file system! Possible reasons are:
    — The file system is damaged
    — The file system is unknown to GParted
    — There is no file system available (unformatted)
    — The device entry /dev/mmcblk0p1 is missing
    Screenshot from 2017-01-24 07-35-08.png

    When I insert the 32 GB card and try to use gparted it hangs for a long time «Scanning all devices…» then at «Confirming /dev/mmcblk0» where the error message «Input/output error during read on /dev/mmcblk0″…
    Screenshot from 2017-01-24 07-40-55.png
    (I hit Ignore)
    then «Searching /dev/mmcblk0″…
    Screenshot from 2017-01-24 08-12-10.png
    (error pops up a bunch of times and I keep hitting Ignore)
    Eventually it finishes up and I get an unallocated block.
    Screenshot from 2017-01-24 08-16-32.jpg
    Unfortunately I get a ton of errors when trying to use gparted to make a new partition table.


I’m trying to reformat a micro SD card that was previously in a raspberry pi (and had stopped working). However, when I plug it into my main computer (arch) and try to partition it, I can’t because gparted says it has no partition table. When I try to fix that by adding a partition table (GPT), I get the errors below. How can I fix my uSD card?

I’ve also included the output of dmesg when I plug it in if that helps. I don’t have access to any other OS, so I can’t just try something on Windows.

output of gparted when I try to put a partition table on the card:

/dev/mmcblk0: unrecognised disk label
Input/output error during write on /dev/mmcblk0
Error fsyncing/closing /dev/mmcblk0: Input/output error

dmesg output when the card is plugged in:

[99702.919024] sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock
[99702.919048] mmc0: new ultra high speed SDR104 SDHC card at address 59b4
[99702.920575] mmcblk0: mmc0:59b4 00000 7.35 GiB 
[99702.930961] mmc0: Controller never released inhibit bit(s).
[99712.952421] mmc0: Timeout waiting for hardware interrupt.
[99712.952498] mmcblk0: error -110 sending status command, retrying
[99712.954084] mmcblk0: unknown error -5 sending read/write command, card status 0x900
[99714.412427] sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock
[99714.412447] mmc0: tried to reset card
[99714.422507] mmc0: Controller never released inhibit bit(s).
[99724.445769] mmc0: Timeout waiting for hardware interrupt.
[99724.445834] mmcblk0: error -110 sending status command, retrying
[99724.448129] mmcblk0: unknown error -5 sending read/write command, card status 0x900
[99724.448136] blk_update_request: I/O error, dev mmcblk0, sector 0
[99724.448140] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[99724.448668] ldm_validate_partition_table(): Disk read failed.
[99724.448673]  mmcblk0: unable to read partition table

locke

Posts: 10
Joined: Sat Jun 11, 2016 6:53 am
languages_spoken: english
Has thanked:
0
Been thanked:
0
Contact:

Buffer I/O Error. EMMC-Reader defect?

I have some trouble with my XU4. I flash the new Ubuntu 16.04 on my Emmc and now i get some strange error-messages on the booting-screen.
Is there a log of the displayed messages? I want to post the errors here.

The message is something similar to:

Code: Select all

Buffer I/O Error on device mmcblk0, logical block 1908720
dwmmc_exynos 12200000.dwmmc0: data timeout error
mmcblk0: time out sending r/w cmd command, card status 0x400900

This is repeating for other blocks and i got some more Errors…

Last edited by locke on Wed Jul 13, 2016 4:21 am, edited 1 time in total.


locke

Posts: 10
Joined: Sat Jun 11, 2016 6:53 am
languages_spoken: english
Has thanked:
0
Been thanked:
0
Contact:

Re: Buffer I/O Error. EMMC-Reader defect?

Post

by locke » Wed Jul 13, 2016 4:17 am

I have now flash a SD-Card and boot from it. Everything works fine, but i couldnt boot from my emmc with the same image.
Also if i connect my emmc to the XU4 while its running via the SD-Card image, the board couldn´t handle the emmc. No automount, nothing…

If i open gparted, it tells me:

Code: Select all

...
Error fsyncing/closing /dev/mmcblk0: Input/output error
Input/output error during write on /dev/mmcblk0
Error fsyncing/closing /dev/mmcblk0: Input/output error
Error fsyncing/closing /dev/mmcblk0: Input/output error
Input/output error during read on /dev/mmcblk0
Input/output error during write on /dev/mmcblk0
Input/output error during write on /dev/mmcblk0
Error fsyncing/closing /dev/mmcblk0: Input/output error
Error fsyncing/closing /dev/mmcblk0: Input/output error
Error fsyncing/closing /dev/mmcblk0: Input/output error
Input/output error during read on /dev/mmcblk0
Error fsyncing/closing /dev/mmcblk0: Input/output error
...

If i plug in the emmc to my desktop i could mount/read/write the emmc without problems.

So does this mean that my XU4-emmc-reader doesnt work anymore? :/



locke

Posts: 10
Joined: Sat Jun 11, 2016 6:53 am
languages_spoken: english
Has thanked:
0
Been thanked:
0
Contact:

Re: Buffer I/O Error. EMMC-Reader defect?

Post

by locke » Wed Jul 13, 2016 9:47 pm

I only have linux-systems running. I check the md5sum of the .img and it was fine. I «dd» the image several times on the emmc, but everythime i get the same error.
Even if i format the emmc on my desktop and create an simple and empty fat16/fat32/ext4 partition on it, my odroid is not able to read it. :/

EDIT:
Now i give Windows a chance and do the steps you recommended on a WIN7 system. Nothing changed. The «verify» exit with sucess, but i can´t read the emmc or boot from it in my XU4.
I also create an empty fat16/fat32 partition under Windows. Same issue. The XU4 isn´table to read it.


User avatar

odroid

Site Admin
Posts: 40594
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked:
3021 times
Been thanked:
1676 times
Contact:

Re: Buffer I/O Error. EMMC-Reader defect?

Post

by odroid » Thu Jul 14, 2016 11:22 am

I see.
Please try this recovery process.
http://forum.odroid.com/viewtopic.php?f=53&t=6173

If it doesn’t help, your eMMC module or XU4 board has an hardware issue on the eMMC interface.

In that case, contact «odroid at hardkernel dot com» with a link of this thread.
She will help your RMA process if you purchased the board from us directly.
Otherwise contact your local distributor.


Who is online

Users browsing this forum: No registered users and 1 guest

Понравилась статья? Поделить с друзьями:
  • Input framing error
  • Input error you must pass a valid list of files to parse
  • Input error parameter value type mismatch
  • Input error incorrect numeric value
  • Input error giant