Bug 1323415 - mmc0: error -123 whilst initialising SD card
Summary: mmc0: error -123 whilst initialising SD card
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 23
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-02 17:42 UTC by Abhisek
Modified: 2019-07-24 09:13 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-26 16:41:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Abhisek 2016-04-02 17:42:40 UTC
Description of problem:

SD card is not loading on DELL Latitude E7440 Model.


Version-Release number of selected component (if applicable):

Linux abhisekk-xxx.xxx 4.4.5-300.fc23.x86_64 #1 SMP Thu Mar 10 17:54:44 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:
always

Steps to Reproduce:
1.Insert the SD Card into the card reader slot

Actual results:
$ dmesg | tail
[ 1887.114241] mmc0: error -123 whilst initialising SD card
[ 3336.532660] mmc0: error -123 whilst initialising SD card

Expected results:
SD Card should work

Additional info:

$lspci

03:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)

$ lsmod | grep mmc

mmc_core              122880  3 sdhci,sdhci_acpi,sdhci_pci

$ modprobe -v mmc_core
no output

Card Details:
SanDisk 2GB microSD

Comment 1 Abhisek 2016-04-02 17:48:18 UTC
$ modinfo mmc_core

filename:       /lib/modules/4.4.5-300.fc23.x86_64/kernel/drivers/mmc/core/mmc_core.ko.xz
license:        GPL
depends:        
intree:         Y
vermagic:       4.4.5-300.fc23.x86_64 SMP mod_unload 
parm:           use_spi_crc:bool

Comment 2 Abhisek 2016-04-02 17:57:01 UTC
# lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/3p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
    |__ Port 4: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 4: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 6: Dev 4, If 0, Class=Hub, Driver=hub/3p, 480M
        |__ Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 2: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 6, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 3: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
        |__ Port 3: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
        |__ Port 5: Dev 4, If 0, Class=Application Specific Interface, Driver=, 12M
        |__ Port 5: Dev 4, If 1, Class=Chip/SmartCard, Driver=, 12M

Comment 3 Abhisek 2016-04-02 18:00:07 UTC
# lsusb -v 

    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass        11 Chip/SmartCard
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              5 Contacted SmartCard
      ChipCard Interface Descriptor:
        bLength                54
        bDescriptorType        33
        bcdCCID              1.00
        nMaxSlotIndex           0
        bVoltageSupport         7  5.0V 3.0V 1.8V 
        dwProtocols             3  T=0 T=1
        dwDefaultClock       4000
        dwMaxiumumClock      4000
        bNumClockSupported      0
        dwDataRate           9600 bps
        dwMaxDataRate      250000 bps
        bNumDataRatesSupp.      0
        dwMaxIFSD             247
        dwSyncProtocols  00000000 
        dwMechanical     00000000 
        dwFeatures       000102BA
          Auto configuration based on ATR
          Auto voltage selection
          Auto clock change
          Auto baud rate change
          Auto PPS made by CCID
          NAD value other than 0x00 accepted
          TPDU level exchange
        dwMaxCCIDMsgLen       271
        bClassGetResponse      00
        bClassEnvelope         00
        wlcdLayout           none
        bPINSupport             0 
        bMaxCCIDBusySlots       1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval              32
Device Status:     0x0000
  (Bus Powered)

Comment 4 Laura Abbott 2016-09-23 19:20:56 UTC
*********** MASS BUG UPDATE **************
 
We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 23 kernel bugs.
 
Fedora 23 has now been rebased to 4.7.4-100.fc23.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
 
If you have moved on to Fedora 24 or 25, and are still experiencing this issue, please change the version to Fedora 24 or 25.
 
If you experience different issues, please open a new bug report for those.

Comment 5 Laura Abbott 2016-10-26 16:41:29 UTC
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 4 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.

Comment 6 Abhisek 2017-01-11 14:35:50 UTC
I haven't experienced this issue again till now.

Comment 7 Morou 2019-07-24 09:09:00 UTC
$ dmesg
...
mmc0: error -110 whilist initialising SD card
...
Kernel: 5.1.18-300.fc30.x86_64 #1 SMP Mon Jul 15 15:42:34 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
OS: Fedora 30 with full update from official repos
sd Card: sandisk 10 class (Grey)

Comment 8 Morou 2019-07-24 09:13:04 UTC
On Thinkpad X230 with the same OS and updates of this sd card this problem doesn't exist. On Dell e7440 problem is only with this card (other sd cards work fine)


Note You need to log in before you can comment on or make changes to this bug.