pcscd spams to syslog and kern.log after enabling smartcard reader in VMWare Workstation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcsc-lite (Ubuntu) |
Confirmed
|
Undecided
|
Ludovic Rousseau |
Bug Description
Info:
Ubuntu 11.04 amd64
pcscd:
Installed: 1.7.0-2ubuntu2
Candidate: 1.7.0-2ubuntu2
Version table:
*** 1.7.0-2ubuntu2 0
500 http://
100 /var/lib/
libccid:
Installed: 1.4.2-2
Candidate: 1.4.2-2
Version table:
*** 1.4.2-2 0
500 http://
100 /var/lib/
libpcsclite1:
Installed: 1.7.0-2ubuntu2
Candidate: 1.7.0-2ubuntu2
Version table:
*** 1.7.0-2ubuntu2 0
500 http://
100 /var/lib/
pcscd --version
pcsc-lite version 1.7.0.
Copyright (C) 1999-2002 by David Corcoran <email address hidden>.
Copyright (C) 2001-2010 by Ludovic Rousseau <email address hidden>.
Copyright (C) 2003-2004 by Damien Sauveron <email address hidden>.
Report bugs to <email address hidden>.
Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=
smart card is JCOP 31.
VMWare Workstation version is 7.1.4 build-385536
Steps for bug reproducing:
1) Launch VMWare OS. In my case this is Windows 7 but I guess it doesn't matter.
2) Connect SmartCard reader to VMWare OS. Reader's model is SCM SCR3110. This is supported by libccid 1.4.2.
3) At this moment, syslog is spamed by pcscd process. The following strings can be found in syslog:
May 24 13:10:02 computer-name pcscd: ccid_usb.
May 24 13:10:02 computer-name pcscd: ifdwrapper.
May 24 13:10:02 computer-name pcscd: eventhandler.
May 24 13:10:02 computer-name pcscd: ccid_usb.
May 24 13:10:02 computer-name pcscd: ifdwrapper.
May 24 13:10:02 computer-name pcscd: eventhandler.
May 24 13:10:02 computer-name pcscd: ccid_usb.
May 24 13:10:02 computer-name pcscd: ifdwrapper.
May 24 13:10:02 computer-name pcscd: eventhandler.
May 24 13:10:02 computer-name pcscd: ccid_usb.
May 24 13:10:02 computer-name pcscd: ifdwrapper.
May 24 13:10:02 computer-name pcscd: eventhandler.
May 24 13:10:02 computer-name pcscd: ccid_usb.
....
4) The log size rapidly increases. It takes several minutes to reach 20 Gb.
5) After disconnecting smartcard reader, the following string can be found in syslog:
...
May 24 13:12:41 computer-name kernel: [75680.065939] usb 8-2: usbfs: process 2956 (pcscd) did not claim interface 0 before use
May 24 13:12:41 computer-name kernel: [75680.065996] usb 8-2: usbfs: process 2956 (pcscd) did not claim interface 0 before use
May 24 13:12:41 computer-name kernel: [75680.066000] usb 8-2: usbfs: process 2956 (pcscd) did not claim interface 0 before use
May 24 13:12:41 computer-name kernel: [75680.066057] usb 8-2: usbfs: process 2956 (pcscd) did not claim interface 0 before use
May 24 13:12:41 computer-name kernel: [75680.066211] usb 8-2: usbfs: process 2956 (pcscd) did not claim interface 0 before use
Also this messages are written in kern.log
6) The problem is solved by restarting of computer.
I cannot attach syslog and kern.log due to huge size.
Partly fixed in revision 5769 lists.alioth. debian. org/pipermail/ pcsclite- cvs-commit/ 2011-May/ 005320. html
http://