[Kernel-packages] [Bug 1336541] Re: No TRIM via USB

2015-07-20 Thread Dan Parslow
TRIM is accessible via hdparm --trim-sector-ranges on a USB device
supporting ATA PASS THROUGH:

Device is an SSD in a USB 3.0 adapter identified in lshw as follows:

Bus 001 Device 005: ID 174c:55aa ASMedia Technology Inc. ASMedia 2105
SATA bridge

Adapter is hosting a 180GB Intel 530 M.2 NGFF SSD

fstrim fails as described with FITRIM ioctl failed: Operation not
supported even though the hdparm invocation works fine.  I've tested
full ext4 filesystem trims using wiper.sh, the utility by Mark Lord that
was bundled for a while with hdparm until fstrim came out.  This utility
works by wrapping the hdparm invocation.

So it definitely seems to be the case that the USB driver stack is
declining to implement TRIM even in cases where it is technically able
to do so.   Given the extremely high performance of USB3+, it seems very
likely that USB-connected SSDs will become increasingly usual.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1336541

Title:
  No TRIM via USB

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  As USB attached SSDs are becoming quite big and affordable, along comes the 
idea of installing systems on these.
  But with current USB drivers, some functionality seems to be missing from USB 
subsystem.

  The system does not recognize it is an SSD, but it is corrected manually:
  # cat /etc/udev/rules.d/10-forcessd.rules
  SUBSYSTEM==block, ATTRS{vendor}==SanDisk, ATTRS{model}==Extreme, 
KERNEL==sd?, ATTR{queue/rotational}=0

  # cat /sys/block/sdb/queue/rotational
  0

  Checked hdparm, it is saying I have TRIM on the device:
  # hdparm -I /dev/sdb

  /dev/sdb:

  ATA device, with non-removable media
   Model Number:   SanDisk pSSD
  (...)
  Commands/features:
   Enabled  Supported:
  (...)
  * Data Set Management TRIM supported (limit 8 blocks)
  * Deterministic read ZEROs after TRIM
  (...)

  Here is appropriate dmesg:
  [3.815604] usb 2-8: Manufacturer: SunplusIT INC.
  [4.122002] usb 3-3: new SuperSpeed USB device number 2 using xhci_hcd
  [4.138402] usb 3-3: New USB device found, idVendor=0781, idProduct=5580
  [4.138404] usb 3-3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
  [4.138405] usb 3-3: Product: Extreme
  [4.138406] usb 3-3: Manufacturer: SanDisk
  [4.138407] usb 3-3: SerialNumber: AA011109131654094942
  [4.141393] usb-storage 3-3:1.0: USB Mass Storage device detected
  [4.141431] scsi0 : usb-storage 3-3:1.0
  [4.141703] usbcore: registered new interface driver usb-storage

  And:
  [5.331311] sd 0:0:0:0: [sdb] 122544516 512-byte logical blocks: (62.7 
GB/58.4 GiB)
  [5.331608] sd 0:0:0:0: [sdb] Write Protect is off
  [5.331611] sd 0:0:0:0: [sdb] Mode Sense: 33 00 00 08
  [5.331855] sd 0:0:0:0: [sdb] Write cache: disabled, read cache: enabled, 
doesn't support DPO or FUA
  [5.339849]  sdb: sdb1 sdb2 sdb3  sdb5 
  [5.340783] sd 0:0:0:0: [sdb] Attached SCSI disk

  From here I'll be using /boot formatted to ext4 to eliminate luks,lvm
  and btrfs from the equasion:

  # mount |grep sdb2
  /dev/sdb2 on /boot type ext4 (rw,noexec,discard)

  # fstrim -v /boot/
  fstrim: /boot/: FITRIM ioctl failed: Operation not supported

  # strace fstrim -v /boot/
  (...)
  open(/boot/, O_RDONLY)= 3
  ioctl(3, FITRIM, 0x7fffdded85c0)= -1 EOPNOTSUPP (Operation not 
supported)
  (...)

  During debugging, I've tried compiling a kernel with UAS module to
  check, it booted, system was g changed with the trim - as it wouldn't
  been used at all.

  Any ideas why TRIM is not working on USB?
  Any timeframes for possible fix?
  Any workarounds maybe?
  --- 
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  dome   2460 F pulseaudio
   /dev/snd/pcmC1D0p:   dome   2460 F...m pulseaudio
   /dev/snd/controlC0:  dome   2460 F pulseaudio
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=bafebd1d-6988-438f-afd4-b41bb8608616
  InstallationDate: Installed on 2014-06-12 (56 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: LENOVO 20AR001AUK
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-24-generic 
root=/dev/mapper/system-root ro rootflags=subvol=@ 
cryptopts=target=crypter,source=/dev/disk/by-uuid/dc149cdf-62f9-4e29-a048-dd0403f51d56,lvm=system,discard
 quiet splash crashkernel=384M-:128M vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not 
accessible: Permission denied
   No PulseAudio daemon running, or not running 

[Kernel-packages] [Bug 1336541] Re: No TRIM via USB

2015-07-20 Thread Dan Parslow
Correction to the above, that's the lsusb identification of the adapter.
lshw identifies it as

 *-scsi
  physical id: 1
  bus info: usb@1:2.4
  logical name: scsi0
*-disk
 description: SCSI Disk
 product: 2115
 vendor: ASMT
 physical id: 0.0.0
 bus info: scsi@0:0.0.0
 logical name: /dev/sda
 version: 0
 serial: 
 size: 167GiB (180GB)
 capabilities: gpt-1.00 partitioned partitioned:gpt
 configuration: ansiversion=6 
guid=0c8c6c54-9b77-45eb-ac02-39017ab4e289 sectorsize=512

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1336541

Title:
  No TRIM via USB

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  As USB attached SSDs are becoming quite big and affordable, along comes the 
idea of installing systems on these.
  But with current USB drivers, some functionality seems to be missing from USB 
subsystem.

  The system does not recognize it is an SSD, but it is corrected manually:
  # cat /etc/udev/rules.d/10-forcessd.rules
  SUBSYSTEM==block, ATTRS{vendor}==SanDisk, ATTRS{model}==Extreme, 
KERNEL==sd?, ATTR{queue/rotational}=0

  # cat /sys/block/sdb/queue/rotational
  0

  Checked hdparm, it is saying I have TRIM on the device:
  # hdparm -I /dev/sdb

  /dev/sdb:

  ATA device, with non-removable media
   Model Number:   SanDisk pSSD
  (...)
  Commands/features:
   Enabled  Supported:
  (...)
  * Data Set Management TRIM supported (limit 8 blocks)
  * Deterministic read ZEROs after TRIM
  (...)

  Here is appropriate dmesg:
  [3.815604] usb 2-8: Manufacturer: SunplusIT INC.
  [4.122002] usb 3-3: new SuperSpeed USB device number 2 using xhci_hcd
  [4.138402] usb 3-3: New USB device found, idVendor=0781, idProduct=5580
  [4.138404] usb 3-3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
  [4.138405] usb 3-3: Product: Extreme
  [4.138406] usb 3-3: Manufacturer: SanDisk
  [4.138407] usb 3-3: SerialNumber: AA011109131654094942
  [4.141393] usb-storage 3-3:1.0: USB Mass Storage device detected
  [4.141431] scsi0 : usb-storage 3-3:1.0
  [4.141703] usbcore: registered new interface driver usb-storage

  And:
  [5.331311] sd 0:0:0:0: [sdb] 122544516 512-byte logical blocks: (62.7 
GB/58.4 GiB)
  [5.331608] sd 0:0:0:0: [sdb] Write Protect is off
  [5.331611] sd 0:0:0:0: [sdb] Mode Sense: 33 00 00 08
  [5.331855] sd 0:0:0:0: [sdb] Write cache: disabled, read cache: enabled, 
doesn't support DPO or FUA
  [5.339849]  sdb: sdb1 sdb2 sdb3  sdb5 
  [5.340783] sd 0:0:0:0: [sdb] Attached SCSI disk

  From here I'll be using /boot formatted to ext4 to eliminate luks,lvm
  and btrfs from the equasion:

  # mount |grep sdb2
  /dev/sdb2 on /boot type ext4 (rw,noexec,discard)

  # fstrim -v /boot/
  fstrim: /boot/: FITRIM ioctl failed: Operation not supported

  # strace fstrim -v /boot/
  (...)
  open(/boot/, O_RDONLY)= 3
  ioctl(3, FITRIM, 0x7fffdded85c0)= -1 EOPNOTSUPP (Operation not 
supported)
  (...)

  During debugging, I've tried compiling a kernel with UAS module to
  check, it booted, system was g changed with the trim - as it wouldn't
  been used at all.

  Any ideas why TRIM is not working on USB?
  Any timeframes for possible fix?
  Any workarounds maybe?
  --- 
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  dome   2460 F pulseaudio
   /dev/snd/pcmC1D0p:   dome   2460 F...m pulseaudio
   /dev/snd/controlC0:  dome   2460 F pulseaudio
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=bafebd1d-6988-438f-afd4-b41bb8608616
  InstallationDate: Installed on 2014-06-12 (56 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: LENOVO 20AR001AUK
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-24-generic 
root=/dev/mapper/system-root ro rootflags=subvol=@ 
cryptopts=target=crypter,source=/dev/disk/by-uuid/dc149cdf-62f9-4e29-a048-dd0403f51d56,lvm=system,discard
 quiet splash crashkernel=384M-:128M vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not 
accessible: Permission denied
   No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-24-generic N/A
   linux-backports-modules-3.13.0-24-generic  N/A
   linux-firmware 1.127.5
  Tags:  trusty
  Uname: Linux 

[Kernel-packages] [Bug 1336541] Re: No TRIM via USB

2015-07-20 Thread Dan Parslow
It seems that if the device is handled by the usb-storage driver, TRIM
is as of this writing unsupported and likely to remain so.

usb/storage/scsiglue.c sets skip_vpd_pages to true,
source/drivers/scsi/sd.c will not query for the necessary block limits to 
support discard if skip_vpd_pages is true.

The bug poster should note  per comment #1 in their dmesg excerpt that
their device is using the usb-storage driver

However, my Intel 530 SSD in the ASMT 2115 enclosure is acquired by the
uas driver rather than usb-storage.  TRIM is not supported there,
possibly because of a failing in the bridge controller's translation of
the SCSI unmap method to ATA TRIM.

hdparm (and presumably blkdiscard, which I haven't tried) succeed
because they use ATA commands directly without going through a SCSI
translation layer either in usb-storage (disabled) or in the enclosure
firmware (possibly broken?).

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1336541

Title:
  No TRIM via USB

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  As USB attached SSDs are becoming quite big and affordable, along comes the 
idea of installing systems on these.
  But with current USB drivers, some functionality seems to be missing from USB 
subsystem.

  The system does not recognize it is an SSD, but it is corrected manually:
  # cat /etc/udev/rules.d/10-forcessd.rules
  SUBSYSTEM==block, ATTRS{vendor}==SanDisk, ATTRS{model}==Extreme, 
KERNEL==sd?, ATTR{queue/rotational}=0

  # cat /sys/block/sdb/queue/rotational
  0

  Checked hdparm, it is saying I have TRIM on the device:
  # hdparm -I /dev/sdb

  /dev/sdb:

  ATA device, with non-removable media
   Model Number:   SanDisk pSSD
  (...)
  Commands/features:
   Enabled  Supported:
  (...)
  * Data Set Management TRIM supported (limit 8 blocks)
  * Deterministic read ZEROs after TRIM
  (...)

  Here is appropriate dmesg:
  [3.815604] usb 2-8: Manufacturer: SunplusIT INC.
  [4.122002] usb 3-3: new SuperSpeed USB device number 2 using xhci_hcd
  [4.138402] usb 3-3: New USB device found, idVendor=0781, idProduct=5580
  [4.138404] usb 3-3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
  [4.138405] usb 3-3: Product: Extreme
  [4.138406] usb 3-3: Manufacturer: SanDisk
  [4.138407] usb 3-3: SerialNumber: AA011109131654094942
  [4.141393] usb-storage 3-3:1.0: USB Mass Storage device detected
  [4.141431] scsi0 : usb-storage 3-3:1.0
  [4.141703] usbcore: registered new interface driver usb-storage

  And:
  [5.331311] sd 0:0:0:0: [sdb] 122544516 512-byte logical blocks: (62.7 
GB/58.4 GiB)
  [5.331608] sd 0:0:0:0: [sdb] Write Protect is off
  [5.331611] sd 0:0:0:0: [sdb] Mode Sense: 33 00 00 08
  [5.331855] sd 0:0:0:0: [sdb] Write cache: disabled, read cache: enabled, 
doesn't support DPO or FUA
  [5.339849]  sdb: sdb1 sdb2 sdb3  sdb5 
  [5.340783] sd 0:0:0:0: [sdb] Attached SCSI disk

  From here I'll be using /boot formatted to ext4 to eliminate luks,lvm
  and btrfs from the equasion:

  # mount |grep sdb2
  /dev/sdb2 on /boot type ext4 (rw,noexec,discard)

  # fstrim -v /boot/
  fstrim: /boot/: FITRIM ioctl failed: Operation not supported

  # strace fstrim -v /boot/
  (...)
  open(/boot/, O_RDONLY)= 3
  ioctl(3, FITRIM, 0x7fffdded85c0)= -1 EOPNOTSUPP (Operation not 
supported)
  (...)

  During debugging, I've tried compiling a kernel with UAS module to
  check, it booted, system was g changed with the trim - as it wouldn't
  been used at all.

  Any ideas why TRIM is not working on USB?
  Any timeframes for possible fix?
  Any workarounds maybe?
  --- 
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  dome   2460 F pulseaudio
   /dev/snd/pcmC1D0p:   dome   2460 F...m pulseaudio
   /dev/snd/controlC0:  dome   2460 F pulseaudio
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=bafebd1d-6988-438f-afd4-b41bb8608616
  InstallationDate: Installed on 2014-06-12 (56 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release amd64 (20140417)
  MachineType: LENOVO 20AR001AUK
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-24-generic 
root=/dev/mapper/system-root ro rootflags=subvol=@ 
cryptopts=target=crypter,source=/dev/disk/by-uuid/dc149cdf-62f9-4e29-a048-dd0403f51d56,lvm=system,discard
 quiet splash crashkernel=384M-:128M vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not 
accessible: Permission denied
   No PulseAudio daemon running, or not running 

[Kernel-packages] [Bug 1471989] Re: I/O errors prevent installing 15.04 to eMMC

2015-07-16 Thread Dan Parslow
Followup to the previous: disabling DDR50 and MIPI HSI in the BIOS did
not improve the situation.  The errors persist and the installation
still aborts.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1471989

Title:
  I/O errors prevent installing 15.04  to eMMC

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Installing Lubuntu Vivid x86_64 live CD via USB

  Voyo MiniPC  Z3735F CPU with Samsung MCGAFB 64GB eMMC

  Long before completion of file copying -- sometimes just during the
  initial disk scan --a flood of errors will occur, ending the install
  attempt.

  Files attached, but the errors basically look like this:

  [  563.296713] mmc0: Timeout waiting for hardware interrupt.
  [  563.298722] mmc0: Got data interrupt 0x0202 even though no data 
operation was in progress.
  [  563.300951] mmcblk0: error -110 sending stop command, original cmd 
response 0x900, card status 0x400900
  [  563.300958] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
  [  572.693541] mmc0: Timeout waiting for hardware interrupt.
  [  572.695546] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  580.324307] mmc0: Timeout waiting for hardware interrupt.
  [  580.326311] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  580.326332] mmc0: switch to bus width 2 failed
  [  586.387040] mmc0: Timeout waiting for hardware interrupt.
  [  586.389048] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  590.882475] mmc0: Timeout waiting for hardware interrupt.
  [  590.884505] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  590.884680] mmc0: switch to bus width 1 failed
  [  593.811134] mmc0: Timeout waiting for hardware interrupt.
  [  593.813155] mmc0: Got data interrupt 0x0202 even though no data 
