On 01/20/2016 01:31 PM, Ludovic Rousseau wrote:
Le 20/01/2016 13:03, Eric Valette a écrit :
Package: pcscd
Version: 1.8.15-1
Severity: critical
Justification: breaks unrelated software
Twice in two days, I noticed my laptop fan was going carsy allthough I
was only doing many mail activity.
Twice I found that pcscd was eating a complete CPU and remembered that
each time I had inserted a regular mass storage USB key (two
different keys)
not my crypto key.
-----------------------------------------------------
top - 12:56:25 up 3:14, 5 users, load average: 2.03, 1.56, 1.31
Tasks: 242 total, 2 running, 239 sleeping, 0 stopped, 1 zombie
%Cpu(s): 34.1 us, 21.1 sy, 0.0 ni, 44.8 id, 0.0 wa, 0.0 hi, 0.1
si, 0.0 st
KiB Mem : 8219052 total, 3472188 free, 2336828 used, 2410036
buff/cache
KiB Swap: 16383996 total, 16383996 free, 0 used. 5812264
avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1687 root 20 0 394560 2916 2120 S 100.3 0.0 147:37.75
pcscd
14477 ceva6380 20 0 424288 57364 37792 R 99.7 0.7 2:59.83
konsole
2921 ceva6380 20 0 1410776 448992 87860 S 15.9 5.5 6:48.46
icedove
4463 ceva6380 20 0 1435116 363080 97112 S 1.7 4.4 4:12.69
iceweasel
Do you have some pcscd related logs in /var/log/* ?
Bye
Note that in the laptop there is a build in broadcom credit card format
crypto key reader (that you see in the log), but I do not use it
although for testing purpose I have enabled the driver. But the bug is
only if I insert a USB key.
daemon.log:Jan 18 15:17:11 r-x-ceva6380 pcscd[11283]: 00000000
ifdhandler.c:144:CreateChannelByNameOrChannel() failed
daemon.log:Jan 18 15:17:11 r-x-ceva6380 pcscd[11283]: 00000032
readerfactory.c:1097:RFInitializeReader() Open Port 0x200000 Failed
(usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004)
daemon.log:Jan 18 15:17:11 r-x-ceva6380 pcscd[11283]: 00000004
readerfactory.c:372:RFAddReader() Broadcom Corp 5880 [Broadcom USH]
(0123456789ABCD) init failed.
daemon.log:Jan 19 13:52:56 r-x-ceva6380 pcscd[1604]: 00000000
ifdhandler.c:144:CreateChannelByNameOrChannel() failed
daemon.log:Jan 19 13:52:56 r-x-ceva6380 pcscd[1604]: 00000027
readerfactory.c:1097:RFInitializeReader() Open Port 0x200000 Failed
(usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004)
daemon.log:Jan 19 13:52:56 r-x-ceva6380 pcscd[1604]: 00000005
readerfactory.c:372:RFAddReader() Broadcom Corp 5880 [Broadcom USH]
(0123456789ABCD) init failed.
daemon.log:Jan 20 09:42:05 r-x-ceva6380 pcscd[1687]: 00000000
ifdhandler.c:144:CreateChannelByNameOrChannel() failed
daemon.log:Jan 20 09:42:05 r-x-ceva6380 pcscd[1687]: 00000026
readerfactory.c:1097:RFInitializeReader() Open Port 0x200000 Failed
(usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004)
daemon.log:Jan 20 09:42:05 r-x-ceva6380 pcscd[1687]: 00000004
readerfactory.c:372:RFAddReader() Broadcom Corp 5880 [Broadcom USH]
(0123456789ABCD) init failed.
daemon.log:Jan 20 12:56:47 r-x-ceva6380 systemd[1]: pcscd.service: Main
process exited, code=killed, status=9/KILL
daemon.log:Jan 20 12:56:47 r-x-ceva6380 systemd[1]: pcscd.service: Unit
entered failed state.
daemon.log:Jan 20 12:56:47 r-x-ceva6380 systemd[1]: pcscd.service:
Failed with result 'signal'. <==== killed it by kill -9 to get CPU back
daemon.log:Jan 20 12:56:47 r-x-ceva6380 pcscd[14663]: 00000000
ifdhandler.c:144:CreateChannelByNameOrChannel() failed
daemon.log:Jan 20 12:56:47 r-x-ceva6380 pcscd[14663]: 00000022
readerfactory.c:1097:RFInitializeReader() Open Port 0x200000 Failed
(usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004)
daemon.log:Jan 20 12:56:47 r-x-ceva6380 pcscd[14663]: 00000003
readerfactory.c:372:RFAddReader() Broadcom Corp 5880 [Broadcom USH]
(0123456789ABCD) init failed.
-- eric
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.