Hi,

I'm running the following setup

Kernel 2.4.21
pcsc-lite-1.2.9.beta6
muscleTools 0.9.2
muscleCardFramework 1.1.3 

GemPlus USB card reader
Cyberflex egate 32K smartcard

I can run the testpcsc and muscleTest programs fine, but I get "Failed
(Internal Error)" when I try to format a token. I've seen this on the
mailing list achives but have not seen a fix for it.  Sorry if the email
is a bit jumbled, I tried to make the output as readable as possible. 
Thanks for any input.

-steve

~~~~  PCSCD OUTPUT ~~~~

pcscd -d stdout -a

~~~~  On startup: ~~~~

pcscdaemon.c:257:main debug messages send to stdout
debuglog.c:165:DebugLogSetCategory Debug options: APDU
pcscdaemon.c:440:main pcsc-lite 1.2.9-beta6 daemon ready.
hotplug_libusb.c:371:HPAddHotPluggable Adding USB device: 001:006
readerfactory.c:1055:RFInitializeReader Attempting startup of GemPC Twin
00 00.
readerfactory.c:929:RFBindFunctions Loading IFD Handler 3.0
ifdwrapper.c:151:IFDOpenIFD POUET
ifdhandler.c:961:init_driver LogLevel: 0x0003
ifdhandler.c:972:init_driver DriverOptions: 0x0000
ifdhandler.c:66:IFDHCreateChannelByName lun: 0, device:
usb:08e6/3437:libusb:001:006
ccid_usb.c:198:OpenUSBByName Manufacturer: Gemplus ([EMAIL PROTECTED])
ccid_usb.c:208:OpenUSBByName ProductString: Generic CCID reader v1.0.0
ccid_usb.c:214:OpenUSBByName Copyright: This driver is protected by
terms of the GNU General Public License version 2, or (at your option)
any later version.
ccid_usb.c:331:OpenUSBByName Found Vendor/Product: 08E6/3437 (GemPC
Twin)
ccid_usb.c:333:OpenUSBByName Using USB bus/device: 001/006
ifdwrapper.c:157:IFDOpenIFD POUET
ifdhandler.c:228:IFDHGetCapabilities lun: 0, tag: 0xFAE
ifdhandler.c:653:IFDHPowerICC lun: 0
Card ATR: 3B 75 94 00 00 62 02 02 02 01

~~~~  output in pcscd when I run "tokens" in muscleTool ~~~~

winscard_msg.c:191:SHMProcessEventsServer Common channel packet arrival
winscard_msg.c:198:SHMProcessEventsServer SHMProcessCommonChannelRequest
detects: 9
pcscdaemon.c:136:SVCServiceRunLoop A new context thread creation is
requested: 9
winscard_svc.c:102:ContextThread Thread is started: 9
winscard_msg.c:252:SHMProcessEventsContext correctly processed client: 9
winscard_svc.c:142:ContextThread Client is protocol version 2:0
winscard_msg.c:252:SHMProcessEventsContext correctly processed client: 9
winscard.c:68:SCardEstablishContext Establishing Context: 17019217

~~~~ output in pcscd when I run "format 1" in muscleTool ~~~~

winscard_msg.c:191:SHMProcessEventsServer Common channel packet arrival
winscard_msg.c:198:SHMProcessEventsServer SHMProcessCommonChannelRequest
detects: 9
pcscdaemon.c:136:SVCServiceRunLoop A new context thread creation is
requested: 9
winscard_svc.c:102:ContextThread Thread is started: 9
winscard_msg.c:252:SHMProcessEventsContext correctly processed client: 9
winscard_svc.c:142:ContextThread Client is protocol version 2:0
winscard_msg.c:252:SHMProcessEventsContext correctly processed client: 9
winscard.c:68:SCardEstablishContext Establishing Context: 17019217
winscard_msg.c:252:SHMProcessEventsContext correctly processed client: 9
winscard.c:121:SCardConnect Attempting Connect to GemPC Twin 00 00
winscard.c:221:SCardConnect Active Protocol: unknown 0
winscard.c:231:SCardConnect hCard Identity: 1879e
winscard_msg.c:252:SHMProcessEventsContext correctly processed client: 9
winscard_msg.c:252:SHMProcessEventsContext correctly processed client: 9
winscard.c:1361:SCardTransmit Send Protocol: T=4
ifdwrapper.c:566:IFDControl_v2 POUET
winscard_msg.c:252:SHMProcessEventsContext correctly processed client: 9
winscard.c:1361:SCardTransmit Send Protocol: T=4
ifdwrapper.c:566:IFDControl_v2 POUET
winscard_msg.c:252:SHMProcessEventsContext correctly processed client: 9
winscard.c:607:SCardDisconnect Active Contexts: 1
ifdhandler.c:653:IFDHPowerICC lun: 0
winscard.c:666:SCardDisconnect Reset complete.