operation was in progress.
  [  593.815383] mmcblk0: error -110 sending stop command, original cmd 
response 0x900, card status 0x400900
  [  593.815391] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
  [  593.815395] mmcblk0: retrying using single block read
  [  595.176370] mmc0: Timeout waiting for hardware interrupt.
  [  595.178399] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  595.178664] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
  [  595.178674] blk_update_request: I/O error, dev mmcblk0, sector 112310272
  [...]
  Repeating indefinitely.

  This problem is not present when installing 14.04-2.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-15-generic 3.19.0-15.15
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  CasperVersion: 1.360
  Date: Mon Jul  6 14:28:02 2015
  IwConfig:
   eth0  no wireless extensions.
   
   lono wireless extensions.
  LiveMediaBuild: Lubuntu 15.04 Vivid Vervet - Release amd64 (20150422)
  MachineType: To be filled by O.E.M. To be filled by O.E.M.
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi 
file=/cdrom/preseed/hostname.seed boot=casper quiet splash ---
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-15-generic N/A
   linux-backports-modules-3.19.0-15-generic  N/A
   linux-firmware 1.143
  RfKill:
   
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/08/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 5.6.5
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Aptio CRB
  dmi.board.vendor: AMI Corporation
  dmi.board.version: To be filled by O.E.M.
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr5.6.5:bd01/08/2015:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnAMICorporation:rnAptioCRB:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: To be filled by O.E.M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471989/+subscriptions

