Problema con scheda I/O su slackware 10.2
Inviato: mar 28 ago 2007, 14:49
Ciao a tutti,
Sto cercando di far funzionare una scheda I/O su un PC con Slackware 10.2 e kernel 2.6.13
La scheda è una normale PCI ed i driver li ho scaricati dalla casa madre (http://www.adlinktech.com)
Nel sito mi garantiscono il funzionamento su tutte le principali distribuzioni linux, ma non citano la Slackware.
Le distribuzioni (ed i relativi kernel compatibili) sono le seguenti:
/********************************************************/
FedoraCore3
Driver Version 4.1.3, binary compatible with Kernel came from the Fedora Core 3 CDs (for kernel version: 2.6.9-1.667; 2.6.9-1.667smp;2.6.11-1.27_FC3;
2.6.11-1.27_FC3smp;2.6.12-1.1381_FC3;2.6.12-1.1381_FC3smp )
FedoraCore4
Driver Version 4.1.3, binary compatible with Kernel came from the Fedora Core 4 CDs (for kernel version: 2.6.11-1.1369_FC4; 2.6.11-1.1369_FC4smp,2.6.14-1.1653_FC4; 2.6.14-1.1653_FC4smp,2.6.15-1.1831_FC4; 2.6.15-1.1831_FC4smp )
FedoraCore5
Driver Version 4.1.9, binary compatible withKernel came from the Fedora Core 5 CDs (for kernel version: 2.6.15-1.2054_FC5, 2.6.15-1.2054_FC5smp,2.6.16-1.2096_FC5, 2.6.16-1.2096_FC5smp, 2.6.16-1.2133_FC5 and 2.6.16-1.2133_FC5smp, 2.6.20-1.2320.fc5 and 2.6.20-1.2320.fc5smp)
FedoraCore6
Driver Version 4.1.9, binary compatible with Kernel came from the Fedora Core 6 CDs (for kernel version: 2.6.18-1.2798.fc6 and 2.6.20-1.2962.fc6)
Mandrake 10.1
Driver Version 4.1.3, binary compatible with Kernel came from the Mandrake 10.1 CDs (for kernel versions 2.6.8.1-12mdk, 2.6.8.1-12mdksmp)
Mandriva2006
Driver Version 4.1.3, binary compatible with Kernel came from the Mandriva2006 CDs (for kernel versions 2.6.12-12mdksmp, 2.6.12-12mdk)
SUSE10-2
Driver Version 4.1.9, binary compatible with Kernel came from the OpenSUSE10-2 CDs(for kernel version: 2.6.18.2-34-default. )
Red Hat9.0
Driver Version 4.1.9, binary compatible with Kernel came from the RedHat 9.0 CDs(for kernel version: 2.4.20-8 )
RedHat Enterprise Workstation 3
Driver Version 4.1.3, binary compatible with Kernel came from the Redhat Enterprise Workstation 3 CDs(for kernel version: 2.4.21-37.ELsmp; 2.4.21-37.EL )
RedHat Enterprise Workstation 4
Driver Version 4.1.3, binary compatible with Kernel came from the RedHat Enterprise Workstation 4 CDs(for kernel version: 2.6.9-5.ELsmp;2.6.9-5.EL )
RHWS4
Driver Version 4.1.9, binary compatible with Kernel came from the RHWS4 CDs(for kernel version: 2.6.9-5.EL, 2.6.9-5.ELsmp. )
SuSE 9.3
Driver Version 4.1.3, binary compatible with Kernel came from the SuSE 9.3 CDs (for kernel version: 2.6.11.4-20a-smp )
/********************************************************/
Visto che fra gli innumerevoli kernel compatibili ci sono sia i quelli antecedenti che quelli seguenti la 2.6.13 (quella che utilizzo io) ho supposto che la scheda può funzionare anche con questo kernel.
In pratica non riesco ad aggiungere due moduli nel kernel (adl_mem_mgr.ko e p9111.ko)
Ho provato con insmod -f ma ottengo come risposta
insmod: error inserting 'adl_mem_mgr.ko': -1 Invalid module format
insmod: error inserting 'p9111.ko': -1 Invalid module format
Ho provato con modprobe ma mi risponde:
FATAL: Module pci9111.ko not found.
FATAL: Module adl_mem_mgr.ko not found.
L'Output di dmesg relativo a questi moduli è il seguente :
adl_mem_mgr: version magic '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.13 486 gcc-3.3'
p9111: version magic '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.13 486 gcc-3.3'
adl_mem_mgr: version magic '2.6.14-1.1653_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.13 486 gcc-3.3'
p9111: version magic '2.6.14-1.1653_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.13 486 gcc-3.3'
Il Comando modinfo per il modulo p9111.ko mi restituisce
filename: /home/adlink/pci-dask_413/drivers/p9111.ko
license: GPL
parmtype: BufSize:1-4l
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
vermagic: 2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0
depends:
srcversion: 80D0CBA22DFAB1CD902702F
Il Comando modinfo per il modulo adl_mem_mgr.ko mi restituisce:
filename: /home/adlink/pci-dask_413/drivers/adl_mem_mgr.ko
license: GPL
vermagic: 2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0
depends:
srcversion: 7446FFCF4A472FAB1A50578
Da tutte queste informazioni ho dedotto che c'è un'incompatibiltà sia sulla versione di kernel che sulla versione di GCC (3.3 anziche 4.0)
Come posso fare???
Grazie in anticipo
Roberto
Sto cercando di far funzionare una scheda I/O su un PC con Slackware 10.2 e kernel 2.6.13
La scheda è una normale PCI ed i driver li ho scaricati dalla casa madre (http://www.adlinktech.com)
Nel sito mi garantiscono il funzionamento su tutte le principali distribuzioni linux, ma non citano la Slackware.
Le distribuzioni (ed i relativi kernel compatibili) sono le seguenti:
/********************************************************/
FedoraCore3
Driver Version 4.1.3, binary compatible with Kernel came from the Fedora Core 3 CDs (for kernel version: 2.6.9-1.667; 2.6.9-1.667smp;2.6.11-1.27_FC3;
2.6.11-1.27_FC3smp;2.6.12-1.1381_FC3;2.6.12-1.1381_FC3smp )
FedoraCore4
Driver Version 4.1.3, binary compatible with Kernel came from the Fedora Core 4 CDs (for kernel version: 2.6.11-1.1369_FC4; 2.6.11-1.1369_FC4smp,2.6.14-1.1653_FC4; 2.6.14-1.1653_FC4smp,2.6.15-1.1831_FC4; 2.6.15-1.1831_FC4smp )
FedoraCore5
Driver Version 4.1.9, binary compatible withKernel came from the Fedora Core 5 CDs (for kernel version: 2.6.15-1.2054_FC5, 2.6.15-1.2054_FC5smp,2.6.16-1.2096_FC5, 2.6.16-1.2096_FC5smp, 2.6.16-1.2133_FC5 and 2.6.16-1.2133_FC5smp, 2.6.20-1.2320.fc5 and 2.6.20-1.2320.fc5smp)
FedoraCore6
Driver Version 4.1.9, binary compatible with Kernel came from the Fedora Core 6 CDs (for kernel version: 2.6.18-1.2798.fc6 and 2.6.20-1.2962.fc6)
Mandrake 10.1
Driver Version 4.1.3, binary compatible with Kernel came from the Mandrake 10.1 CDs (for kernel versions 2.6.8.1-12mdk, 2.6.8.1-12mdksmp)
Mandriva2006
Driver Version 4.1.3, binary compatible with Kernel came from the Mandriva2006 CDs (for kernel versions 2.6.12-12mdksmp, 2.6.12-12mdk)
SUSE10-2
Driver Version 4.1.9, binary compatible with Kernel came from the OpenSUSE10-2 CDs(for kernel version: 2.6.18.2-34-default. )
Red Hat9.0
Driver Version 4.1.9, binary compatible with Kernel came from the RedHat 9.0 CDs(for kernel version: 2.4.20-8 )
RedHat Enterprise Workstation 3
Driver Version 4.1.3, binary compatible with Kernel came from the Redhat Enterprise Workstation 3 CDs(for kernel version: 2.4.21-37.ELsmp; 2.4.21-37.EL )
RedHat Enterprise Workstation 4
Driver Version 4.1.3, binary compatible with Kernel came from the RedHat Enterprise Workstation 4 CDs(for kernel version: 2.6.9-5.ELsmp;2.6.9-5.EL )
RHWS4
Driver Version 4.1.9, binary compatible with Kernel came from the RHWS4 CDs(for kernel version: 2.6.9-5.EL, 2.6.9-5.ELsmp. )
SuSE 9.3
Driver Version 4.1.3, binary compatible with Kernel came from the SuSE 9.3 CDs (for kernel version: 2.6.11.4-20a-smp )
/********************************************************/
Visto che fra gli innumerevoli kernel compatibili ci sono sia i quelli antecedenti che quelli seguenti la 2.6.13 (quella che utilizzo io) ho supposto che la scheda può funzionare anche con questo kernel.
In pratica non riesco ad aggiungere due moduli nel kernel (adl_mem_mgr.ko e p9111.ko)
Ho provato con insmod -f ma ottengo come risposta
insmod: error inserting 'adl_mem_mgr.ko': -1 Invalid module format
insmod: error inserting 'p9111.ko': -1 Invalid module format
Ho provato con modprobe ma mi risponde:
FATAL: Module pci9111.ko not found.
FATAL: Module adl_mem_mgr.ko not found.
L'Output di dmesg relativo a questi moduli è il seguente :
adl_mem_mgr: version magic '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.13 486 gcc-3.3'
p9111: version magic '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.13 486 gcc-3.3'
adl_mem_mgr: version magic '2.6.14-1.1653_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.13 486 gcc-3.3'
p9111: version magic '2.6.14-1.1653_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.13 486 gcc-3.3'
Il Comando modinfo per il modulo p9111.ko mi restituisce
filename: /home/adlink/pci-dask_413/drivers/p9111.ko
license: GPL
parmtype: BufSize:1-4l
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
license: GPL
vermagic: 2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0
depends:
srcversion: 80D0CBA22DFAB1CD902702F
Il Comando modinfo per il modulo adl_mem_mgr.ko mi restituisce:
filename: /home/adlink/pci-dask_413/drivers/adl_mem_mgr.ko
license: GPL
vermagic: 2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0
depends:
srcversion: 7446FFCF4A472FAB1A50578
Da tutte queste informazioni ho dedotto che c'è un'incompatibiltà sia sulla versione di kernel che sulla versione di GCC (3.3 anziche 4.0)
Come posso fare???
Grazie in anticipo
Roberto