[Lenovo ThinkPad X250] SD card is not recognized.

Bug #1466889 reported by Fuminori Ido
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

When attempting to use card Gigastone 4GB microSD HC, dmesg(1) shows:
  [ 37.203529] vboxpci: IOMMU not found (not registered)
  [ 72.571702] mmc0: new high speed SDHC card at address aaaa
  [ 72.609979] Driver 'mmcblk' needs updating - please use bus_type methods
  [ 72.610041] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
  [ 72.610832] mmcblk0: p1
  [ 72.774560] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Following GUI popup is displayed (in Japanese):
  4.0 GB ボリューム フォルダを書き込みモードで開けません
  このファイルを扱うアプリケーションが登録されていません

This message would be translated to the following in English:
  4.0GB volume folder cannot be opened in write-mode.
  Application to drive this file is not registered.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-21-generic 3.19.0-21.21
ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
Uname: Linux 3.19.0-21-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ido 1704 F.... pulseaudio
 /dev/snd/controlC0: ido 1704 F.... pulseaudio
CurrentDesktop: GNOME-Flashback:Unity
Date: Fri Jun 19 23:08:49 2015
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=24696e94-8aef-4c8c-bf63-65d01633b6e7
HotplugNewDevices:

HotplugNewMounts: /dev/mmcblk0p1 /media/ido/3633-31621 vfat rw,nosuid,nodev,relatime,uid=5356,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
InstallationDate: Installed on 2015-04-25 (55 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
Lsusb:
 Bus 003 Device 002: ID 8087:8001 Intel Corp.
 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 056e:0078 Elecom Co., Ltd
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20CLCTO1WW
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-21-generic.efi.signed root=UUID=fc487175-e8cd-42fc-844f-d2175a09a760 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-21-generic N/A
 linux-backports-modules-3.19.0-21-generic N/A
 linux-firmware 1.143.1
SourcePackage: linux
Symptom: storage
UdevLog: Error: [Errno 2] そのようなファイルやディレクトリはありません: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/23/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: N10ET28W (1.05 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20CLCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50512 STD
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN10ET28W(1.05):bd01/23/2015:svnLENOVO:pn20CLCTO1WW:pvrThinkPadX250:rvnLENOVO:rn20CLCTO1WW:rvrSDK0E50512STD:cvnLENOVO:ct10:cvrNone:
dmi.product.name: 20CLCTO1WW
dmi.product.version: ThinkPad X250
dmi.sys.vendor: LENOVO

Revision history for this message
Fuminori Ido (fuminori-ido) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: SD card is not recognized.

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.1 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc8-unstable/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

Thank you for your quick response. I upgraded as follows, but this issue is not fixed unfortunately...:

  $ uname -a
  Linux dokudami-x250 4.1.0-040100rc8-generic #201506150335 SMP Mon Jun 15 02:37:00 UTC 2015
  x86_64 x86_64 x86_64 GNU/Linux

  $ dmesg
  [ 112.191157] mmc0: error -123 whilst initialising SD card
  [ 116.942695] mmc0: new high speed SDHC card at address aaaa
  [ 116.975723] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
  [ 116.976568] mmcblk0: p1
  [ 117.164196] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Same error dialog is also poped up.

I have added the tag as you instructed.

Best Regards

tags: added: ernel-bug-exists-upstream
Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

Bye the way, could you let me know how to rollback to original 15.04 kernel? I need to use virtualbox on this.

As MainlineBuilds page says, I needed to remove virtualbox to upgrade to latest upstream kernel, but I would like to use it.

Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

Sorry for posting many times. As I was able to roll back to original 15.04 as https://wiki.ubuntu.com/Kernel/MainlineBuilds?action=show&redirect=KernelMainlineBuilds#Uninstalling_upstream_kernels instructs. Let me add one comment here that Virtualbox didn't come back again with the following error:

  Kernel driver not installed (rc=-1908)
  The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv.
  Please reinstall the kernel module by executing
    '/etc/init.d/vboxdrv setup'
  as root...

So that I needed to uninstall all of virtualbox packages and install them again. Then, Virtualbox works again.

penalvch (penalvch)
tags: added: bios-outdated-1.12
Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

Hi, Thank you for your comment. Even I upgraded BIOS, nothing happened;-(

  $ sudo dmidecode
  ...
  BIOS Information
        Vendor: LENOVO
        Version: N10ET33W (1.12 )
        Release Date: 04/06/2015
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 16384 kB
        Characteristics:
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
                UEFI is supported
        BIOS Revision: 1.12
        Firmware Revision: 1.11

Let me show the info of dmesg(1) before inserting SD card and after that:

  $ dmesg >/tmp/dmesg.before
  ...
  (try to insert SD card, then same error dialog is displayed)
  ...
  $ dmesg >/tmp/dmesg.after
  $ diff /tmp/dmesg.before /tmp/dmesg.after
963a964,975
> [ 618.014311] mmc0: new high speed SDHC card at address aaaa
> [ 618.034974] Driver 'mmcblk' needs updating - please use bus_type methods
> [ 618.035027] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
> [ 618.035834] mmcblk0: p1
> [ 618.321715] mmcblk0: error -110 sending status command, retrying
> [ 618.421886] mmcblk0: error -110 sending status command, retrying
> [ 618.521944] mmcblk0: error -110 sending status command, aborting
> [ 618.922218] mmc0: card aaaa removed
> [ 619.943275] mmc0: new high speed SDHC card at address aaaa
> [ 619.943432] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
> [ 619.944434] mmcblk0: p1
> [ 620.107101] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Of course, this SD card works find on Thinkpad X220 Ubuntu 14.04. Any help is very welcome!

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Fuminori Ido, please answer the following questions:
1) What is the full manufacturer and model of the card (not card reader) you are using?
2) Regarding the Lenovo ThinkPad X250 (not X220 or any other computer) did this work in Trusty? If you don't know, could you please test via http://releases.ubuntu.com/ and advise to the results?

tags: added: latest-bios-1.12
removed: bios-outdated-1.12
summary: - SD card is not recognized.
+ [Lenovo ThinkPad X250] SD card is not recognized.
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

Hi,

> 1) What is the full manufacturer and model of the card (not card reader) you are using?

