Mounting SDXC Cards unreliable

Bug #1622376 reported by dolfyn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

Ubuntu 16.04 Lenovo Y700 laptop

Using Sandisk SDXC Cards (camera/pictures) works for one card (mounts) but not for the other (does not mount). Cars and built-in reader works without any problems in this other (obviously) popular OS.

Conclusion: both cards are OK, the reader is OK.

The mounting card:

[94183.755973] mmc0: new ultra high speed DDR50 SDXC card at address aaaa
[94183.756646] mmcblk0: mmc0:aaaa SL64G 59.5 GiB
[94183.770742] mmcblk0: p1
udisksd[3993]: Mounted /dev/mmcblk0p1 at /media/xxx/6337-6134 on behalf of uid 1000
.
.
.
udisksd[3993]: Cleaning up mount point /media/xxx/6337-6134 (device 179:1 is not mounted)
udisksd[3993]: Unmounted /dev/mmcblk0p1 on behalf of uid 1000
[94251.132197] mmc0: card aaaa removed

The failing card (does not fail when running under an alternative OS):

[94804.132020] sdhci: Timeout waiting for Buffer Read Ready interrupt during tuning procedure, falling back to fixed sampling clock
[94804.132100] mmc0: tuning execution failed
[94804.132111] mmc0: error -5 whilst initialising SD card

Curious...

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-36-generic 4.4.0-36.55
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: hk 3842 F.... pulseaudio
CurrentDesktop: Unity
Date: Sun Sep 11 20:12:15 2016
HibernationDevice: RESUME=UUID=87c83c29-86d9-4674-a81c-4012e557565f
InstallationDate: Installed on 2016-06-21 (82 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
Lsusb:
 Bus 002 Device 002: ID 8086:0a66 Intel Corp.
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 8087:0a2b Intel Corp.
 Bus 001 Device 002: ID 046d:c526 Logitech, Inc. Nano Receiver
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 80NV
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic.efi.signed root=UUID=560e20f5-d2aa-48c1-ab12-55c2a34639f8 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-36-generic N/A
 linux-backports-modules-4.4.0-36-generic N/A
 linux-firmware 1.157.3
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/29/2016
dmi.bios.vendor: LENOVO
dmi.bios.version: CDCN35WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: Allsparks 5A
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ideapad Y700-15ISK
dmi.modalias: dmi:bvnLENOVO:bvrCDCN35WW:bd03/29/2016:svnLENOVO:pn80NV:pvrLenovoideapadY700-15ISK:rvnLENOVO:rnAllsparks5A:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrLenovoideapadY700-15ISK:
dmi.product.name: 80NV
dmi.product.version: Lenovo ideapad Y700-15ISK
dmi.sys.vendor: LENOVO

Revision history for this message
dolfyn (hwkrus) 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
penalvch (penalvch) wrote :

dolfyn, thank you for reporting this and helping make Ubuntu better.

In order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Also, you don't need to apport-collect further unless specifically requested to do so.

It is most helpful that after testing of the latest upstream kernel is complete, you mark this report Status Confirmed.

Lastly, to keep this issue relevant to upstream, please continue to test the latest mainline kernel as it becomes available.

Thank you for your help.

tags: added: bios-outdated-cdcn37ww
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
dolfyn (hwkrus) wrote : Re: [Bug 1622376] Re: Mounting SDXC Cards unreliable

Will wait till a build for amd64 succeeds

Revision history for this message
dolfyn (hwkrus) wrote :

Christopher,

Sorry, same thing. One SDXC card mounts the other does not mount.

Results with:

Sep 16 15:32:28 tennekes kernel: [ 0.000000] Linux version
4.8.0-040800rc6-generic (kernel@gloin) (gcc version 6.2.0 20160901 (Ubuntu
6.2.0-3ubuntu11) ) #201609121119 SMP Mon Sep 12 15:21:03 UTC 2016
Sep 16 15:32:28 tennekes kernel: [ 0.000000] Command line:
BOOT_IMAGE=/boot/vmlinuz-4.8.0-040800rc6-generic
root=UUID=560e20f5-d2aa-48c1-ab12-55c2a34639f8 ro quiet splash vt.handoff=7

...

Sep 16 15:33:15 tennekes kernel: [ 55.467439] mmc0: new ultra high speed
DDR50 SDXC card at address aaaa
Sep 16 15:33:15 tennekes kernel: [ 55.472598] mmcblk0: mmc0:aaaa SL64G
59.5 GiB
Sep 16 15:33:15 tennekes kernel: [ 55.487986] mmcblk0: p1
Sep 16 15:33:15 tennekes udisksd[4687]: Mounted /dev/mmcblk0p1 at
/media/xxx/6337-6134 on behalf of uid 1000

...

Sep 16 15:33:25 tennekes udisksd[4687]: Cleaning up mount point
/media/xxx/6337-6134 (device 179:1 is not mounted)
Sep 16 15:33:25 tennekes udisksd[4687]: Unmounted /dev/mmcblk0p1 on behalf
of uid 1000
Sep 16 15:33:29 tennekes kernel: [ 69.269981] mmc0: card aaaa removed

...

Sep 16 15:33:43 tennekes kernel: [ 83.451445] mmc0: tuning execution
failed: -5
Sep 16 15:33:43 tennekes kernel: [ 83.451457] mmc0: error -5 whilst
initialising SD card
Sep 16 15:33:44 tennekes kernel: [ 83.892892] sdhci: Timeout waiting for
Buffer Read Ready interrupt during tuning procedure, falling back to fixed
sampling clock
Sep 16 15:33:44 tennekes kernel: [ 83.894714] mmc0: tuning execution
failed: -5
Sep 16 15:33:44 tennekes kernel: [ 83.894727] mmc0: error -5 whilst
initialising SD card

Best regards

Revision history for this message
penalvch (penalvch) wrote :

dolfyn, to clarify, what is the full manufacturer and model of the working, and non-working card?

Revision history for this message
dolfyn (hwkrus) wrote :

Both are 64GB Sandisk SDXC Cards. Same model/type.

Revision history for this message
penalvch (penalvch) wrote :

dolfyn, as per http://support.lenovo.com/us/en/products/Laptops-and-netbooks/IdeaPad-Y-Series-laptops/y700-15isk?tabName=Downloads&linkTrack=Mast:SubNav:Support:Drivers%20and%20Software|Drivers%20and%20Software&beta=false an update to your computer's buggy, insecure, and outdated BIOS is available (CDCN52WW). When you update to this following https://help.ubuntu.com/community/BIOSUpdate how does this improve the situation?

For more on BIOS updates and linux, please see https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette .

Please note your current BIOS is already in the Bug Description, so posting this on the old BIOS would not be helpful.

Also, you don't have to create a new report.

It is most helpful that after the BIOS is updated, if the problem is still reproducible:
1) Please provide the output of the following terminal command (not perform an apport-collect):
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
2) Please make a comment specifically advising on how this improves the situation.
3) Please mark this report Status Confirmed.

If it's not reproducible, please mark this as Invalid.

Thank you for your help.

Revision history for this message
dolfyn (hwkrus) wrote :

Christopher,

Just for my clarification before updating anything. The BIOS is the
same/shared in Linux and W10? If so, then I cannot see why this will help
as there is no difference between the cards
​ when running under W10.​

Thanks in advance!

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.