Re: Process pcscd is running amok (Class 0805: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/19/07, Ray Strode <rstrode@xxxxxxxxxx> wrote:
Miles Lane wrote:
> Hi,
>
> On my updated rawhide installation, pcscd constantly consumes around
> 35% of the cpu cycles.  I have taken to shutting of the service.  Any
> idea how I can troubleshoot this?  Is this a bug, or just an issue
> with my configuration?
pcscd is a smart card daemon.  If you don't use smart cards for
authentication, you can just turn it off with /sbin/chkconfig pcscd off

It sounds like a bug, can you file it?  Running strace -s512 -f -p
$(/sbin/pidof pcscd) might give some indication what it's doing (or
getting a backtrace from gdb)

Very strange.  When I attached strace, the cpu cycles used dropped
down to nothing.  Then, when I stopped pcscd and tried to restart it,
the process won't start up again.  I wonder whether strace somehow
caused pcscd to not stop cleanly?  I'll file a bug and post with the
bug ID.  Should I CC you inside the bug report?

strace -s512 -f -p $(/sbin/pidof pcscd)
Process 2081 attached with 2 threads - interrupt to quit
[pid  2063] select(6, [5], NULL, NULL, NULL <unfinished ...>
Process 2063 detached
Process 2081 detached
Process 2063 detached
[root@hogwarts ~]# /etc/init.d/pcscd stop
Stopping PC/SC smart card daemon (pcscd):                  [  OK  ]
[root@hogwarts ~]# /etc/init.d/pcscd start
Starting PC/SC smart card daemon (pcscd):                  [FAILED]

/var/log/messages contains:
Feb 19 10:19:41 hogwarts pcscd: pcscdaemon.c:93:GetDaemonPid() Can't
open /var/run/pcscd.pid: No such file or directory
Feb 19 10:19:41 hogwarts pcscd: pcscdaemon.c:415:main() file
/var/run/pcscd.pub already exists.
Feb 19 10:19:41 hogwarts pcscd: pcscdaemon.c:417:main() Maybe another
pcscd is running?
Feb 19 10:19:41 hogwarts pcscd: pcscdaemon.c:420:main() I can't read
process pid from /var/run/pcscd.pid
Feb 19 10:19:41 hogwarts pcscd: pcscdaemon.c:423:main() Remove
/var/run/pcscd.pub and /var/run/pcscd.comm
Feb 19 10:19:41 hogwarts pcscd: pcscdaemon.c:425:main() if pcscd is
not running to clear this message.

Thanks,
     Miles

--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]