Forum des développeurs  

Le forum de référence en programmation et développement. Articles, cours et tutoriels du débutant au chef de projet et DBA confirmé.
Précédent   Forum des développeurs > Hardware, Systèmes et Logiciels > Linux > Matériel

Matériel Vos questions relatives à la configuration optimale et au support matériel

Réponse
 
Outils de la discussion
Vieux 05/11/2008, 16h08   #1 (permalink)
Futur Membre du Club
 
Date d'inscription: septembre 2008
Localisation: Chambery
Âge: 20
Messages: 35
Par défaut Bug à l'installation du pilote "rtl8187"

Bonjours à vous.
Voila que j'essaye d'installer ma carte wifi à base de chipset rtl8187.
Je suis sur CentOS 5
Mon kernel est: 2.6.18

Je me suis heurter à plusieur probleme, tout d'abord, je n'avais pas les programme, make et gcc, je les ai donc installé.

Voici le contenue du readme du pilote:

Code :
Release Date: 2006-02-09, ver 1.2
RTL8187 Linux driver version 1.2

   --This driver supports RealTek RTL8187 Wireless LAN driver for
     Fedora Core 2/3/4/5, Debian 3.1, Mandrake 10.2/Mandriva 2006,
     SUSE 9.3/10.1/10.2, Gentoo 3.1, etc.
   - Support Client mode for either infrastructure or adhoc mode
   - Support WEP and WPAPSK connection

< Component >
The driver is composed of several parts:
        1. Module source code
          stack.tar.gz
          drv.tar.gz

        2. Script ot build the modules
          makedrv

        3. Script to load/unload modules
          wlan0up
          wlan0down

        4. Script and configuration for DHCP
          wlan0dhcp
          ifcfg-wlan0
        4. Supplicant source code:
          wpa_supplicant-0.4.9.tar.gz

        5. Example of supplicant configuration file:
          wpa1.conf

< Installation >
Runing the scripts can finish all operations of building up modules
from the source code and start the nic.
        1. Build up the drivers from the source code
          ./makedrv

        2. load the driver module to kernel and start up nic
          ./wlan0up
J'utilise donc ./makedrv et voici les message d'erreur de compilation qui sont pour moi encore bien obscure

Code :
ieee80211/
ieee80211/license
ieee80211/ieee80211_crypt.c
ieee80211/ieee80211_tx.c
ieee80211/ieee80211_softmac.c
ieee80211/ieee80211_softmac_wx.c
ieee80211/ieee80211_module.c
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_rx.c
ieee80211/tags
ieee80211/ieee80211_crypt_tkip.c
ieee80211/Makefile
ieee80211/readme
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211.h
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt.h
rtl8187/
rtl8187/license
rtl8187/r8180_rtl8225z2.c
rtl8187/r8180_rtl8225.h
rtl8187/r8187_led.c
rtl8187/r8180_93cx6.h
rtl8187/r8180_wx.h
rtl8187/r8180_hw.h
rtl8187/copying
rtl8187/r8187_led.h
rtl8187/r8180_pm.h
rtl8187/tags
rtl8187/r8187.h
rtl8187/Makefile
rtl8187/r8180_rtl8225.c
rtl8187/readme
rtl8187/install
rtl8187/.tmp_versions/
rtl8187/.tmp_versions/r8187.mod
rtl8187/changes
rtl8187/r8180_wx.c
rtl8187/r8180_pm.c
rtl8187/r8187_core.c
rtl8187/r8180_93cx6.c
rtl8187/authors
rtl8187/ieee80211.h
rtl8187/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /root/rtl8187_linux_26.1025.0328.2007/ieee80211/tmp
make -C /lib/modules/2.6.18-92.1.13.el5/build M=/root/rtl8187_linux_26.1025.0328.2007/ieee80211 modules
make[1]: entrant dans le répertoire « /usr/src/kernels/2.6.18-92.1.13.el5-i686 »
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_rx.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_rx.c:25:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_rx.c:25:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_tx.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_tx.c:35:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_tx.c:35:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_wx.o
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_module.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_module.c:34:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_module.c:34:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac_wx.o
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt.c:14:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt.c:14:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_ccmp.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_ccmp.c:12:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_tkip.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_tkip.c:12:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_wep.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_wep.c:12:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211-rtl.o
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt-rtl.o
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_wep-rtl.o
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_tkip-rtl.o
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_ccmp-rtl.o
  Building modules, stage 2.
  MODPOST
  CC      /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211-rtl.mod.o
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211-rtl.ko
  CC      /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt-rtl.mod.o
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt-rtl.ko
  CC      /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_ccmp-rtl.mod.o
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_ccmp-rtl.ko
  CC      /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_tkip-rtl.mod.o
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_tkip-rtl.ko
  CC      /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_wep-rtl.mod.o
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_crypt_wep-rtl.ko
make[1]: quittant le répertoire « /usr/src/kernels/2.6.18-92.1.13.el5-i686 »
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /root/rtl8187_linux_26.1025.0328.2007/rtl8187/tmp
make -C /lib/modules/2.6.18-92.1.13.el5/build M=/root/rtl8187_linux_26.1025.0328.2007/rtl8187 modules
make[1]: entrant dans le répertoire « /usr/src/kernels/2.6.18-92.1.13.el5-i686 »
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29,
          Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_93cx6.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29,
          Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_93cx6.h:16,
          Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_93cx6.c:21:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_wx.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29,
          Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_wx.c:22:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_rtl8225.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29,
          Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_rtl8225.h:16,
          Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_rtl8225.c:16:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_rtl8225z2.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29,
          Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_rtl8225.h:16,
          Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8180_rtl8225z2.c:16:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  CC [M]  /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_led.o