-- 
Mailing list: 

[Kernel-packages] [Bug 1422338] Re: I/O errors on mmc partitions

2015-07-14 Thread Dan Parslow
I retract the latter part of comment #28, where I state that Ubuntu
14.04-2 is repeatably installable on this device.   I have just
attempted reinstallation of Ubuntu 14.04-2 and it failed with repeated
block write errors.   This indicates problems were present in the
earlier version and were not introduced since.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1422338

Title:
  I/O errors on mmc partitions

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  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 0x0060 even though no data 
operation was in progress.
  [ 21.952904] mmc0: Got data interrupt 0x0002 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 0x0002 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 0x0002 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   EndSizeFile system  Name  
Flags
   1  1049kB  274MB  273MB   fat32EFI system partition  
boot, esp
   2  274MB   408MB  134MBMicrosoft reserved partition  
msftres
   3  408MB 

[Kernel-packages] [Bug 1471989] Re: I/O errors prevent installing 15.04 to eMMC

2015-07-09 Thread Dan Parslow
Christopher M. Penalver, for the installation source medium (live CD
iso) I am using a USB stick. If you mean installing to a USB stick as
the destination of the installed system, I have successfully installed
to a USB-connected SSD.  The problem seems to be only when I try to
install to the built-in eMMC medium.

