Éric Piel wrote:
02/23/2007 02:25 PM, Raf Nijskens wrote/a écrit:

[EMAIL PROTECTED] ~]# rpm -qa | grep kernel
kernel-2.6.19-1.2911.fc6
kernel-devel-2.6.19-1.2895.fc6
kernel-headers-2.6.19-1.2911.fc6
kernel-devel-2.6.19-1.2911.fc6
kernel-2.6.19-1.2895.fc6


[EMAIL PROTECTED] ~]# dmesg | grep ozscrlx
ozscrlx: version magic '2.6.19-1.2911.fc6 SMP mod_unload 686 REGPARM 4KSTACKS ' should be '2.6.19-1.2911.fc6 SMP mod_unload 586 REGPARM 4KSTACKS '

So it seems your problem comes from the fact your kernel was compiled for 586 while you are compiling the module for 686. This is a .config problem.

Seems similar to this problem : http://www.fedoraforum.org/forum/printthread.php?t=146220

They say there are several fedora kernels called the same, compiled for different compatible architectures : i586 and i686 . So the problem must be that you have a kernel for i586 and the source for i686.
Use this command to find out:
rpm -qa --queryformat %-{name}-%{version}-%{release}-%{arch}"\n" | grep kernel

Easiest way to solve that is probably to install the i686 kernel :-) Or maybe one the rpm "kernel-headers-2.6.19-1.2911.fc6" or "kernel-devel-2.6.19-1.2911.fc6" is too much and should be removed.

Eric




K, those things are done.
Smartcard is working now:

[EMAIL PROTECTED] lib]# pcscd -d -f
pcscdaemon.c:259:main() pcscd set to foreground with debug send to stderr
readerfactory.c:1093:RFInitializeReader() Attempting startup of O2Micro SmartCardBus Reader 00 00 using /usr/local/o2micro/lib_OZSCR.so
readerfactory.c:930:RFBindFunctions() Loading IFD Handler 2.0
ifdhandler.c:121:IFDHCreateChannel Lun 0, Channel F10000

ctapi.c:106:CT_init CT_init enter
ctapi.c:119:CT_init Try to open channel dev/ozscrlx
ctapi.c:136:CT_init CT_init exit (0)
pcscdaemon.c:464:main() pcsc-lite 1.3.2 daemon ready.
ifdhandler.c:401:IFDHPowerICC In Function IFDHPowerICC Action:IFD_POWER_UP

ctapi.c:222:CT_data CT-Api: CT_data: pcReset
ctapi.c:224:CT_data CT-Api: lc = 5
ctapi.c:227:CT_data CT-Api: cmd[0] = 20
ctapi.c:227:CT_data CT-Api: cmd[1] = 12
ctapi.c:227:CT_data CT-Api: cmd[2] = 1
ctapi.c:227:CT_data CT-Api: cmd[3] = 1
ctapi.c:227:CT_data CT-Api: cmd[4] = 0
ctapi.c:344:CT_data CT-Api: rv=0, lr=28 cmd[1]!=0x13
ifdhandler.c:416:IFDHPowerICC In Function IFDHPowerICC, CT_data=0

Card ATR: 3B FF 11 00 00 81 71 40 42 00 00 21 01 31 42 52 00 05 63 40 4B 01 0E 90 00 EF

But the Smart Card Manager sais:


*Smart Card Manager Version:* 1.0.0-15
*Number of Smart Cards Detected:* 0

------------------------------------------------------------------------
**
****Log Entries****

Initializing the NSS Crypto Library.
SmartCard thread event detected.
Attempting to get number of keys. Value: 0
Attempting to get number of keys. Value: 0


Also the 4-1 Card reader is still not working.

Anyone an idea?


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

Reply via email to