Dans le fichier inclus Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29,
          Ã* partir de /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_led.c:21:
include/linux/config.h:6:2: attention : #warning Including config.h is deprecated.
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.o
  Building modules, stage 2.
  MODPOST
WARNING: "ieee80211_softmac_stop_protocol_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "free_ieee80211_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_wap_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_rx_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_mode_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_is_shortslot" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_freq_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_name_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_rate_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_rate_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_freq_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_is_54g" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_scan_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_essid_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_scan_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wpa_supplicant_ioctl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_mode_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_get_beacon" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_rawtx_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_encode_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_stop_protocol_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_wap_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_power_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_encode_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_softmac_start_protocol_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wlan_frequencies_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_power_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "alloc_ieee80211_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_reset_queue" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_essid_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
WARNING: "ieee80211_start_protocol_rtl" [/root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko] undefined!
  CC      /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.mod.o
  LD [M]  /root/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.ko
make[1]: quittant le répertoire « /usr/src/kernels/2.6.18-92.1.13.el5-i686 »
Je ne comprend pas les répétition de:

Code :
#warning Including *.h is deprecated.
Peu etre faut-il que je patch mon kernel, que j'essaye des pilote plus ancien.
Si vous avez des piste................

Merci d'avance

Dernière modification par BbT0n ; 12/11/2008 à 09h33
BbT0n est déconnecté   Envoyer un message privé Réponse avec citation
Vieux 12/11/2008, 09h40   #2 (permalink)
Membre éclairé
 
Avatar de Vespasien
 
Date d'inscription: janvier 2008
Âge: 33
Messages: 312
Par défaut

Tu devrais regarder quand même si le module n'est pas créé. Ce ne sont que des WARNING pas des echecs de compilation.
__________________
Les X commandements
Vespasien est déconnecté   Envoyer un message privé Réponse avec citation
Vieux 12/11/2008, 09h44   #3 (permalink)
Futur Membre du Club
 
Date d'inscription: septembre 2008
Localisation: Chambery
Âge: 20
Messages: 35
Par défaut

Yes, ça c'est de la reponse rapide !

Mais comment je sais si mon module est crée ? Parceque je ne peu pas charger le module (ou l'interface ?) avec la commande ./wlan0up

Code :
insmod: error inserting 'r8187.ko': -1 Unknown symbol in module
wlan0: interface inconnue: Aucun périphérique de ce type
BbT0n est déconnecté   Envoyer un message privé Réponse avec citation
NEWS LINUX PROFESSIONNELFAQ LINUXTUTORIELS LINUXLIVRES LINUXLINUX TVUNIXGTK+QtAPACHE

Réponse

Précédent   Forum des développeurs > Hardware, Systèmes et Logiciels > Linux > Matériel



Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are non
Pingbacks are non
Refbacks are non
Navigation rapide