Maurizio Gobbo, the Voyo BIOS menu is remarkably complete, and includes
the option to disable DDR50 support.  I didn't try it for performance
reasons but i will when I have a chance.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1471989

Title:
  I/O errors prevent installing 15.04  to eMMC

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Installing Lubuntu Vivid x86_64 live CD via USB

  Voyo MiniPC  Z3735F CPU with Samsung MCGAFB 64GB eMMC

  Long before completion of file copying -- sometimes just during the
  initial disk scan --a flood of errors will occur, ending the install
  attempt.

  Files attached, but the errors basically look like this:

  [  563.296713] mmc0: Timeout waiting for hardware interrupt.
  [  563.298722] mmc0: Got data interrupt 0x0202 even though no data 
operation was in progress.
  [  563.300951] mmcblk0: error -110 sending stop command, original cmd 
response 0x900, card status 0x400900
  [  563.300958] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
  [  572.693541] mmc0: Timeout waiting for hardware interrupt.
  [  572.695546] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  580.324307] mmc0: Timeout waiting for hardware interrupt.
  [  580.326311] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  580.326332] mmc0: switch to bus width 2 failed
  [  586.387040] mmc0: Timeout waiting for hardware interrupt.
  [  586.389048] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  590.882475] mmc0: Timeout waiting for hardware interrupt.
  [  590.884505] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  590.884680] mmc0: switch to bus width 1 failed
  [  593.811134] mmc0: Timeout waiting for hardware interrupt.
  [  593.813155] mmc0: Got data interrupt 0x0202 even though no data 
operation was in progress.
  [  593.815383] mmcblk0: error -110 sending stop command, original cmd 