Gigastone 4GB microSD HC
Not only this, but also another SD card (SILICON POWER 16GB SDHC) is not read as well.

> 2) Regarding the Lenovo ThinkPad X250 (not X220 or any other computer) did this work in Trusty?

Trusty means 14.04, right? I tried, but after hitting "Install Ubuntu" menu, screen just fell into black-screen;-(

Thanks and Best Regards.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
description: updated
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

I applied the latest kernel as follows:

  $ cat uname
  Linux dokudami-x250 4.1.1-040101-generic #201507030635 SMP Fri Jul 3 10:38:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

but issue isn't fixed:-(

Following is the diff of dmesg:

  $ dmesg >/tmp/dmesg.before
  (insert SD card, but not recognized...)
  $ dmesg >/tmp/dmesg.after
  $ diff /tmp/dmesg.before /tmp/dmesg.after
  925a926,929
  > [ 146.340098] mmc0: new high speed SDHC card at address aaaa
  > [ 146.340442] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
  > [ 146.341528] mmcblk0: p1
  > [ 146.508751] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

I wonder how about another hardware of the same X250. Does anybody who has the same X250 can test this issue?

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

Let me add one more comment. I doubted My PC's hardware failure, but there was no problem. Why I can say that is because I booted Windows from the same PC and the SD card was recognized.

penalvch (penalvch)
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.1.1
removed: ernel-bug-exists-upstream
Revision history for this message
penalvch (penalvch) wrote :

Fuminori Ido, could you please post to this report as separate attachments the following terminal commands:
1)
usb-devices

2)
lsusb -v

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

output of usb-devices(1)

Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

Here lsusb -v output by normal user is. This command execution shows the following error message on the terminal:

  Couldn't open device, some information will be missing

Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

Because lsusb output shows an error above, I did the same command with sudo(8)

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Fuminori Ido (fuminori-ido) wrote :

Hi Christopher, thank you for your reply. I added the files above.

Revision history for this message
penalvch (penalvch) wrote :

Fuminori Ido, the issue you are reporting is an upstream one. Could you please report this problem to the appropriate mailing list (linux-mmc) by following the instructions verbatim at https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked via http://vger.kernel.org/vger-lists.html . It can take a day for the new e-mail to show up in the respective archive.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Raoul Bhatia (raoul-bhatia) wrote :

Kernel 3.19.0-27-generic #29-Ubuntu SMP Fri Aug 14 21:43:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[ 1262.959100] mmc0: new high speed SDHC card at address b368
[ 1262.960257] mmcblk0: mmc0:b368 SMI 30.0 GiB
[ 1262.961323] mmcblk0: p1 p2
[ 1263.068815] mmcblk0: error -110 transferring data, sector 63075616, nr 8, cmd response 0x900, card status 0xb00
[ 1263.068821] mmcblk0: retrying using single block read
[ 1263.153118] mmcblk0: error -110 transferring data, sector 63075616, nr 8, cmd response 0x900, card status 0x0
[ 1263.153125] blk_update_request: 29 callbacks suppressed
[ 1263.153128] blk_update_request: I/O error, dev mmcblk0, sector 63075616
[ 1263.237436] mmcblk0: error -110 transferring data, sector 63075617, nr 7, cmd response 0x900, card status 0x0
[ 1263.237445] blk_update_request: I/O error, dev mmcblk0, sector 63075617

Was working a couple of weeks ago with some other 3.19.0-xxx kernel

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.