pcmia réseau : help - Linux et OS Alternatifs
Marsh Posté le 13-04-2002 à 22:11:47
up
Marsh Posté le 13-04-2002 à 23:52:12
pk tu veux faire un insmod, tes drivers ne sont pas chargés ?
sinon pour voir s'ils sont loadés, fait un lsmod, et regarde si le module est bien chargé,
si oui, fait un ifconfig, et si eth0 n'apparait pas fait un
ifconfig eth0 down up
voila
++
Marsh Posté le 14-04-2002 à 02:14:34
le problème, c'est que je n'arrive pas à les charger, c'est en les chargeant que 4a me fait ces erreurs.
Marsh Posté le 14-04-2002 à 21:18:25
recompile bien les drivers pcmcia,
ensuite essaye un make modules puis make modules_install
sinon paste nous les erreurs pour que l'on voit à peu prés à quoi cela ressemble
bon courage
Marsh Posté le 16-04-2002 à 18:08:06
voilà, j'ai déjà résolu un des problème, je n'ai plus ce listing de message d'erreurs, mais quand je fais modconf pour installer le module, il me dit que le module a été compilé pour un noyau 2.4.18, alors que ma machine est en 2.2.20.
????
je piges pas là
Marsh Posté le 16-04-2002 à 21:57:59
et merde, ça refoire.
bon voici la liste complète des erreurs de compilation :
rtl8139.c:202: elements of array `pci_tbl' have incomplete type
rtl8139.c:203: warning: excess elements in struct initializer
rtl8139.c:203: warning: (near initialization for `pci_tbl[0]'
rtl8139.c:203: extra brace group at end of initializer
rtl8139.c:203: (near initialization for `pci_tbl[0]'
rtl8139.c:203: warning: excess elements in struct initializer
rtl8139.c:203: warning: (near initialization for `pci_tbl[0]'
rtl8139.c:204: `PCI_USES_MASTER' undeclared here (not in a function)
rtl8139.c:204: `PCI_USES_IO' undeclared here (not in a function)
rtl8139.c:204: `PCI_ADDR0' undeclared here (not in a function)
rtl8139.c:204: warning: excess elements in struct initializer
rtl8139.c:204: warning: (near initialization for `pci_tbl[0]'
rtl8139.c:204: warning: excess elements in struct initializer
rtl8139.c:204: warning: (near initialization for `pci_tbl[0]'
rtl8139.c:204: warning: excess elements in struct initializer
rtl8139.c:204: warning: (near initialization for `pci_tbl[0]'
rtl8139.c:205: warning: excess elements in struct initializer
rtl8139.c:205: warning: (near initialization for `pci_tbl[1]'
rtl8139.c:205: extra brace group at end of initializer
rtl8139.c:205: (near initialization for `pci_tbl[1]'
rtl8139.c:205: warning: excess elements in struct initializer
rtl8139.c:205: warning: (near initialization for `pci_tbl[1]'
rtl8139.c:206: `PCI_USES_MASTER' undeclared here (not in a function)
rtl8139.c:206: `PCI_USES_IO' undeclared here (not in a function)
rtl8139.c:206: `PCI_ADDR0' undeclared here (not in a function)
rtl8139.c:206: warning: excess elements in struct initializer
rtl8139.c:206: warning: (near initialization for `pci_tbl[1]'
rtl8139.c:206: warning: excess elements in struct initializer
rtl8139.c:206: warning: (near initialization for `pci_tbl[1]'
rtl8139.c:206: warning: excess elements in struct initializer
rtl8139.c:206: warning: (near initialization for `pci_tbl[1]'
rtl8139.c:207: warning: excess elements in struct initializer
rtl8139.c:207: warning: (near initialization for `pci_tbl[2]'
rtl8139.c:207: extra brace group at end of initializer
rtl8139.c:207: (near initialization for `pci_tbl[2]'
rtl8139.c:207: warning: excess elements in struct initializer
rtl8139.c:207: warning: (near initialization for `pci_tbl[2]'
rtl8139.c:208: `PCI_USES_MASTER' undeclared here (not in a function)
rtl8139.c:208: `PCI_USES_IO' undeclared here (not in a function)
rtl8139.c:208: `PCI_ADDR0' undeclared here (not in a function)
rtl8139.c:208: warning: excess elements in struct initializer
rtl8139.c:208: warning: (near initialization for `pci_tbl[2]'
rtl8139.c:208: warning: excess elements in struct initializer
rtl8139.c:208: warning: (near initialization for `pci_tbl[2]'
rtl8139.c:208: warning: excess elements in struct initializer
rtl8139.c:208: warning: (near initialization for `pci_tbl[2]'
rtl8139.c:209: warning: excess elements in struct initializer
rtl8139.c:209: warning: (near initialization for `pci_tbl[3]'
rtl8139.c:209: extra brace group at end of initializer
rtl8139.c:209: (near initialization for `pci_tbl[3]'
rtl8139.c:209: warning: excess elements in struct initializer
rtl8139.c:209: warning: (near initialization for `pci_tbl[3]'
rtl8139.c:210: `PCI_USES_MASTER' undeclared here (not in a function)
rtl8139.c:210: `PCI_USES_IO' undeclared here (not in a function)
rtl8139.c:210: `PCI_ADDR0' undeclared here (not in a function)
rtl8139.c:210: warning: excess elements in struct initializer
rtl8139.c:210: warning: (near initialization for `pci_tbl[3]'
rtl8139.c:210: warning: excess elements in struct initializer
rtl8139.c:210: warning: (near initialization for `pci_tbl[3]'
rtl8139.c:210: warning: excess elements in struct initializer
rtl8139.c:210: warning: (near initialization for `pci_tbl[3]'
rtl8139.c:211: warning: excess elements in struct initializer
rtl8139.c:211: warning: (near initialization for `pci_tbl[4]'
rtl8139.c:211: extra brace group at end of initializer
rtl8139.c:211: (near initialization for `pci_tbl[4]'
rtl8139.c:211: warning: excess elements in struct initializer
rtl8139.c:211: warning: (near initialization for `pci_tbl[4]'
rtl8139.c:212: `PCI_USES_MASTER' undeclared here (not in a function)
rtl8139.c:212: `PCI_USES_IO' undeclared here (not in a function)
rtl8139.c:212: `PCI_ADDR0' undeclared here (not in a function)
rtl8139.c:212: warning: excess elements in struct initializer
rtl8139.c:212: warning: (near initialization for `pci_tbl[4]'
rtl8139.c:212: warning: excess elements in struct initializer
rtl8139.c:212: warning: (near initialization for `pci_tbl[4]'
rtl8139.c:212: warning: excess elements in struct initializer
rtl8139.c:212: warning: (near initialization for `pci_tbl[4]'
rtl8139.c:213: warning: excess elements in struct initializer
rtl8139.c:213: warning: (near initialization for `pci_tbl[5]'
rtl8139.c:214: invalid use of undefined type `struct pci_id_info'
rtl8139.c:216: variable `rtl8139_drv_id' has initializer but incomplete type
rtl8139.c:217: warning: excess elements in struct initializer
rtl8139.c:217: warning: (near initialization for `rtl8139_drv_id'
rtl8139.c:217: `PCI_HOTSWAP' undeclared here (not in a function)
rtl8139.c:217: warning: excess elements in struct initializer
rtl8139.c:217: warning: (near initialization for `rtl8139_drv_id'
rtl8139.c:217: warning: excess elements in struct initializer
rtl8139.c:217: warning: (near initialization for `rtl8139_drv_id'
rtl8139.c:217: warning: excess elements in struct initializer
rtl8139.c:217: warning: (near initialization for `rtl8139_drv_id'
rtl8139.c:218: warning: excess elements in struct initializer
rtl8139.c:218: warning: (near initialization for `rtl8139_drv_id'
rtl8139.c:218: warning: excess elements in struct initializer
rtl8139.c:218: warning: (near initialization for `rtl8139_drv_id'
rtl8139.c: In function `rtl8139_probe1':
rtl8139.c:380: invalid use of undefined type `struct pci_id_info'
rtl8139.c:403: invalid use of undefined type `struct pci_id_info'
rtl8139.c:417: invalid use of undefined type `struct pci_id_info'
rtl8139.c: In function `rtl8129_open':
rtl8139.c:714: structure has no member named `tbusy'
rtl8139.c:715: structure has no member named `interrupt'
rtl8139.c:716: structure has no member named `start'
rtl8139.c: In function `rtl8129_timer':
rtl8139.c:806: structure has no member named `interrupt'
rtl8139.c:812: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_tx_timeout':
rtl8139.c:939: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_start_xmit':
rtl8139.c:970: structure has no member named `tbusy'
rtl8139.c:993: structure has no member named `tbusy'
rtl8139.c:997: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:1022: structure has no member named `interrupt'
rtl8139.c:1025: structure has no member named `interrupt'
rtl8139.c:1122: structure has no member named `tbusy'
rtl8139.c:1198: structure has no member named `interrupt'
rtl8139.c: In function `rtl8129_close':
rtl8139.c:1321: structure has no member named `start'
rtl8139.c:1322: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_get_stats':
rtl8139.c:1387: structure has no member named `start'
rtl8139.c: In function `rtl_pwr_event':
rtl8139.c:1466: `DRV_ATTACH' undeclared (first use in this function)
rtl8139.c:1466: (Each undeclared identifier is reported only once
rtl8139.c:1466: for each function it appears in.)
rtl8139.c:1469: `DRV_SUSPEND' undeclared (first use in this function)
rtl8139.c:1477: `DRV_RESUME' undeclared (first use in this function)
rtl8139.c:1480: `DRV_DETACH' undeclared (first use in this function)
rtl8139.c:1487: invalid use of undefined type `struct pci_id_info'
rtl8139.c:1467: warning: unreachable code at beginning of switch statement
rtl8139.c: In function `rtl8139_attach':
rtl8139.c:1539: invalid use of undefined type `struct pci_id_info'
rtl8139.c: In function `rtl8139_detach':
rtl8139.c:1568: invalid use of undefined type `struct pci_id_info'
rtl8139.c: In function `cleanup_module':
rtl8139.c:1615: invalid use of undefined type `struct pci_id_info'
Marsh Posté le 18-04-2002 à 01:56:04
pas d'idée???
Marsh Posté le 13-04-2002 à 02:53:58
Voilà, j'ai une carte réseau pcmcia à base de dtl8139 (surecom 428x).
Je suis allé sur le site du gars qui a fait les drivers 8139, j'ai compilé les modules nécessaires, mais quand je fais un "insmod" pour tester, il m'affiche une tonne de messages d'erreurs.
exemple :
realtek_cb.o: unresolved symbol kfree
realtek_cb.o: Note: modules without a GPL compatible license cannot use GPLONLY_symbols
Ya pas qqn qui aurait déjà eu ce genre de blème et pourrait me donner un cp de main?
---------------
"Soyons réalistes, exigeons l'impossible"