response 0x900, card status 0x400900
  [  593.815391] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
  [  593.815395] mmcblk0: retrying using single block read
  [  595.176370] mmc0: Timeout waiting for hardware interrupt.
  [  595.178399] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  595.178664] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
  [  595.178674] blk_update_request: I/O error, dev mmcblk0, sector 112310272
  [...]
  Repeating indefinitely.

  This problem is not present when installing 14.04-2.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-15-generic 3.19.0-15.15
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  CasperVersion: 1.360
  Date: Mon Jul  6 14:28:02 2015
  IwConfig:
   eth0  no wireless extensions.
   
   lono wireless extensions.
  LiveMediaBuild: Lubuntu 15.04 Vivid Vervet - Release amd64 (20150422)
  MachineType: To be filled by O.E.M. To be filled by O.E.M.
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi 
file=/cdrom/preseed/hostname.seed boot=casper quiet splash ---
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-15-generic N/A
   linux-backports-modules-3.19.0-15-generic  N/A
   linux-firmware 1.143
  RfKill:
   
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/08/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 5.6.5
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Aptio CRB
  dmi.board.vendor: AMI Corporation
  dmi.board.version: To be filled by O.E.M.
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 

[Kernel-packages] [Bug 1471989] Re: I/O errors prevent installing 15.04 to eMMC

2015-07-08 Thread Dan Parslow
Christopher M. Penalver, reattempted per your request, comment #3.
Failed later in the process during grub-install, with much less error
logging in dmesg.  Filed bug 1472830.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1471989

Title:
  I/O errors prevent installing 15.04  to eMMC

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Installing Lubuntu Vivid x86_64 live CD via USB

  Voyo MiniPC  Z3735F CPU with Samsung MCGAFB 64GB eMMC

  Long before completion of file copying -- sometimes just during the
  initial disk scan --a flood of errors will occur, ending the install
  attempt.

  Files attached, but the errors basically look like this:

  [  563.296713] mmc0: Timeout waiting for hardware interrupt.
  [  563.298722] mmc0: Got data interrupt 0x0202 even though no data 
operation was in progress.
  [  563.300951] mmcblk0: error -110 sending stop command, original cmd 
response 0x900, card status 0x400900
  [  563.300958] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
  [  572.693541] mmc0: Timeout waiting for hardware interrupt.
  [  572.695546] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  580.324307] mmc0: Timeout waiting for hardware interrupt.
  [  580.326311] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  580.326332] mmc0: switch to bus width 2 failed
  [  586.387040] mmc0: Timeout waiting for hardware interrupt.
  [  586.389048] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  590.882475] mmc0: Timeout waiting for hardware interrupt.
  [  590.884505] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  590.884680] mmc0: switch to bus width 1 failed
  [  593.811134] mmc0: Timeout waiting for hardware interrupt.
  [  593.813155] mmc0: Got data interrupt 0x0202 even though no data 
operation was in progress.
  [  593.815383] mmcblk0: error -110 sending stop command, original cmd 
response 0x900, card status 0x400900
  [  593.815391] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
  [  593.815395] mmcblk0: retrying using single block read
  [  595.176370] mmc0: Timeout waiting for hardware interrupt.
  [  595.178399] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
  [  595.178664] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
  [  595.178674] blk_update_request: I/O error, dev mmcblk0, sector 112310272
  [...]
  Repeating indefinitely.

  This problem is not present when installing 14.04-2.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-15-generic 3.19.0-15.15
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  CasperVersion: 1.360
  Date: Mon Jul  6 14:28:02 2015
  IwConfig:
   eth0  no wireless extensions.
   
   lono wireless extensions.
  LiveMediaBuild: Lubuntu 15.04 Vivid Vervet - Release amd64 (20150422)
  MachineType: To be filled by O.E.M. To be filled by O.E.M.
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi 
file=/cdrom/preseed/hostname.seed boot=casper quiet splash ---
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-15-generic N/A
   linux-backports-modules-3.19.0-15-generic  N/A
   linux-firmware 1.143
  RfKill:
   
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/08/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 5.6.5
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Aptio CRB
  dmi.board.vendor: AMI Corporation
  dmi.board.version: To be filled by O.E.M.
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr5.6.5:bd01/08/2015:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnAMICorporation:rnAptioCRB:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: To be filled by O.E.M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471989/+subscriptions

-- 
Mailing list: 

[Kernel-packages] [Bug 1471989] [NEW] I/O errors prevent installing 15.04 to eMMC

