← Back to team overview

kernel-packages team mailing list archive

[Bug 1570257] UdevLog.txt

 

apport information

** Attachment added: "UdevLog.txt"
   https://bugs.launchpad.net/bugs/1570257/+attachment/4636730/+files/UdevLog.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/1570257

Title:
  [Lenovo X220] SDXC UHS card slow performance

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:
   - Install ubuntu on Lenovo X220 laptop (checked with Linux Mint 17.3 (based on Ubuntu Trusty LTS) and LiveUSB of Ubuntu 15.10)
   - Insert and mount SDXC  UHS card.
   - Try to read some files from mounted card.

  Results:
   - Actual read speed is about 20 MB/s.
   - Expected speed is higher, because I checked the same card in the same laptop with external USB2.0 cardreader and it gives about 36MB/s and I think USB3.0 could give more.
   - Actually cardreader in X220 model connected via PCI-E bus, so the performance must be al least equal to USB reader, but it actually almost 2 times lower.

  Some details:
   - I supposed this bug is relevant to #773524 bug, the solution was to lower down base frequency to 50 MHz.
  I checked my card in live 11.04 and it works fine, but the speed is even lower, about 11MB/s.

  Technical details:

  $ cat /proc/version_signature
  Ubuntu 4.2.0-30.36~14.04.1-generic 4.2.8-ckt3

  $ dmesg | grep mmc0
  [    1.934510] mmc0: SDHCI controller on PCI [0000:0d:00.0] using DMA
  [    2.012509] mmc0: new high speed SDXC card at address 59b4
  [    2.014409] mmcblk0: mmc0:59b4 NCard 59.0 GiB

  $ dmesg | grep sdhci
  [    1.929073] sdhci: Secure Digital Host Controller Interface driver
  [    1.929076] sdhci: Copyright(c) Pierre Ossman
  [    1.931077] sdhci-pci 0000:0d:00.0: SDHCI controller found [1180:e822] (rev 7)
  [    1.931611] sdhci-pci 0000:0d:00.0: No vmmc regulator found
  [    1.931613] sdhci-pci 0000:0d:00.0: No vqmmc regulator found

  Note:
  After cold boot I see in dmesg
       SDHCI controller found [1180:e823] (rev 4)
  but after reboot or sleep it changes to
       SDHCI controller found [1180:e822] (rev 7)

  Proposal:
  It is possible to control MMC base frequency manually (i.e. by running sdhci-pci module with needed options) to check the performance on 4.2 kernel on 200 MHz base frequency and be able to low it down for cards that requires that patch.

  Sometimes I see in dmesg
  sdhci-pci 0000:0d:00.0: MMC controller base frequency changed to 50Mhz.
  which indicates that fix of #773524 bug works, but the performance with or without this message is the same.
  --- 
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  v69        2140 F.... pulseaudio
  CurrentDesktop: X-Cinnamon
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=20cf1463-5e18-49ca-9bd5-ce37780a6d84
  InstallationDate: Installed on 2016-02-22 (51 days ago)
  InstallationMedia: Linux Mint 17.3 "Rosa" - Release amd64 20151128
  MachineType: LENOVO 4290EG6
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-30-generic root=UUID=70c04662-5df6-4e4c-88c4-08479cb6a6ab ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.2.0-30.36~14.04.1-generic 4.2.8-ckt3
  RelatedPackageVersions:
   linux-restricted-modules-4.2.0-30-generic N/A
   linux-backports-modules-4.2.0-30-generic  N/A
   linux-firmware                            1.127.20
  Tags:  rosa
  Uname: Linux 4.2.0-30-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers
  _MarkForUpload: True
  dmi.bios.date: 05/14/2015
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8DET70WW (1.40 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 4290EG6
  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:bvr8DET70WW(1.40):bd05/14/2015:svnLENOVO:pn4290EG6:pvrThinkPadX220:rvnLENOVO:rn4290EG6:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 4290EG6
  dmi.product.version: ThinkPad X220
  dmi.sys.vendor: LENOVO

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


References