~~~~ OUTPUT OF MUSCLETOOL ~~~~

MuscleCard Shell - type help for help
 
muscle > tokens
winscard_clnt.c:243:SCardEstablishContextTH Server is protocol version
2:0
tokenfactory.c:191:TPSearchBundlesForAtr ATR comparison: FILE:
/usr/local/pcsc/services/mscMuscleCard.bundle/Contents/Info.plist
tokenfactory.c:192:TPSearchBundlesForAtr ATR comparison: Target Match:
3B759400006202020201
tokenfactory.c:205:TPSearchBundlesForAtr ATR comparison: Source:
3B751300009C02020102
tokenfactory.c:205:TPSearchBundlesForAtr ATR comparison: Source:
3B759400006202020201
tokenfactory.c:217:TPSearchBundlesForAtr Match found at ATR alias 1
tokenfactory.c:240:TPSearchBundlesForAtr Product name: MuscleCard Applet
tokenfactory.c:299:TPSearchBundlesForAtr Default AID name: A00000000101
tokenfactory.c:191:TPSearchBundlesForAtr ATR comparison: FILE:
/usr/local/pcsc/services/mscMuscleCard.bundle/Contents/Info.plist
tokenfactory.c:192:TPSearchBundlesForAtr ATR comparison: Target Match:
3B759400006202020201
tokenfactory.c:205:TPSearchBundlesForAtr ATR comparison: Source:
3B751300009C02020102
tokenfactory.c:205:TPSearchBundlesForAtr ATR comparison: Source:
3B759400006202020201
tokenfactory.c:217:TPSearchBundlesForAtr Match found at ATR alias 1
tokenfactory.c:240:TPSearchBundlesForAtr Product name: MuscleCard Applet
tokenfactory.c:299:TPSearchBundlesForAtr Default AID name: A00000000101
   1.    MuscleCard Applet
 
muscle > format 1
Would you like to:
        1. Use the default factory key: 2C15E526E93E8A19
        2. Use the MUSCLE default key : 4D7573636C653030
        3. Enter your own transport key
 
Choose (1-3): 2
 
How much object memory would you like to allocate ?
Example: 7096 (7k) : 7096
Please enter a new auth pin value (pin 0) : Muscle00
Please enter your user pin value (pin 1)  : 00000000
Please enter your user pin unblock value  : 11111111
Please enter your number of pin tries     : 8
 
********************* WARNING ! *********************
You are about to destroy all data on this token.
*****************************************************
 
Current admin pin      : Muscle00
New admin pin          : Muscle00
New user pin           : 00000000
New user unblock pin   : 11111111
Number of tries        : 8
Object memory          : 7096
 
Are you sure you want to continue ? (1-YES, 2-NO): 1
 
musclecard.c:340:MSCEstablishConnection SCardConnect returns Command
successful.
musclecard.c:373:MSCEstablishConnection SCardStatus returns Command
successful.
tokenfactory.c:191:TPSearchBundlesForAtr ATR comparison: FILE:
/usr/local/pcsc/services/mscMuscleCard.bundle/Contents/Info.plist
tokenfactory.c:192:TPSearchBundlesForAtr ATR comparison: Target Match:
3B759400006202020201
tokenfactory.c:205:TPSearchBundlesForAtr ATR comparison: Source:
3B751300009C02020102
tokenfactory.c:205:TPSearchBundlesForAtr ATR comparison: Source:
3B759400006202020201
tokenfactory.c:217:TPSearchBundlesForAtr Match found at ATR alias 1
tokenfactory.c:240:TPSearchBundlesForAtr Product name: MuscleCard Applet
tokenfactory.c:299:TPSearchBundlesForAtr Default AID name: A00000000101
tokenfactory.c:399:TPLoadToken Loading service library
/usr/local/pcsc/services/mscMuscleCard.bundle/Contents/Linux/mscMuscleCard
musclecard.c:415:MSCEstablishConnection TPLoadToken returns Command
successful.
Formatting token [*] : Failed (Internal Error)
muscle > muscle >
 
~~~~ END OUTPUT ~~~~~


_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to