2015-07-06 Thread Dan Parslow
Public bug reported:

Installing Lubuntu Vivid x86_64 live CD via USB

Voyo MiniPC  Z3735F CPU with Samsung MCGAFB 64GB eMMC

Long before completion of file copying -- sometimes just during the
initial disk scan --a flood of errors will occur, ending the install
attempt.

Files attached, but the errors basically look like this:

[  563.296713] mmc0: Timeout waiting for hardware interrupt.
[  563.298722] mmc0: Got data interrupt 0x0202 even though no data 
operation was in progress.
[  563.300951] mmcblk0: error -110 sending stop command, original cmd response 
0x900, card status 0x400900
[  563.300958] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
[  572.693541] mmc0: Timeout waiting for hardware interrupt.
[  572.695546] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
[  580.324307] mmc0: Timeout waiting for hardware interrupt.
[  580.326311] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
[  580.326332] mmc0: switch to bus width 2 failed
[  586.387040] mmc0: Timeout waiting for hardware interrupt.
[  586.389048] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
[  590.882475] mmc0: Timeout waiting for hardware interrupt.
[  590.884505] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
[  590.884680] mmc0: switch to bus width 1 failed
[  593.811134] mmc0: Timeout waiting for hardware interrupt.
[  593.813155] mmc0: Got data interrupt 0x0202 even though no data 
operation was in progress.
[  593.815383] mmcblk0: error -110 sending stop command, original cmd response 
0x900, card status 0x400900
[  593.815391] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
[  593.815395] mmcblk0: retrying using single block read
[  595.176370] mmc0: Timeout waiting for hardware interrupt.
[  595.178399] mmc0: Got data interrupt 0x0200 even though no data 
operation was in progress.
[  595.178664] mmcblk0: error -110 transferring data, sector 112310272, nr 8, 
cmd response 0x900, card status 0x0
[  595.178674] blk_update_request: I/O error, dev mmcblk0, sector 112310272
[...]
Repeating indefinitely.

This problem is not present when installing 14.04-2.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-15-generic 3.19.0-15.15
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
CasperVersion: 1.360
Date: Mon Jul  6 14:28:02 2015
IwConfig:
 eth0  no wireless extensions.
 
 lono wireless extensions.
LiveMediaBuild: Lubuntu 15.04 Vivid Vervet - Release amd64 (20150422)
MachineType: To be filled by O.E.M. To be filled by O.E.M.
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi 
file=/cdrom/preseed/hostname.seed boot=casper quiet splash ---
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic  N/A
 linux-firmware 1.143
RfKill:
 
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/08/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.6.5
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Aptio CRB
dmi.board.vendor: AMI Corporation
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr5.6.5:bd01/08/2015:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnAMICorporation:rnAptioCRB:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: To be filled by O.E.M.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1471989

Title:
  I/O errors prevent installing 15.04  to eMMC

Status in linux package in Ubuntu:
  New

Bug description:
  Installing Lubuntu Vivid x86_64 live CD via USB

  Voyo MiniPC  Z3735F CPU with Samsung MCGAFB 64GB eMMC

  Long before completion of file copying -- sometimes just during the
  initial disk scan --a flood of errors will occur, ending the install
  attempt.

  Files attached, but the errors basically look like this:

  [  563.296713] mmc0: Timeout waiting for 

[Kernel-packages] [Bug 1422338] Re: I/O errors on mmc partitions

2015-07-02 Thread Dan Parslow
The MMC I/O errors as detailed in the bug description continue to occur
in Vivid.  This prevents installation, and also will eventually occur
with any intensive write activity, for example if attempting to copy a
working system to the eMMC with rsync.

Voyo Minipc, wih Atom CPU  Z3735F, and Samsung MCGAFB 64GB eMMC

The problem is not present however, in Ubuntu 14.04-2.   Can repeatably,
successfuly install Lubuntu in this release with none of the errors or
messages present in Vivid.   So the problem has been introduced since
Kernel 3.16.0-30-generic x86_64  #40-14.04.1-Ubuntu.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1422338

Title:
  I/O errors on mmc partitions

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  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 0x0060 even though no data 
operation was in progress.
  [ 21.952904] mmc0: Got data interrupt 0x0002 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 0x0002 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 0x0002 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: