Public bug reported: 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://ru.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages 100 /var/lib/dpkg/status libccid: Installed: 1.4.2-2 Candidate: 1.4.2-2 Version table: *** 1.4.2-2 0 500 http://ru.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages 100 /var/lib/dpkg/status libpcsclite1: Installed: 1.7.0-2ubuntu2 Candidate: 1.7.0-2ubuntu2 Version table: *** 1.7.0-2ubuntu2 0 500 http://ru.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages 100 /var/lib/dpkg/status pcscd --version pcsc-lite version 1.7.0. Copyright (C) 1999-2002 by David Corcoran <corco...@linuxnet.com>. Copyright (C) 2001-2010 by Ludovic Rousseau <ludovic.rouss...@free.fr>. Copyright (C) 2003-2004 by Damien Sauveron <sauve...@labri.fr>. Report bugs to <mus...@lists.musclecard.com>. Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d 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.c:618:WriteUSB() write failed (8/2): -1 Device or resource busy May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not transacted: 612 May 24 13:10:02 computer-name pcscd: eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 [CCID Interface] (21120818206778) 00 00 May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed (8/2): -1 Device or resource busy May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not transacted: 612 May 24 13:10:02 computer-name pcscd: eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 [CCID Interface] (21120818206778) 00 00 May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed (8/2): -1 Device or resource busy May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not transacted: 612 May 24 13:10:02 computer-name pcscd: eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 [CCID Interface] (21120818206778) 00 00 May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed (8/2): -1 Device or resource busy May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not transacted: 612 May 24 13:10:02 computer-name pcscd: eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 [CCID Interface] (21120818206778) 00 00 May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed (8/2): -1 Device or resource busy .... 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. ** Affects: pcsc-lite (Ubuntu) Importance: Undecided Status: New ** Tags: kern.log pcscd syslog vmware ** Description changed: - Info: + 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://ru.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages - 100 /var/lib/dpkg/status + Installed: 1.7.0-2ubuntu2 + Candidate: 1.7.0-2ubuntu2 + Version table: + *** 1.7.0-2ubuntu2 0 + 500 http://ru.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages + 100 /var/lib/dpkg/status libccid: - Installed: 1.4.2-2 - Candidate: 1.4.2-2 - Version table: - *** 1.4.2-2 0 - 500 http://ru.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages - 100 /var/lib/dpkg/status + Installed: 1.4.2-2 + Candidate: 1.4.2-2 + Version table: + *** 1.4.2-2 0 + 500 http://ru.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages + 100 /var/lib/dpkg/status libpcsclite1: - Installed: 1.7.0-2ubuntu2 - Candidate: 1.7.0-2ubuntu2 - Version table: - *** 1.7.0-2ubuntu2 0 - 500 http://ru.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages - 100 /var/lib/dpkg/status + Installed: 1.7.0-2ubuntu2 + Candidate: 1.7.0-2ubuntu2 + Version table: + *** 1.7.0-2ubuntu2 0 + 500 http://ru.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages + 100 /var/lib/dpkg/status - pcscd --version + pcscd --version pcsc-lite version 1.7.0. Copyright (C) 1999-2002 by David Corcoran <corco...@linuxnet.com>. Copyright (C) 2001-2010 by Ludovic Rousseau <ludovic.rouss...@free.fr>. Copyright (C) 2003-2004 by Damien Sauveron <sauve...@labri.fr>. Report bugs to <mus...@lists.musclecard.com>. Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d 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 it is Windows 7 but I guess it doesn't matter. + 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.c:618:WriteUSB() write failed (8/2): -1 Device or resource busy May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not transacted: 612 May 24 13:10:02 computer-name pcscd: eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 [CCID Interface] (21120818206778) 00 00 May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed (8/2): -1 Device or resource busy May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not transacted: 612 May 24 13:10:02 computer-name pcscd: eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 [CCID Interface] (21120818206778) 00 00 May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed (8/2): -1 Device or resource busy May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not transacted: 612 May 24 13:10:02 computer-name pcscd: eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 [CCID Interface] (21120818206778) 00 00 May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed (8/2): -1 Device or resource busy May 24 13:10:02 computer-name pcscd: ifdwrapper.c:346:IFDStatusICC() Card not transacted: 612 May 24 13:10:02 computer-name pcscd: eventhandler.c:303:EHStatusHandlerThread() Error communicating to: SCM SCR 3310 [CCID Interface] (21120818206778) 00 00 May 24 13:10:02 computer-name pcscd: ccid_usb.c:618:WriteUSB() write failed (8/2): -1 Device or resource busy .... 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: + 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787451 Title: pcscd spams to syslog and kern.log after enabling smartcard reader in VMWare Workstation -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs