Re: Omnikey Cardman 4000

Christian Schuermann <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hi,

Martin Preuss schrieb:
> On Thursday 22 March 2007 13:56, Christian Schuermann wrote:
> [...]
>> 5:2007/03/22 13-52-13:driver(29697):driver.c:  348: Starting driver
>> "/usr/lib/chipcard3/server/drivers/ifd" with lowlevel
>> "/usr/lib/libcm4000.so"
>> 3:2007/03/22 13-52-13:driver(29697):driverifd.c:  118:  Severity: Error
>> Type: LIBLOADER Code: Library not found (5)
> [...]
> 
> Hmm, it seems that the server sees libcm4000.so but the driver is unable to 
> load that library...
> Could you please send the output of "ldd /usr/lib/libcm4000.so"?

# ldd /usr/lib/libcm4000.so
         statically linked

> Also, it might help if you start the chipcard daemon with more logging:
> "chipcardd3 --logtype console --loglevel info -f"

# chipcardd3 --pidfile /var/run/chipcard3.comm -f --logtype console 
--loglevel info
5:2007/03/22 16-04-08:chipcardd(30248):chipcardd.c:  774: Chipcardd 
v3.0.2.0stable started.
5:2007/03/22 16-04-08:chipcardd(30248):chipcardd.c:  776: LibUSB supported.
5:2007/03/22 16-04-08:chipcardd(30248):chipcardd.c:  779: LibSYSFS 
supported.
6:2007/03/22 16-04-08:chipcardd(30249):chipcardd.c: 1004: Initializing 
daemon.
6:2007/03/22 16-04-08:chipcardd(30249):chipcardd.c:  460: Trying 
"/usr/etc/chipcard3/server/chipcardd3.conf"
6:2007/03/22 16-04-08:chipcardd(30249):chipcardd.c:  466: Using 
configuration file [/usr/etc/chipcard3/server/chipcardd3.conf]
6:2007/03/22 16-04-08:chipcardd(30249):chipcardd.c: 1052: Will now 
initialize server.
6:2007/03/22 16-04-08:chipcardd(30249):cs_init.c:  417: Server role: 
standAlone
6:2007/03/22 16-04-08:chipcardd(30249):cs_init.c:  426: 
Autoconfiguration enabled
6:2007/03/22 16-04-08:chipcardd(30249):cs_init.c:  429: Initialising paths
6:2007/03/22 16-04-08:chipcardd(30249):cs_init.c:  436: Initialising IPC 
manager
6:2007/03/22 16-04-08:chipcardd(30249):devicemanager.c:   91: 
Initialising device manager
6:2007/03/22 16-04-08:chipcardd(30249):devicemanager.c:  249: 
Autoconfiguration enabled
6:2007/03/22 16-04-08:chipcardd(30249):devicemanager.c:  252: Adding PCI 
bus scanner
6:2007/03/22 16-04-08:chipcardd(30249):devicemanager.c:  258: Adding 
PCMCIA bus scanner
6:2007/03/22 16-04-08:chipcardd(30249):pcmciascanner.c:   47: Will use 
sysfs to scan for PCMCIA devices
6:2007/03/22 16-04-08:chipcardd(30249):devicemanager.c:  264: Adding USB 
bus scanner
6:2007/03/22 16-04-08:chipcardd(30249):devicemanager.c:  270: Adding USB 
TTY bus scanner
6:2007/03/22 16-04-08:chipcardd(30249):usbttyscanner.c:   59: Will use 
sysfs to scan for ttyUSB devices
6:2007/03/22 16-04-08:chipcardd(30249):devicemanager.c:  509: Reloading 
driver info files
6:2007/03/22 16-04-08:chipcardd(30249):cardmanager.c:   58: Initialising 
card manager
6:2007/03/22 16-04-08:chipcardd(30249):clientmanager.c:   56: 
Initialising client manager
6:2007/03/22 16-04-08:chipcardd(30249):servicemanager.c:   68: 
Initialising service manager
4:2007/03/22 16-04-08:chipcardd(30249):servicemanager.c:   85: Your 
configuration does not have a "ServiceManager" group. Please update the 
file.
6:2007/03/22 16-04-08:chipcardd(30249):chipcardd.c: 1070: Ready to 
service requests.
5:2007/03/22 16-04-08:chipcardd(30249):devicemanager.c: 3356: Changes in 
hardware list
6:2007/03/22 16-04-08:chipcardd(30249):devicemanager.c:  509: Reloading 
driver info files
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/1180/0475 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/104c/8023 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/1022/1103 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/1022/1102 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/1022/1101 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/1022/1100 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/0269 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/026c is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/026f is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/0270 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/0240 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/02fb is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/02fd is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/02fc is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/027e is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/027f is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/02ff is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/02f9 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/02f8 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/02fe is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/02fa is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
pci/10de/02f0 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
UsbRaw/0000/0000 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
UsbRaw/07cc/0501 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
UsbRaw/0000/0000 is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
UsbRaw/046d/c50b is not a known reader
6:2007/03/22 16-04-09:chipcardd(30249):devicemanager.c: 3266: Device 
UsbRaw/046a/0013 is not a known reader
5:2007/03/22 16-04-35:chipcardd(30249):devicemanager.c: 3356: Changes in 
hardware list
6:2007/03/22 16-04-35:chipcardd(30249):devicemanager.c:  509: Reloading 
driver info files
5:2007/03/22 16-04-35:chipcardd(30249):devicemanager.c: 3197: 
AUTOCONFIG: Created new reader "auto1-omnikey_cm4000" (pcmcia/0223/0002)
5:2007/03/22 16-04-35:chipcardd(30249):devicemanager.c: 3211: 
Automatically assigned port 0 to reader "auto1-omnikey_cm4000"
6:2007/03/22 16-04-35:chipcardd(30249):clr_notification.c:  189: Sending 
notification reader:add to all clients
5:2007/03/22 16-04-51:chipcardd(30249):clr_clientready.c:  104: Client 
"46029aea" started (chipcard3-tool, Gwen 2.3.0-stable-r0, ChipCard 
3.0.2.0stable)
5:2007/03/22 16-04-51:chipcardd(30249):clr_notification.c:  540: Client 
46029aea: SetNotify [chipcard3-tool/nobody]
6:2007/03/22 16-04-51:chipcardd(30249):clr_notification.c:  169: Sending 
notification driver:down to client "46029aea"
6:2007/03/22 16-04-51:chipcardd(30249):clr_notification.c:  104: Sending 
notification to client "46029aea"
6:2007/03/22 16-04-51:chipcardd(30249):clr_notification.c:  169: Sending 
notification reader:down to client "46029aea"
6:2007/03/22 16-04-51:chipcardd(30249):clr_notification.c:  104: Sending 
notification to client "46029aea"
5:2007/03/22 16-04-51:chipcardd(30249):clr_startwait.c:   70: Client 
46029aea: StartWait [chipcard3-tool/nobody]
3:2007/03/22 16-04-51:chipcardd(30249):devicemanager.c: 1717: 
Incrementing active reader count auto1-omnikey_cm4000 (46029b04) [1]
3:2007/03/22 16-04-51:chipcardd(30249):dm_driver.c:  359: Incrementing 
active readers count of driver cm_4000_ifd [46029b04](0->1)
6:2007/03/22 16-04-51:chipcardd(30249):dm_driver.c:  362: Some readers 
active, driver leaving idle mode
6:2007/03/22 16-04-53:chipcardd(30249):devicemanager.c:  763: Starting 
driver "cm_4000_ifd"
6:2007/03/22 16-04-53:chipcardd(30249):devicemanager.c:  856: Starting 
driver process for driver "cm_4000_ifd" 
(/usr/lib/chipcard3/server/drivers/ifd)
6:2007/03/22 16-04-53:chipcardd(30249):devicemanager.c:  857: Arguments 
are: " -l /usr/lib/libcm4000.so --logtype file --logfile 
/usr/var/log/chipcard3/drivers/cm_4000_ifd/@[email protected] -t local -a 
/var/run/chipcard3.comm -p 0 -i 46029b04"
6:2007/03/22 16-04-53:chipcardd(30249):devicemanager.c:  876: Process 
started
6:2007/03/22 16-04-53:chipcardd(30249):clr_notification.c:  189: Sending 
notification driver:start to all clients
6:2007/03/22 16-04-53:chipcardd(30249):clr_notification.c:  104: Sending 
notification to client "46029aea"
3:2007/03/22 16-04-53:chipcardd(30249):devicemanager.c: 2052: Error in 
driver "46029b04": Loading library (1)
6:2007/03/22 16-04-53:chipcardd(30249):devicemanager.c:  456: Abandoning 
driver 46029b04
3:2007/03/22 16-04-53:chipcardd(30249):devicemanager.c:  461: Removing 
driver client 46029af18
3:2007/03/22 16-04-53:chipcardd(30249):devicemanager.c:  463: Removing 
driver client 46029af18: done
6:2007/03/22 16-04-53:chipcardd(30249):clr_notification.c:  189: Sending 
notification driver:error to all clients
6:2007/03/22 16-04-53:chipcardd(30249):clr_notification.c:  104: Sending 
notification to client "46029aea"
6:2007/03/22 16-04-53:chipcardd(30249):devicemanager.c:  491: Abandoning 
reader
3:2007/03/22 16-04-53:chipcardd(30249):devicemanager.c:  430: 
Decrementing active reader count auto1-omnikey_cm4000 (46029b04) [1->6]
3:2007/03/22 16-04-53:chipcardd(30249):dm_driver.c:  377: Decrementing 
active readers count of driver cm_4000_ifd [46029b04](1->0)
6:2007/03/22 16-04-53:chipcardd(30249):dm_driver.c:  381: No readers 
active, driver entering idle mode
6:2007/03/22 16-04-53:chipcardd(30249):clr_notification.c:  189: Sending 
notification reader:error to all clients
6:2007/03/22 16-04-53:chipcardd(30249):clr_notification.c:  104: Sending 
notification to client "46029aea"
5:2007/03/22 16-04-53:chipcardd(30249):cs_callbacks.c:   33: One of my 
connections is down. Don't worry just yet, this might be ok...
5:2007/03/22 16-04-53:chipcardd(30249):clientmanager.c:  398: Removing 
client 46029aea [chipcard3-tool/nobody]
3:2007/03/22 16-04-53:gwen(30266):netlayer.c: 1477: Errors on all netlayers
3:2007/03/22 16-04-53:gwen(30266):ipc.c:  716: Outgoing request 46029b16 
not found
5:2007/03/22 16-05-04:chipcardd(30249):devicemanager.c:  973: Reenabling 
driver "cm_4000_ifd"
6:2007/03/22 16-05-24:chipcardd(30249):clr_notification.c:  189: Sending 
notification reader:down to all clients

> This should start the server in the foreground which allows you to see the 
> messages produced by the daemon. 

I do not really understand what the deamon is trying to tell me except 
the fact, that the library can not be loaded. But why?

Regards, Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.