Hi,

I'm also having problems with the GemPlus PCMCIA reader, but they're
different than yours. Perhaps if we work together we could figure it out.

I noticed you mention you're using 3.1.18 of the pcmcia-cs. The README says
that the drivers were updated to be compatible with 3.1.17 and this might be
the reason for the core dump and pointer dereference errors you're getting. 

I was able to compile the driver fine but can't seem to get cardmgr to
recognize the card. (the card pops in with a low beep and
/var/lib/pcmcia/stab shows the slot empty.)

I can do a insmod without problem. The card then shows up with a lsmod as
follows:

Module                  Size  Used by
gpr400_cs               9276   0  (unused)
ds                      6184   1  [gpr400_cs]
i82365                 22436   1 
pcmcia_core            44384   0  [gpr400_cs ds i82365]
ltmodem               453200   0  (unused)
lockd                  31176   1  (autoclean)
sunrpc                 52964   1  (autoclean) [lockd]
esssolo1               21548   0 
soundcore               2596   4  [esssolo1]


but the slot still shows as empty and running tclsh and using libcard.so.0.9
tells me that no card is found.

trying to load the card with:

cardmgr -m /lib/modules/2.2.16-22/pcmcia/gpr400_cs.o 

has no effect at all. I think I'm just missing something simple like maybe
an entry in pcmcia/config or something.

Any suggestions?

Thanks,

Karl Sigler
Atlanta, GA

----original message----
Dear Sir:
I tried to download the Gemplus GPR400 PCMCIA driver from the MUSCLE
site as my reference.
After compiled it with pcmcia-cs-3.1.8 under RedHat 6.2 and plugged
the reader, it gave me a message like this:

Oct  5 18:37:41 localhost cardmgr[345]: initializing socket 0
Oct  5 18:37:41 localhost cardmgr[345]: socket 0: GEMPLUS GPR400 Smart
Card Reader
Oct  5 18:37:41 localhost kernel: cs: memory probe
0xa0000000-0xa0ffffff: clean. 
Oct  5 18:37:41 localhost cardmgr[345]: executing: 'insmod
/lib/modules/2.2.14-5.0/pcmcia/gpr400_cs.o'
Oct  5 18:37:41 localhost kernel: $Id: gpr400_cs.c,v 1.2 1998/04/14
20:05:45 wjg Exp $ 
Oct  5 18:37:41 localhost kernel: <1>Unable to handle kernel NULL
pointer dereference at virtual address 00000030 
Oct  5 18:37:41 localhost kernel: current->tss.cr3 = 0b8a2000, %cr3 =
0b8a2000 

... 
=> some core dump messages.

Have any one ever built and loaded it successful? Or could anyone give
me a hint to solve this problem?
Thank you a lot!



Lo
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************


***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to