Se connecter avec
S'enregistrer | Connectez-vous

erreur insertion de modules

Dernière réponse : dans Le monde de Linux

Salut

J'essaie de compiler un driver pour le lecteur de carte de mon tablet PCI. J'avais suivi ce guide http://gentoo-wiki.com/HARDWARE_Texas_Instruments_PCI1620_Cardbus_Controller_with_a_4_in_1_memory_card_reader.
Avec le noyau 2.6.23.xx je n'ai aucun problème. Par contre j'ai une erreur quand je fais un insmod du driver que j'ai compilé pour le noyau 2.6.25.3.

je vous donne le résultat /sbin/lspci
  1. 00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
  2. 00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
  3. 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
  4. 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
  5. 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
  6. 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
  7. 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
  8. 00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
  9. 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
  10. 00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
  11. 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
  12. 00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
  13. 01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go 32M] (rev a3)
  14. 02:05.0 Network controller: Intel Corporation PRO/Wireless 2915ABG Network Connection (rev 05)
  15. 02:06.0 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
  16. 02:06.1 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
  17. 02:06.2 System peripheral: Texas Instruments PCI1620 Firmware Loading Function (rev 01)
  18. 02:07.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)

Donc le lecteur de carte est un TI PCI1620.
Il y a 2 modules : tiumfwl.ko qui charge le firmware (déjà copié dans /lib/firmware) et pata_pci1620.ko contenant le driver.
L'insertion du module tiumfwl.ko se passe bien
  1. /sbin/lsmod | grep tiumfwl
  2. tiumfwl 2440 0

Par contre quand je fais
  1. /sbin/insmod pata_pci1620.ko

Je reçois cette erreur :
  1. insmod: error inserting 'pata_pci1620.ko': -1 Unknown symbol in module

j'ai fait un diff de dmesg avant et après l'insertion :
  1. --- dmesg.before.insert.modules 2008-05-16 10:32:40.000000000 -0400
  2. +++ dmesg.after.insert.modules 2008-05-16 10:37:41.000000000 -0400
  3. @@ -306,3 +294,13 @@
  4. usb-storage: device scan complete
  5. usb 4-5: USB disconnect, address 8
  6. eth1: no IPv6 routers present
  7. +tiumfwl.c: v1.10 (June 7, 2006) Texas Instruments UltraMedia firmware loader
  8. +tiumfwl: 0000:02:06.2: firmware successfully loaded
  9. +pata_pci1620: Unknown symbol cs_error
  10. +pata_pci1620: Unknown symbol pcmcia_disable_device
  11. +pata_pci1620: Unknown symbol pcmcia_unregister_driver
  12. +pata_pci1620: Unknown symbol pcmcia_get_configuration_info
  13. +pata_pci1620: Unknown symbol pcmcia_request_io
  14. +pata_pci1620: Unknown symbol pcmcia_request_configuration
  15. +pata_pci1620: Unknown symbol pcmcia_register_driver
  16. +pata_pci1620: Unknown symbol pcmcia_request_irq


Si quelqu'un peut aider ?

Merci

Autres pages sur : erreur insertion modules

Lassé par la pub ? Créez un compte
Lassé par la pub ? Créez un compte