← Back to team overview

kernel-packages team mailing list archive

[Bug 965280] Re: Thinkpad T420s - Ricoh e823 not working with SDHC cards (11.10)

 

apport information

** Tags added: saucy

** Description changed:

  When inserting an SDHC card into the Ricoh e823 card reader on my
  Thinkpad T420s, the card is not mounted and the block device is never
  created.  There is a similar bug #773524, but the workaround provided
  there and the updated kernel version haven't solved my problem. I would
  love to help get this solved and am willing and able to test various
  solutions.
  
  In dmesg,  I see "mmc0: error -110 whilst initialising SD card" after
  inserting the card.
  
  tom@whaam ~ $ sudo lspci -v -d 1180:e823
  05:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 07)
  	Subsystem: Lenovo Device 21d2
  	Flags: bus master, fast devsel, latency 0, IRQ 10
  	[virtual] Memory at d0d00000 (32-bit, non-prefetchable) [size=256]
  	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
  	Capabilities: [78] Power Management version 3
  	Capabilities: [80] Express Endpoint, MSI 00
  	Capabilities: [100] Virtual Channel
  	Capabilities: [800] Advanced Error Reporting
  	Kernel driver in use: sdhci-pci
  	Kernel modules: sdhci-pci
  
  For reference, this is what happens when I run the workaround in comment
  #13 on bug #773524
  (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/773524/comments/13):
  
  Mar 26 00:04:15 whaam kernel: [  413.265533] sdhci: Secure Digital Host Controller Interface driver
  Mar 26 00:04:15 whaam kernel: [  413.265535] sdhci: Copyright(c) Pierre Ossman
  Mar 26 00:04:15 whaam kernel: [  413.271153] sdhci-pci 0000:05:00.0: SDHCI controller found [1180:e823] (rev 4)
  Mar 26 00:04:15 whaam kernel: [  413.271232] sdhci-pci 0000:05:00.0: found PCI INT A -> IRQ 10
  Mar 26 00:04:15 whaam kernel: [  413.271241] sdhci-pci 0000:05:00.0: sharing IRQ 10 with 0000:00:16.3
  Mar 26 00:04:15 whaam kernel: [  413.271256] sdhci-pci 0000:05:00.0: sharing IRQ 10 with 0000:00:1c.3
  Mar 26 00:04:15 whaam kernel: [  413.271757] sdhci-pci 0000:05:00.0: setting latency timer to 64
  Mar 26 00:04:15 whaam kernel: [  413.271793] mmc0: no vmmc regulator found
  Mar 26 00:04:15 whaam kernel: [  413.271832] Registered led device: mmc0::
  Mar 26 00:04:15 whaam kernel: [  413.272094] mmc0: SDHCI controller on PCI [0000:05:00.0] using DMA
  Mar 26 00:05:08 whaam kernel: [  465.984670] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:08 whaam kernel: [  466.439245] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:09 whaam kernel: [  466.614932] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:09 whaam kernel: [  466.777559] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:09 whaam kernel: [  466.946194] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:09 whaam kernel: [  467.115316] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:09 whaam kernel: [  467.290641] mmc0: error -110 whilst initialising SD card
  
  Additional info:
  
  tom@whaam ~ $ cat /proc/version_signature 
  Ubuntu 3.0.0-16.29-generic 3.0.20
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  tom        1872 F.... pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xd1620000 irq 25'
     Mixer name	: 'Intel CougarPoint HDMI'
     Components	: 'HDA:14f1506e,17aa21d2,00100000 HDA:80862805,80860101,00100000'
     Controls      : 21
     Simple ctrls  : 9
  Card29.Amixer.info:
   Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown'
     Mixer name	: 'ThinkPad EC (unknown)'
     Components	: ''
     Controls      : 1
     Simple ctrls  : 1
  Card29.Amixer.values:
   Simple mixer control 'Console',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [off]
  DistroRelease: Ubuntu 11.10
  HibernationDevice: RESUME=UUID=1732a83a-50fe-4d0a-b0c3-1149f2554d57
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110802.1)
  MachineType: LENOVO 417153U
  Package: linux (not installed)
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-16-generic root=/dev/mapper/hostname-root ro i915.i915_enable_rc6=1 pcie_aspm=force acpi=noirq quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
  RelatedPackageVersions:
   linux-restricted-modules-3.0.0-16-generic N/A
   linux-backports-modules-3.0.0-16-generic  N/A
   linux-firmware                            1.60
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  StagingDrivers: mei
  Tags:  oneiric running-unity staging
  Uname: Linux 3.0.0-16-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin mapbox plugdev sambashare wireshark
  WifiSyslog:
   Mar 26 10:01:17 whaam kernel: [ 3292.838789] iwlagn 0000:03:00.0: Aggregation not enabled for tid 1 because load = 1
   Mar 26 10:10:22 whaam kernel: [ 3837.360239] iwlagn 0000:03:00.0: iwlagn_tx_agg_start on ra = 00:1e:52:f5:32:18 tid = 1
  dmi.bios.date: 03/24/2011
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8CET32WW (1.09 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 417153U
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr8CET32WW(1.09):bd03/24/2011:svnLENOVO:pn417153U:pvrThinkPadT420s:rvnLENOVO:rn417153U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 417153U
  dmi.product.version: ThinkPad T420s
  dmi.sys.vendor: LENOVO
+ --- 
+ ApportVersion: 2.12.5-0ubuntu1
+ Architecture: amd64
+ AudioDevicesInUse:
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  ubuntu     2753 F.... pulseaudio
+ CasperVersion: 1.336ubuntu1
+ DistroRelease: Ubuntu 13.10
+ LiveMediaBuild: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20131006)
+ MachineType: LENOVO 417153U
+ MarkForUpload: True
+ 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: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
+ ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3
+ 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.11.0-11-generic N/A
+  linux-backports-modules-3.11.0-11-generic  N/A
+  linux-firmware                             1.116
+ RfKill:
+  0: phy0: Wireless LAN
+  	Soft blocked: no
+  	Hard blocked: no
+ Tags:  saucy
+ Uname: Linux 3.11.0-11-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups:
+  
+ dmi.bios.date: 03/24/2011
+ dmi.bios.vendor: LENOVO
+ dmi.bios.version: 8CET32WW (1.09 )
+ dmi.board.asset.tag: Not Available
+ dmi.board.name: 417153U
+ dmi.board.vendor: LENOVO
+ dmi.board.version: Not Available
+ dmi.chassis.asset.tag: No Asset Information
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: LENOVO
+ dmi.chassis.version: Not Available
+ dmi.modalias: dmi:bvnLENOVO:bvr8CET32WW(1.09):bd03/24/2011:svnLENOVO:pn417153U:pvrThinkPadT420s:rvnLENOVO:rn417153U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
+ dmi.product.name: 417153U
+ dmi.product.version: ThinkPad T420s
+ dmi.sys.vendor: LENOVO

