[Bug 560384] Re: Suspend fails if SD card is mounted.

SAL-e sal_electronics at hotmail.com
Wed Apr 28 20:17:06 UTC 2010


apport information

** Tags added: apport-collected

** Description changed:

  I am testing daily build of Ubuntu 10.04. 
  Couple of days ago I notice that my Lenovo T400 (2767-R9U) some times fails to suspend or hibernate. Today (2010-04-10) after full update I found out this happens only when I have SD card inserted and mounted. I did several tests, but I don't know the root cause of the problem. Here are the test that I did so far:
  
  1. Test suspend when no devices are attached and no SD card inserted. The laptop suspends without any issues.
  2. I mounted the second partition and suspended the laptop. No problems.
  3. I mounted external USB HDD and suspended the laptop. No problems again.
  4. I inserted SD card after the card has been auto-mounted I tested the access. Then I unmounted the SD card and suspended the laptop. No problems at all.
  5. I insert the SD card and after confirming access I suspended the laptop. The suspend process starts. The 'suspend LED' flashes. After short time all other LEDs go off except power and battery. At this point everything stops. Usually at this moment the power is turned-off and the suspend LED stops flashing and stays on until the laptop is awaken again.
  
  I have tested this with number of different SD cards from Transcend, San
  Disk and Kingston, different capacities ranging from 256MB to 8GB and
  different formats SD and microSD with adapter. It appears that SD card
  it self is not the problem.
  
  6. I have repeated the same test, but this time the SD card was
  connected using external SD-USB adapter and suspend worked as expected.
  
  So I am suspecting that the problem is somewhere in the driver. I am attaching the full list of my hardware created by 'lshw' command.  From there looks like the SD controller used by Lenovo is:
                  description: SD Host controller
                  product: R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
                  vendor: Ricoh Co Ltd
                  physical id: 0.2
                  bus info: pci at 0000:15:00.2
                  version: 21
                  width: 32 bits
                  clock: 33MHz
                  capabilities: pm bus_master cap_list
                  configuration: driver=sdhci-pci latency=32
                  resources: irq:18 memory:f4401800-f44018ff
  
  What should I do in order to find the problem?
  
  Thank you,
  SAL-e
+ --- 
+ AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
+ Architecture: i386
+ ArecordDevices:
+  **** List of CAPTURE Hardware Devices ****
+  card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
+    Subdevices: 1/1
+    Subdevice #0: subdevice #0
+ AudioDevicesInUse:
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  sal-e      2561 F.... pulseaudio
+ CRDA: Error: [Errno 2] No such file or directory
+ Card0.Amixer.info:
+  Card hw:0 'Intel'/'HDA Intel at 0xfc220000 irq 17'
+    Mixer name	: 'Conexant CX20561 (Hermosa)'
+    Components	: 'HDA:14f15051,17aa211c,00100000 HDA:14f12c06,17aa2122,00100000'
+    Controls      : 14
+    Simple ctrls  : 7
+ Card29.Amixer.info:
+  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT16WW-1.06'
+    Mixer name	: 'ThinkPad EC 7VHT16WW-1.06'
+    Components	: ''
+    Controls      : 1
+    Simple ctrls  : 1
+ Card29.Amixer.values:
+  Simple mixer control 'Console',0
+    Capabilities: pswitch pswitch-joined penum
+    Playback channels: Mono
+    Mono: Playback [on]
+ DistroRelease: Ubuntu 10.04
+ HibernationDevice: RESUME=UUID=d1065b56-bedb-4b48-a015-8005e0cfeb54
+ InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
+ MachineType: LENOVO 2767R9U
+ Package: linux (not installed)
+ PccardctlIdent:
+  Socket 0:
+    no product info available
+ PccardctlStatus:
+  Socket 0:
+    no card
+ ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=390f22f9-5e5e-4299-831a-df9dbc079677 ro quiet splash
+ ProcEnviron:
+  SHELL=/bin/bash
+  PATH=(custom, no user)
+  LANG=en_US.utf8
+ ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
+ Regression: No
+ RelatedPackageVersions: linux-firmware 1.34
+ Reproducible: Yes
+ Tags: lucid suspend resume needs-upstream-testing
+ Uname: Linux 2.6.32-21-generic i686
+ UserGroups: disk
+ dmi.bios.date: 11/26/2009
+ dmi.bios.vendor: LENOVO
+ dmi.bios.version: 7UET81WW (3.11 )
+ dmi.board.name: 2767R9U
+ 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:bvr7UET81WW(3.11):bd11/26/2009:svnLENOVO:pn2767R9U:pvrThinkPadT400:rvnLENOVO:rn2767R9U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
+ dmi.product.name: 2767R9U
+ dmi.product.version: ThinkPad T400
+ dmi.sys.vendor: LENOVO

** Attachment added: "AlsaDevices.txt"
   http://launchpadlibrarian.net/46044147/AlsaDevices.txt

-- 
Suspend fails if SD card is mounted.
https://bugs.launchpad.net/bugs/560384
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list