← Back to team overview

kernel-packages team mailing list archive

[Bug 880249] Re: pcscd deamon deadlock

 

topaz, this bug was reported a while ago and there hasn't been any
activity in it recently. We were wondering if this is still an issue? If
so, could you please test for this with the latest development release
of Ubuntu? ISO images are available from http://cdimage.ubuntu.com
/daily-live/current/ .

If it remains an issue, could you please run the following command in
the development release from a Terminal
(Applications->Accessories->Terminal), as it will automatically gather
and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc1

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.


** Tags added: bios-outdated-3.21 needs-upstream-testing

** Description changed:

  Working setup: Kubuntu 10.04.3 LTS
  Buggy setup: Kubuntu oneiric 11.04
  
  Description:
  After some APDU exchanged with a smartcard using TA=96 (115200 kbit/s) the pcscd deamon is stalled and the result of the APDU is never returned but the smartcard has finished processing of the APDU.
  
  APDU failing is always an APDU with wait extension, and I observed the
  pcscd is stalled in a libusb call.
  
  I suspect a modification in another package such as udev because even
  when installing another version of pcscd/libccid/libpcsclite1 packages
  the pcscd is still stalled after few apdus.
  
- I also tried the working setup (kubuntu 10.04.3) under virtual box within the buggy setup host. and the bug is not present within the guest system this way.
- --- 
+ I also tried the working setup (kubuntu 10.04.3) under virtual box
+ within the buggy setup host. and the bug is not present within the guest
+ system this way.
+ 
+ WORKAROUND: TA=11 (9600 bit/s).
+ 
+ ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  ArecordDevices:
-  **** List of CAPTURE Hardware Devices ****
-  card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
-    Subdevices: 0/1
-    Subdevice #0: subdevice #0
+  **** List of CAPTURE Hardware Devices ****
+  card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
+    Subdevices: 0/1
+    Subdevice #0: subdevice #0
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  oto        1913 F.... pulseaudio
-  /dev/snd/pcmC0D0c:   oto        1913 F...m pulseaudio
-  /dev/snd/pcmC0D0p:   oto        1913 F...m pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  oto        1913 F.... pulseaudio
+  /dev/snd/pcmC0D0c:   oto        1913 F...m pulseaudio
+  /dev/snd/pcmC0D0p:   oto        1913 F...m pulseaudio
  Card0.Amixer.info:
-  Card hw:0 'Intel'/'HDA Intel at 0xf2620000 irq 46'
-    Mixer name	: 'Conexant CX20561 (Hermosa)'
-    Components	: 'HDA:14f15051,17aa211b,00100000'
-    Controls      : 16
-    Simple ctrls  : 8
+  Card hw:0 'Intel'/'HDA Intel at 0xf2620000 irq 46'
+    Mixer name	: 'Conexant CX20561 (Hermosa)'
+    Components	: 'HDA:14f15051,17aa211b,00100000'
+    Controls      : 16
+    Simple ctrls  : 8
  Card29.Amixer.info:
-  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7WHT17WW-1.04'
-    Mixer name	: 'ThinkPad EC 7WHT17WW-1.04'
-    Components	: ''
-    Controls      : 1
-    Simple ctrls  : 1
+  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7WHT17WW-1.04'
+    Mixer name	: 'ThinkPad EC 7WHT17WW-1.04'
+    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]
+  Simple mixer control 'Console',0
+    Capabilities: pswitch pswitch-joined penum
+    Playback channels: Mono
+    Mono: Playback [on]
  DistroRelease: Ubuntu 11.10
  MachineType: LENOVO 7449C4G
  Package: linux (not installed)
  ProcEnviron:
-  LANGUAGE=
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic-pae root=UUID=53468122-b865-4132-affb-a1bef8fe4f8c ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  RelatedPackageVersions:
-  linux-restricted-modules-3.0.0-12-generic-pae N/A
-  linux-backports-modules-3.0.0-12-generic-pae  N/A
-  linux-firmware                                1.60
+  linux-restricted-modules-3.0.0-12-generic-pae N/A
+  linux-backports-modules-3.0.0-12-generic-pae  N/A
+  linux-firmware                                1.60
  StagingDrivers: mei
  Tags:  oneiric staging
  Uname: Linux 3.0.0-12-generic-pae i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers
  dmi.bios.date: 11/16/2009
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7WET61WW (3.11 )
  dmi.board.name: 7449C4G
  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:bvr7WET61WW(3.11):bd11/16/2009:svnLENOVO:pn7449C4G:pvrThinkPadX200Tablet:rvnLENOVO:rn7449C4G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 7449C4G
  dmi.product.version: ThinkPad X200 Tablet
  dmi.sys.vendor: LENOVO
- --- 
+ ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  ArecordDevices:
-  **** List of CAPTURE Hardware Devices ****
-  card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
-    Subdevices: 0/1
-    Subdevice #0: subdevice #0
+  **** List of CAPTURE Hardware Devices ****
+  card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
+    Subdevices: 0/1
+    Subdevice #0: subdevice #0
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  oto        1913 F.... pulseaudio
-  /dev/snd/pcmC0D0c:   oto        1913 F...m pulseaudio
-  /dev/snd/pcmC0D0p:   oto        1913 F...m pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  oto        1913 F.... pulseaudio
+  /dev/snd/pcmC0D0c:   oto        1913 F...m pulseaudio
+  /dev/snd/pcmC0D0p:   oto        1913 F...m pulseaudio
  Card0.Amixer.info:
-  Card hw:0 'Intel'/'HDA Intel at 0xf2620000 irq 46'
-    Mixer name	: 'Conexant CX20561 (Hermosa)'
-    Components	: 'HDA:14f15051,17aa211b,00100000'
-    Controls      : 16
-    Simple ctrls  : 8
+  Card hw:0 'Intel'/'HDA Intel at 0xf2620000 irq 46'
+    Mixer name	: 'Conexant CX20561 (Hermosa)'
+    Components	: 'HDA:14f15051,17aa211b,00100000'
+    Controls      : 16
+    Simple ctrls  : 8
  Card29.Amixer.info:
-  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7WHT17WW-1.04'
-    Mixer name	: 'ThinkPad EC 7WHT17WW-1.04'
-    Components	: ''
-    Controls      : 1
-    Simple ctrls  : 1
+  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7WHT17WW-1.04'
+    Mixer name	: 'ThinkPad EC 7WHT17WW-1.04'
+    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]
+  Simple mixer control 'Console',0
+    Capabilities: pswitch pswitch-joined penum
+    Playback channels: Mono
+    Mono: Playback [on]
  DistroRelease: Ubuntu 11.10
  MachineType: LENOVO 7449C4G
  Package: linux (not installed)
  ProcEnviron:
-  LANGUAGE=
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic-pae root=UUID=53468122-b865-4132-affb-a1bef8fe4f8c ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  RelatedPackageVersions:
-  linux-restricted-modules-3.0.0-12-generic-pae N/A
-  linux-backports-modules-3.0.0-12-generic-pae  N/A
-  linux-firmware                                1.60
+  linux-restricted-modules-3.0.0-12-generic-pae N/A
+  linux-backports-modules-3.0.0-12-generic-pae  N/A
+  linux-firmware                                1.60
  StagingDrivers: mei
  Tags:  oneiric staging
  Uname: Linux 3.0.0-12-generic-pae i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers
  dmi.bios.date: 11/16/2009
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7WET61WW (3.11 )
  dmi.board.name: 7449C4G
  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:bvr7WET61WW(3.11):bd11/16/2009:svnLENOVO:pn7449C4G:pvrThinkPadX200Tablet:rvnLENOVO:rn7449C4G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 7449C4G
  dmi.product.version: ThinkPad X200 Tablet
  dmi.sys.vendor: LENOVO

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Changed in: linux (Ubuntu)
       Status: Triaged => Incomplete

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

Title:
  pcscd deamon deadlock

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Working setup: Kubuntu 10.04.3 LTS
  Buggy setup: Kubuntu oneiric 11.04

  Description:
  After some APDU exchanged with a smartcard using TA=96 (115200 kbit/s) the pcscd deamon is stalled and the result of the APDU is never returned but the smartcard has finished processing of the APDU.

  APDU failing is always an APDU with wait extension, and I observed the
  pcscd is stalled in a libusb call.

  I suspect a modification in another package such as udev because even
  when installing another version of pcscd/libccid/libpcsclite1 packages
  the pcscd is still stalled after few apdus.

  I also tried the working setup (kubuntu 10.04.3) under virtual box
  within the buggy setup host. and the bug is not present within the
  guest system this way.

  WORKAROUND: TA=11 (9600 bit/s).

  ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
     Subdevices: 0/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  oto        1913 F.... pulseaudio
   /dev/snd/pcmC0D0c:   oto        1913 F...m pulseaudio
   /dev/snd/pcmC0D0p:   oto        1913 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xf2620000 irq 46'
     Mixer name	: 'Conexant CX20561 (Hermosa)'
     Components	: 'HDA:14f15051,17aa211b,00100000'
     Controls      : 16
     Simple ctrls  : 8
  Card29.Amixer.info:
   Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7WHT17WW-1.04'
     Mixer name	: 'ThinkPad EC 7WHT17WW-1.04'
     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 11.10
  MachineType: LENOVO 7449C4G
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic-pae root=UUID=53468122-b865-4132-affb-a1bef8fe4f8c ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  RelatedPackageVersions:
   linux-restricted-modules-3.0.0-12-generic-pae N/A
   linux-backports-modules-3.0.0-12-generic-pae  N/A
   linux-firmware                                1.60
  StagingDrivers: mei
  Tags:  oneiric staging
  Uname: Linux 3.0.0-12-generic-pae i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers
  dmi.bios.date: 11/16/2009
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7WET61WW (3.11 )
  dmi.board.name: 7449C4G
  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:bvr7WET61WW(3.11):bd11/16/2009:svnLENOVO:pn7449C4G:pvrThinkPadX200Tablet:rvnLENOVO:rn7449C4G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 7449C4G
  dmi.product.version: ThinkPad X200 Tablet
  dmi.sys.vendor: LENOVO
  ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
     Subdevices: 0/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  oto        1913 F.... pulseaudio
   /dev/snd/pcmC0D0c:   oto        1913 F...m pulseaudio
   /dev/snd/pcmC0D0p:   oto        1913 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xf2620000 irq 46'
     Mixer name	: 'Conexant CX20561 (Hermosa)'
     Components	: 'HDA:14f15051,17aa211b,00100000'
     Controls      : 16
     Simple ctrls  : 8
  Card29.Amixer.info:
   Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7WHT17WW-1.04'
     Mixer name	: 'ThinkPad EC 7WHT17WW-1.04'
     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 11.10
  MachineType: LENOVO 7449C4G
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic-pae root=UUID=53468122-b865-4132-affb-a1bef8fe4f8c ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  RelatedPackageVersions:
   linux-restricted-modules-3.0.0-12-generic-pae N/A
   linux-backports-modules-3.0.0-12-generic-pae  N/A
   linux-firmware                                1.60
  StagingDrivers: mei
  Tags:  oneiric staging
  Uname: Linux 3.0.0-12-generic-pae i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers
  dmi.bios.date: 11/16/2009
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7WET61WW (3.11 )
  dmi.board.name: 7449C4G
  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:bvr7WET61WW(3.11):bd11/16/2009:svnLENOVO:pn7449C4G:pvrThinkPadX200Tablet:rvnLENOVO:rn7449C4G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 7449C4G
  dmi.product.version: ThinkPad X200 Tablet
  dmi.sys.vendor: LENOVO

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