** Attachment added: "AlsaInfo.txt"
   https://bugs.launchpad.net/bugs/965280/+attachment/3863487/+files/AlsaInfo.txt

-- 
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/965280

Title:
  Thinkpad T420s - Ricoh e823 not working with SDHC cards (11.10 and
  12.04)

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  When inserting an SDHC card into the Ricoh e823 card reader on my
  Thinkpad T420s, the card is not mounted and the block device is never
  created.  There is a similar bug #773524, but the workaround provided
  there and the updated kernel version haven't solved my problem. I
  would love to help get this solved and am willing and able to test
  various solutions.

  In dmesg,  I see "mmc0: error -110 whilst initialising SD card" after
  inserting the card.

  tom@whaam ~ $ sudo lspci -v -d 1180:e823
  05:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 07)
  	Subsystem: Lenovo Device 21d2
  	Flags: bus master, fast devsel, latency 0, IRQ 10
  	[virtual] Memory at d0d00000 (32-bit, non-prefetchable) [size=256]
  	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
  	Capabilities: [78] Power Management version 3
  	Capabilities: [80] Express Endpoint, MSI 00
  	Capabilities: [100] Virtual Channel
  	Capabilities: [800] Advanced Error Reporting
  	Kernel driver in use: sdhci-pci
  	Kernel modules: sdhci-pci

  For reference, this is what happens when I run the workaround in
  comment #13 on bug #773524
  (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/773524/comments/13):

  Mar 26 00:04:15 whaam kernel: [  413.265533] sdhci: Secure Digital Host Controller Interface driver
  Mar 26 00:04:15 whaam kernel: [  413.265535] sdhci: Copyright(c) Pierre Ossman
  Mar 26 00:04:15 whaam kernel: [  413.271153] sdhci-pci 0000:05:00.0: SDHCI controller found [1180:e823] (rev 4)
  Mar 26 00:04:15 whaam kernel: [  413.271232] sdhci-pci 0000:05:00.0: found PCI INT A -> IRQ 10
  Mar 26 00:04:15 whaam kernel: [  413.271241] sdhci-pci 0000:05:00.0: sharing IRQ 10 with 0000:00:16.3
  Mar 26 00:04:15 whaam kernel: [  413.271256] sdhci-pci 0000:05:00.0: sharing IRQ 10 with 0000:00:1c.3
  Mar 26 00:04:15 whaam kernel: [  413.271757] sdhci-pci 0000:05:00.0: setting latency timer to 64
  Mar 26 00:04:15 whaam kernel: [  413.271793] mmc0: no vmmc regulator found
  Mar 26 00:04:15 whaam kernel: [  413.271832] Registered led device: mmc0::
  Mar 26 00:04:15 whaam kernel: [  413.272094] mmc0: SDHCI controller on PCI [0000:05:00.0] using DMA
  Mar 26 00:05:08 whaam kernel: [  465.984670] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:08 whaam kernel: [  466.439245] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:09 whaam kernel: [  466.614932] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:09 whaam kernel: [  466.777559] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:09 whaam kernel: [  466.946194] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:09 whaam kernel: [  467.115316] mmc0: error -110 whilst initialising SD card
  Mar 26 00:05:09 whaam kernel: [  467.290641] mmc0: error -110 whilst initialising SD card

  Additional info:

  tom@whaam ~ $ cat /proc/version_signature 
  Ubuntu 3.0.0-16.29-generic 3.0.20
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  tom        1872 F.... pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xd1620000 irq 25'
     Mixer name	: 'Intel CougarPoint HDMI'
     Components	: 'HDA:14f1506e,17aa21d2,00100000 HDA:80862805,80860101,00100000'
     Controls      : 21
     Simple ctrls  : 9
  Card29.Amixer.info:
   Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown'
     Mixer name	: 'ThinkPad EC (unknown)'
     Components	: ''
     Controls      : 1
     Simple ctrls  : 1
  Card29.Amixer.values:
   Simple mixer control 'Console',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [off]
  DistroRelease: Ubuntu 11.10
  HibernationDevice: RESUME=UUID=1732a83a-50fe-4d0a-b0c3-1149f2554d57
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110802.1)
  MachineType: LENOVO 417153U
  Package: linux (not installed)
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-16-generic root=/dev/mapper/hostname-root ro i915.i915_enable_rc6=1 pcie_aspm=force acpi=noirq quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
  RelatedPackageVersions:
   linux-restricted-modules-3.0.0-16-generic N/A
   linux-backports-modules-3.0.0-16-generic  N/A
   linux-firmware                            1.60
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  StagingDrivers: mei
  Tags:  oneiric running-unity staging
  Uname: Linux 3.0.0-16-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin mapbox plugdev sambashare wireshark
  WifiSyslog:
   Mar 26 10:01:17 whaam kernel: [ 3292.838789] iwlagn 0000:03:00.0: Aggregation not enabled for tid 1 because load = 1
   Mar 26 10:10:22 whaam kernel: [ 3837.360239] iwlagn 0000:03:00.0: iwlagn_tx_agg_start on ra = 00:1e:52:f5:32:18 tid = 1
  dmi.bios.date: 03/24/2011
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8CET32WW (1.09 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 417153U
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr8CET32WW(1.09):bd03/24/2011:svnLENOVO:pn417153U:pvrThinkPadT420s:rvnLENOVO:rn417153U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 417153U
  dmi.product.version: ThinkPad T420s
  dmi.sys.vendor: LENOVO
  --- 
  ApportVersion: 2.12.5-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ubuntu     2753 F.... pulseaudio
  CasperVersion: 1.336ubuntu1
  DistroRelease: Ubuntu 13.10
  LiveMediaBuild: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20131006)
  MachineType: LENOVO 417153U
  MarkForUpload: True
  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: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3
  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.11.0-11-generic N/A
   linux-backports-modules-3.11.0-11-generic  N/A
   linux-firmware                             1.116
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  Tags:  saucy
  Uname: Linux 3.11.0-11-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  dmi.bios.date: 03/24/2011
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8CET32WW (1.09 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 417153U
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr8CET32WW(1.09):bd03/24/2011:svnLENOVO:pn417153U:pvrThinkPadT420s:rvnLENOVO:rn417153U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 417153U
  dmi.product.version: ThinkPad T420s
  dmi.sys.vendor: LENOVO

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