Hello again,

Here is the log with the card *not insterted* in the reader.

I'm using this version of pcsc.
rpm -qa | grep pcsc
pcsc-lite-libs-1.5.2-5.el6.x86_64
pcsc-lite-1.5.2-5.el6.x86_64
pcsc-lite-devel-1.5.2-5.el6.x86_64
pcsc-lite-debuginfo-1.5.2-5.el6.x86_64

ccid driver I'm currently using the one delivered from omnikey called, ifdokccid_lnx_x64-3.5.1.

I could change to use the opensource ccid if you want ?

/Patrik Martinsson,
Sweden.




On 08/30/2010 01:31 PM, Martin Paljak wrote:
Hello,


I already found the culprits. Just to confirm that the same thing happens the 
same way without the card, please provide the pkcs11_eventmgr log *without* the 
card in reader.. You can freely post the pkcs11_eventmgr (the only interesting 
log) log to the mailing list, it contains no sensitive (card related) 
information.

0x7f43bb0477c0 12:57:26.242 [opensc-pkcs11] 
reader-pcsc.c:284:refresh_attributes: OMNIKEY CardMan 3x21 00 
00:SCardGetStatusChange failed: 0x80100003 which translates to  
SCARD_E_INVALID_HANDLE

Also, please provide your pcsc-lite/ccid versions, as it relates to pcsc-lite 
version.

Thanks,


On Aug 30, 2010, at 2:23 PM, Patrik Martinsson wrote:

Hello Martin,

Ah ok, thanks for your help and interest on this matter Martin.

I've attached the logs from both pkcs11_inspect and pkcs11_eventmgr when debug 
is 99 in opensc.conf.

Theese lines seems to indicate that something is not right,

0x7f43bb0477c0 12:57:26.242 [opensc-pkcs11] 
reader-pcsc.c:284:refresh_attributes: OMNIKEY CardMan 3x21 00 
00:SCardGetStatusChange failed: 0x80100003
0x7f43bb0477c0 12:57:26.242 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: -1900
0x7f43bb0477c0 12:57:26.242 [opensc-pkcs11] slot.c:192:card_detect: OMNIKEY 
CardMan 3x21 00 00: failed, Unknown error
0x7f43bb0477c0 12:57:26.242 [opensc-pkcs11] 
misc.c:59:sc_to_cryptoki_error_common: opensc error: Unknown error (-1900)
0x7f43bb0477c0 12:57:26.244 [opensc-pkcs11] 
reader-pcsc.c:1143:pcsc_wait_for_event: returning with: -1112
0x7f43bb0477c0 12:57:26.244 [opensc-pkcs11] 
pkcs11-global.c:664:C_WaitForSlotEvent: sc_wait_for_event() returned -1112
0x7f43bb0477c0 12:57:26.244 [opensc-pkcs11] 
misc.c:59:sc_to_cryptoki_error_common: opensc error: Timeout while waiting for 
event from card reader (-1112)

Please come back to me if there is anything more in debugway i can do.

/Patrik





On 08/30/2010 01:07 PM, Martin Paljak wrote:
Hello,
On Aug 30, 2010, at 1:54 PM, Patrik Martinsson wrote:

Just to clarify before posting fully debuglogs, we have our private 
certificates on these cards. But those are not exportable right ?
And by posting fully opensc(debug 99) logs here i wont expose those in any way 
right ?

Private *keys* are not exportable (usually) but certificates are exposed in the log, yes. 
If you have sensitive material in your certificates, filter that. If you don't want the 
mailing list engine to archive your full logs (and you feel like that's appropriate for 
your security concerns) send them to me personally and I'll filter out anything that 
seems like "possibly not wanted to be publicly on the list archive".


pkcs11_eventmgr debug
DEBUG:pkcs11_eventmgr.c:379: Initializing NSS ...
DEBUG:pkcs11_eventmgr.c:395: loading the module ...
DEBUG:pkcs11_eventmgr.c:405: loading Module explictly, 
moduleSpec=<library="/usr/local/lib/opensc-pkcs11.so" name="SmartCard"> 
module=/usr/local/lib/opensc-pkcs11.so

0x7f5f7fc927c0 13:32:16.602 [opensc-pkcs11] ctx.c:749:sc_context_create: 
===================================
0x7f5f7fc927c0 13:32:16.602 [opensc-pkcs11] ctx.c:750:sc_context_create: opensc 
version: 0.12.0-svn
0x7f5f7fc927c0 13:32:16.602 [opensc-pkcs11] reader-pcsc.c:619:pcsc_init: PC/SC 
options: connect_reset=1 connect_exclusive=0 transaction_reset=0 enable_pinpad=1
0x7f5f7fc927c0 13:32:16.602 [opensc-pkcs11] 
reader-pcsc.c:724:pcsc_detect_readers: called
0x7f5f7fc927c0 13:32:16.602 [opensc-pkcs11] 
reader-pcsc.c:731:pcsc_detect_readers: Probing pcsc readers
0x7f5f7fc927c0 13:32:16.602 [opensc-pkcs11] 
reader-pcsc.c:753:pcsc_detect_readers: Establish pcsc context
0x7f5f7fc927c0 13:32:16.603 [opensc-pkcs11] 
reader-pcsc.c:801:pcsc_detect_readers: Found new pcsc reader 'OMNIKEY CardMan 
3x21 00 00'
0x7f5f7fc927c0 13:32:16.603 [opensc-pkcs11] 
reader-pcsc.c:827:pcsc_detect_readers: Requesting reader features ... 
0x7f5f7fc927c0 13:32:16.664 [opensc-pkcs11] 
reader-pcsc.c:833:pcsc_detect_readers: OMNIKEY CardMan 3x21 00 00:SCardConnect: 
0x00000000
0x7f5f7fc927c0 13:32:16.664 [opensc-pkcs11] 
reader-pcsc.c:840:pcsc_detect_readers: OMNIKEY CardMan 3x21 00 
00:SCardBeginTransaction: 0x00000000
0x7f5f7fc927c0 13:32:16.664 [opensc-pkcs11] 
reader-pcsc.c:852:pcsc_detect_readers: OMNIKEY CardMan 3x21 00 00:SCardControl 
failed: 0x80100008
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] 
reader-pcsc.c:287:refresh_attributes: event: 0x100012
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] 
reader-pcsc.c:288:refresh_attributes: state: 0x0000
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] 
reader-pcsc.c:964:pcsc_detect_readers: returning with: 0
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] misc.c:325:load_pkcs11_parameters: 
PKCS#11 options: plug_and_play=1 max_virtual_slots=16 slots_per_card=4 
hide_empty_tokens=1 lock_login=0 pin_unblock_style=0 zero_ckaid_for_ca_certs=0
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] slot.c:90:create_slot: Creating 
slot with id 0x0
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] slot.c:90:create_slot: Creating 
slot with id 0x1
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] slot.c:90:create_slot: Creating 
slot with id 0x2
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] slot.c:90:create_slot: Creating 
slot with id 0x3
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] slot.c:90:create_slot: Creating 
slot with id 0x4
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.705 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:287:refresh_attributes: event: 0x100010
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:288:refresh_attributes: state: 0x100012
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:351:pcsc_detect_card_presence: returning with: 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] pkcs11-global.c:259:C_Initialize: 
C_Initialize() = CKR_OK
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] pkcs11-global.c:330:C_GetInfo: 
C_GetInfo()
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] pkcs11-global.c:375:C_GetSlotList: 
C_GetSlotList(token=0, plug-n-play)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:724:pcsc_detect_readers: called
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:731:pcsc_detect_readers: Probing pcsc readers
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:964:pcsc_detect_readers: returning with: 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:287:refresh_attributes: event: 0x100010
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:288:refresh_attributes: state: 0x100010
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:351:pcsc_detect_card_presence: returning with: 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:196:card_detect: OMNIKEY 
CardMan 3x21 00 00: card absent
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:144:card_removed: OMNIKEY 
CardMan 3x21 00 00: card removed
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x1)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x1) 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x2)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x2) 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x3)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x3) 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x4)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x4) 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] pkcs11-global.c:402:C_GetSlotList: 
was only a size inquiry (5)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] pkcs11-global.c:375:C_GetSlotList: 
C_GetSlotList(token=0, refresh)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:287:refresh_attributes: event: 0x100010
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:288:refresh_attributes: state: 0x100010
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:351:pcsc_detect_card_presence: returning with: 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:196:card_detect: OMNIKEY 
CardMan 3x21 00 00: card absent
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:144:card_removed: OMNIKEY 
CardMan 3x21 00 00: card removed
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x1)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x1) 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x2)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x2) 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x3)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x3) 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x4)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x4) 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] pkcs11-global.c:419:C_GetSlotList: 
returned 5 slots
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] pkcs11-global.c:470:C_GetSlotInfo: 
C_GetSlotInfo(0xffffffffffffffff)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] pkcs11-global.c:492:C_GetSlotInfo: 
C_GetSlotInfo(0xffffffffffffffff) = CKR_OK
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] pkcs11-global.c:470:C_GetSlotInfo: 
C_GetSlotInfo(0x1)
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:287:refresh_attributes: event: 0x100010
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:288:refresh_attributes: state: 0x100010
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] 
reader-pcsc.c:351:pcsc_detect_card_presence: returning with: 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: 0
0x7f5f7fc927c0 13:32:16.706 [opensc-pkcs11] slot.c:196:card_detect: OMNIKEY 
CardMan 3x21 00 00: card absent
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:144:card_removed: OMNIKEY 
CardMan 3x21 00 00: card removed
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x1)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x1) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x2)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x2) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x3)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x3) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x4)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x4) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] pkcs11-global.c:492:C_GetSlotInfo: 
C_GetSlotInfo(0x1) = CKR_OK
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] pkcs11-global.c:470:C_GetSlotInfo: 
C_GetSlotInfo(0x2)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:287:refresh_attributes: event: 0x100010
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:288:refresh_attributes: state: 0x100010
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:351:pcsc_detect_card_presence: returning with: 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:196:card_detect: OMNIKEY 
CardMan 3x21 00 00: card absent
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:144:card_removed: OMNIKEY 
CardMan 3x21 00 00: card removed
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x1)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x1) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x2)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x2) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x3)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x3) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x4)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x4) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] pkcs11-global.c:492:C_GetSlotInfo: 
C_GetSlotInfo(0x2) = CKR_OK
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] pkcs11-global.c:470:C_GetSlotInfo: 
C_GetSlotInfo(0x3)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:287:refresh_attributes: event: 0x100010
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:288:refresh_attributes: state: 0x100010
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:351:pcsc_detect_card_presence: returning with: 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:196:card_detect: OMNIKEY 
CardMan 3x21 00 00: card absent
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:144:card_removed: OMNIKEY 
CardMan 3x21 00 00: card removed
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x1)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x1) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x2)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x2) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x3)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x3) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x4)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x4) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] pkcs11-global.c:492:C_GetSlotInfo: 
C_GetSlotInfo(0x3) = CKR_OK
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] pkcs11-global.c:470:C_GetSlotInfo: 
C_GetSlotInfo(0x4)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:287:refresh_attributes: event: 0x100010
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:288:refresh_attributes: state: 0x100010
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
reader-pcsc.c:351:pcsc_detect_card_presence: returning with: 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:196:card_detect: OMNIKEY 
CardMan 3x21 00 00: card absent
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:144:card_removed: OMNIKEY 
CardMan 3x21 00 00: card removed
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x1)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x1) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x2)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x2) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x3)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x3) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] slot.c:340:slot_token_removed: 
slot_token_removed(0x4)
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-session.c:126:sc_pkcs11_close_all_sessions: real C_CloseAllSessions(0x4) 0
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] pkcs11-global.c:492:C_GetSlotInfo: 
C_GetSlotInfo(0x4) = CKR_OK
DEBUG:pkcs11_eventmgr.c:437: Going to be daemon...
DEBUG:pkcs11_eventmgr.c:453: Waiting for Events
0x7f5f7fc927c0 13:32:16.707 [opensc-pkcs11] 
pkcs11-global.c:619:C_WaitForSlotEvent: C_WaitForSlotEvent(block=1)
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:377:slot_find_changed: called
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:284:refresh_attributes: OMNIKEY CardMan 3x21 00 
00:SCardGetStatusChange failed: 0x80100003
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:350:pcsc_detect_card_presence: returning with: -1900
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: -1900
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:192:card_detect: OMNIKEY 
CardMan 3x21 00 00: failed, Unknown error
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
misc.c:59:sc_to_cryptoki_error_common: opensc error: Unknown error (-1900)
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:382:slot_find_changed: slot 
0xffffffffffffffff token: 0 events: 0x00
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:388:slot_find_changed: mask: 
0x0F events: 0x00 result: 0
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:382:slot_find_changed: slot 
0x1 token: 0 events: 0x00
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:388:slot_find_changed: mask: 
0x0F events: 0x00 result: 0
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:382:slot_find_changed: slot 
0x2 token: 0 events: 0x00
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:388:slot_find_changed: mask: 
0x0F events: 0x00 result: 0
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:382:slot_find_changed: slot 
0x3 token: 0 events: 0x00
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:388:slot_find_changed: mask: 
0x0F events: 0x00 result: 0
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:382:slot_find_changed: slot 
0x4 token: 0 events: 0x00
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:388:slot_find_changed: mask: 
0x0F events: 0x00 result: 0
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] slot.c:396:slot_find_changed: 
returning with: 8
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
pkcs11-global.c:641:C_WaitForSlotEvent: C_WaitForSlotEvent() reader_states:(nil)
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] ctx.c:795:sc_wait_for_event: called
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] ctx.c:797:sc_wait_for_event: trying 
to wait event from pcsc
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:981:pcsc_wait_for_event: called
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:997:pcsc_wait_for_event: Trying to watch 1 readers
[r...@nrlx103 ~]# 0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:1050:pcsc_wait_for_event: Looping...
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:1058:pcsc_wait_for_event: 'OMNIKEY CardMan 3x21 00 00' 
before=0x0000 now=0x100012
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:1058:pcsc_wait_for_event: '\\?PnP?\Notification' before=0x0000 
now=0x0000
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:1139:pcsc_wait_for_event: return allocated 'reader states'
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:1143:pcsc_wait_for_event: returning with: -1112
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
pkcs11-global.c:664:C_WaitForSlotEvent: sc_wait_for_event() returned -1112
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
misc.c:59:sc_to_cryptoki_error_common: opensc error: Timeout while waiting for 
event from card reader (-1112)
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
pkcs11-global.c:681:C_WaitForSlotEvent: free reader states
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] ctx.c:795:sc_wait_for_event: called
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] ctx.c:797:sc_wait_for_event: trying 
to wait event from pcsc
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:981:pcsc_wait_for_event: called
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:984:pcsc_wait_for_event: free allocated reader states
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
reader-pcsc.c:987:pcsc_wait_for_event: returning with: 0
0x7f5f7fc927c0 13:32:16.708 [opensc-pkcs11] 
pkcs11-global.c:685:C_WaitForSlotEvent: C_WaitForSlotEvent() = 
CKR_GENERAL_ERROR, event in 0x0
DEBUG:pkcs11_eventmgr.c:601: Exited from main loop
DEBUG:pkcs11_eventmgr.c:91: Exitting
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
pkcs11-session.c:154:C_CloseAllSessions: C_CloseAllSessions(0xffffffffffffffff)
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
pkcs11-session.c:154:C_CloseAllSessions: C_CloseAllSessions(0x1)
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:284:refresh_attributes: OMNIKEY CardMan 3x21 00 
00:SCardGetStatusChange failed: 0x80100003
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:350:pcsc_detect_card_presence: returning with: -1900
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: -1900
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] slot.c:192:card_detect: OMNIKEY 
CardMan 3x21 00 00: failed, Unknown error
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
misc.c:59:sc_to_cryptoki_error_common: opensc error: Unknown error (-1900)
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
pkcs11-session.c:154:C_CloseAllSessions: C_CloseAllSessions(0x2)
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:284:refresh_attributes: OMNIKEY CardMan 3x21 00 
00:SCardGetStatusChange failed: 0x80100003
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:350:pcsc_detect_card_presence: returning with: -1900
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: -1900
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] slot.c:192:card_detect: OMNIKEY 
CardMan 3x21 00 00: failed, Unknown error
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
misc.c:59:sc_to_cryptoki_error_common: opensc error: Unknown error (-1900)
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
pkcs11-session.c:154:C_CloseAllSessions: C_CloseAllSessions(0x3)
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:284:refresh_attributes: OMNIKEY CardMan 3x21 00 
00:SCardGetStatusChange failed: 0x80100003
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:350:pcsc_detect_card_presence: returning with: -1900
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: -1900
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] slot.c:192:card_detect: OMNIKEY 
CardMan 3x21 00 00: failed, Unknown error
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
misc.c:59:sc_to_cryptoki_error_common: opensc error: Unknown error (-1900)
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
pkcs11-session.c:154:C_CloseAllSessions: C_CloseAllSessions(0x4)
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] slot.c:188:card_detect: OMNIKEY 
CardMan 3x21 00 00: Detecting smart card
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] sc.c:185:sc_detect_card_presence: 
called
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:346:pcsc_detect_card_presence: called
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:268:refresh_attributes: OMNIKEY CardMan 3x21 00 00 status check
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:284:refresh_attributes: OMNIKEY CardMan 3x21 00 
00:SCardGetStatusChange failed: 0x80100003
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
reader-pcsc.c:350:pcsc_detect_card_presence: returning with: -1900
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] sc.c:190:sc_detect_card_presence: 
returning with: -1900
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] slot.c:192:card_detect: OMNIKEY 
CardMan 3x21 00 00: failed, Unknown error
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] 
misc.c:59:sc_to_cryptoki_error_common: opensc error: Unknown error (-1900)
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] pkcs11-global.c:290:C_Finalize: 
C_Finalize()
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] ctx.c:779:sc_cancel: called
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] ctx.c:781:sc_cancel: trying pcsc
0x7f5f7fc927c0 13:32:16.709 [opensc-pkcs11] reader-pcsc.c:555:pcsc_cancel: 
called
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to