Caríssimos,
Segui todas as dicas do colega ronimc. Consegui colocar o driver na lista negra, mas o restante não funcionou. Segue abaixo o que eu fiz:
root@jeovane:/home/jeovane/Placa_rede/rt2x00-cvs-2008031514# make
CC [M] /home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.o
Em arquivo incluído de <command line>:1:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00_compat.h:39:2: erro: #error CONFIG_EEPROM_93CX6 not enabled in kernel!
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:33:32: erro: linux/eeprom_93cx6.h: Arquivo ou diretório inexistente
In file included from /home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:35:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h:363: error: field ‘conf’ has incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h:390: warning: ‘struct ieee80211_vif’ declared inside parameter list
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h:390: warning: its scope is only this definition or declaration, which is probably not what you want
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h: In function ‘vif_to_intf’:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h:392: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h: At top level:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h:442: error: field ‘band’ has incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h:666: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h:667: error: field ‘curr_band’ has incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h:990: warning: ‘struct ieee80211_vif’ declared inside parameter list
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2x00.h:998: warning: ‘struct ieee80211_vif’ declared inside parameter list
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:160: warning: ‘struct eeprom_93cx6’ declared inside parameter list
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: In function ‘rt2400pci_eepromregister_read’:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:162: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:167: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:168: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:169: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:171: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: At top level:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:175: warning: ‘struct eeprom_93cx6’ declared inside parameter list
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: In function ‘rt2400pci_eepromregister_write’:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:177: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:180: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:181: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:183: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:185: error: dereferencing pointer to incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: In function ‘rt2400pci_write_tx_desc’:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1019: error: ‘IEEE80211_TXCTL_LONG_RETRY_LIMIT’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1019: error: (Each undeclared identifier is reported only once
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1019: error: for each function it appears in.)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: In function ‘rt2400pci_fill_rxdone’:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1067: error: ‘RX_FLAG_FAILED_FCS_CRC’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1069: error: ‘RX_FLAG_FAILED_PLCP_CRC’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: At top level:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1086: warning: ‘enum ieee80211_tx_queue’ declared inside parameter list
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1086: error: parameter 2 (‘queue_idx’) has incomplete type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: In function ‘rt2400pci_interrupt’:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1153: error: type of formal parameter 2 is incomplete
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1159: error: type of formal parameter 2 is incomplete
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1165: error: type of formal parameter 2 is incomplete
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: In function ‘rt2400pci_validate_eeprom’:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1175: error: storage size of ‘eeprom’ isn’t known
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1186: error: ‘PCI_EEPROM_WIDTH_93C46’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1186: error: ‘PCI_EEPROM_WIDTH_93C66’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1192: warning: implicit declaration of function ‘eeprom_93cx6_multiread’
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1200: warning: implicit declaration of function ‘DECLARE_MAC_BUF’
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1200: error: ‘macbuf’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1203: warning: implicit declaration of function ‘print_mac’
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1203: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1175: warning: unused variable ‘eeprom’
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: At top level:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1398: warning: ‘struct dev_addr_list’ declared inside parameter list
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: In function ‘rt2400pci_configure_filter’:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1408: error: ‘FIF_ALLMULTI’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1409: error: ‘FIF_FCSFAIL’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1410: error: ‘FIF_PLCPFAIL’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1411: error: ‘FIF_CONTROL’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1412: error: ‘FIF_OTHER_BSS’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1413: error: ‘FIF_PROMISC_IN_BSS’ undeclared (first use in this function)
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: In function ‘rt2400pci_beacon_update’:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1510: error: ‘struct ieee80211_tx_control’ has no member named ‘vif’
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c: At top level:
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1571: error: unknown field ‘start’ specified in initializer
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1572: warning: initialization from incompatible pointer type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1576: warning: initialization from incompatible pointer type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1577: error: unknown field ‘configure_filter’ specified in initializer
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1577: warning: initialization from incompatible pointer type
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1580: error: unknown field ‘bss_info_changed’ specified in initializer
/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.c:1580: warning: initialization from incompatible pointer type
make[2]: ** [/home/jeovane/Placa_rede/rt2x00-cvs-2008031514/rt2400pci.o] Erro 1
make[1]: ** [_module_/home/jeovane/Placa_rede/rt2x00-cvs-2008031514] Erro 2
make: ** [default] Erro 2
root@jeovane:/home/jeovane/Placa_rede/rt2x00-cvs-2008031514#
root@jeovane:/home/jeovane/Placa_rede/rt2x00-cvs-2008031514# apt-cdrom add
Usando ponto de montagem de CD-ROM /cdrom/
Desmontando CD-ROM
Aguardando por disco...
Por favor, insira um Disco no leitor e pressione enter
Montando CD-ROM...
Identificando.. [b23710d0071ddbf904b10cfe355c13af-2]
Procurando por arquivos de índice no disco..
Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
Esse disco é chamado:
'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)'
Copiando lista de pacotes...gpgv: Assinatura feita Seg 15 Out 2007 20:53:09 BRT usando DSA chave ID FBB75451
gpgv: Assinatura correta de "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>"
Reading Package Indexes... Pronto
Gravando nova lista de fontes
Entradas na lista de fontes para este disco são:
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
A desmontar o CD-ROM...
Repita este processo para o restante dos CDs em seu conjunto.
root@jeovane:/home/jeovane/Placa_rede/rt2x00-cvs-2008031514# apt-cdrom add
Usando ponto de montagem de CD-ROM /cdrom/
Desmontando CD-ROM
Aguardando por disco...
Por favor, insira um Disco no leitor e pressione enter
Montando CD-ROM...
Identificando.. [b23710d0071ddbf904b10cfe355c13af-2]
Procurando por arquivos de índice no disco..
Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
Esse disco é chamado:
'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)'
Copiando lista de pacotes...gpgv: Assinatura feita Seg 15 Out 2007 20:53:09 BRT usando DSA chave ID FBB75451
gpgv: Assinatura correta de "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>"
Reading Package Indexes... Pronto
Gravando nova lista de fontes
Entradas na lista de fontes para este disco são:
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
A desmontar o CD-ROM...
Repita este processo para o restante dos CDs em seu conjunto.
root@jeovane:/home/jeovane/Placa_rede/rt2x00-cvs-2008031514# clear
root@jeovane:/home/jeovane/Placa_rede/rt2x00-cvs-2008031514# aptitude update
Err
http://security.ubuntu.com gutsy-security Release.gpg
Não foi possível resolver 'security.ubuntu.com'
Err
http://security.ubuntu.com gutsy-security/restricted Translation-pt_BR
Não foi possível resolver 'security.ubuntu.com'
Err
http://security.ubuntu.com gutsy-security/main Translation-pt_BR
Não foi possível resolver 'security.ubuntu.com'
Err
http://archive.ubuntu.com gutsy-updates Release.gpg
Não foi possível resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com gutsy-updates/restricted Translation-pt_BR
Não foi possível resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com gutsy-updates/main Translation-pt_BR
Não foi possível resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com gutsy-proposed Release.gpg
Não foi possível resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com gutsy-proposed/restricted Translation-pt_BR
Não foi possível resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com gutsy-proposed/main Translation-pt_BR
Não foi possível resolver 'archive.ubuntu.com'
Ign
http://archive.ubuntu.com gutsy-updates Release
Ign
http://archive.ubuntu.com gutsy-proposed Release
Ign
http://archive.ubuntu.com gutsy-updates/restricted Packages
Ign
http://archive.ubuntu.com gutsy-updates/main Packages
Ign
http://archive.ubuntu.com gutsy-proposed/restricted Packages
Ign
http://archive.ubuntu.com gutsy-proposed/main Packages
Err
http://archive.ubuntu.com gutsy-updates/restricted Packages
Não foi possível resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com gutsy-updates/main Packages
Não foi possível resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com gutsy-proposed/restricted Packages
Não foi possível resolver 'archive.ubuntu.com'
Err
http://archive.ubuntu.com gutsy-proposed/main Packages
Não foi possível resolver 'archive.ubuntu.com'
Ign
http://security.ubuntu.com gutsy-security Release
Ign
http://security.ubuntu.com gutsy-security/restricted Packages
Ign
http://security.ubuntu.com gutsy-security/main Packages
Err
http://security.ubuntu.com gutsy-security/restricted Packages
Não foi possível resolver 'security.ubuntu.com'
Err
http://security.ubuntu.com gutsy-security/main Packages
Não foi possível resolver 'security.ubuntu.com'
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-pt_BR
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-pt_BR
Lendo lista de pacotes... Pronto
root@jeovane:/home/jeovane/Placa_rede/rt2x00-cvs-2008031514# aptitude install build-essential linux-headers-`uname -r` linux-source-`uname -r | cut -f1 -d-`
Lendo lista de pacotes... Pronto
Construindo árvore de dependências
Reading state information... Pronto
Lendo informações estendidas de estado
Inicializando estados de pacotes... Pronto
Construindo a base de dados... Pronto
Os pacotes a seguir estão QUEBRADOS:
libc6-i686
Os pacotes a seguir foram automaticamente mantidos:
linux-restricted-modules-common
Os NOVOS pacotes a seguir serão automaticamente instalados:
dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev linux-libc-dev patch
Os pacotes a seguir foram mantidos:
app-install-data-commercial apt apt-utils apturl avahi-autoipd avahi-daemon bind9-host
bittorrent capplets-data compiz compiz-core compiz-gnome compiz-plugins cupsys cupsys-bsd
cupsys-client cupsys-common deskbar-applet dnsutils e2fslibs e2fsprogs eog esound-common
evince evolution evolution-common evolution-data-server evolution-data-server-common
evolution-plugins file-roller findutils firefox firefox-gnome-support foo2zjs gcalctool gdm
gedit gedit-common ghostscript ghostscript-x gimp gimp-data gimp-python gnome-about
gnome-cards-data gnome-control-center gnome-desktop-data gnome-games gnome-games-data
gnome-menus gnome-panel gnome-panel-data gnome-screensaver gnome-session gnome-system-monitor
gnome-system-tools gthumb gtk2-engines gtkhtml3.14 hwdb-client-common hwdb-client-gnome
language-pack-gnome-pt language-pack-gnome-pt-base language-pack-pt language-pack-pt-base
libavahi-client3 libavahi-common-data libavahi-common3 libavahi-compat-libdnssd1
libavahi-core5 libavahi-glib1 libbind9-30 libblkid1 libcairo2 libcamel1.2-10 libcdio6
libcomerr2 libcupsimage2 libcupsys2 libdb4.4 libdecoration0 libdns32 libebook1.2-9
libecal1.2-7 libedata-book1.2-2 libedata-cal1.2-6 libedataserver1.2-9 libedataserverui1.2-8
libegroupwise1.2-13 libesd-alsa0 libexchange-storage1.2-3 libflac8 libgimp2.0
libgnome-desktop-2 libgnome-menu2 libgnome-window-settings1 libgnomeui-0 libgnomeui-common
libgs8 libgtkhtml3.14-19 libgtksourceview2.0-0 libgtksourceview2.0-common libisc32 libisccc30
libisccfg30 libkpathsea4 liblwres30 libmono-cairo1.0-cil libmono-corlib1.0-cil
libmono-corlib2.0-cil libmono-data-tds2.0-cil libmono-security2.0-cil
libmono-sharpzip2.84-cil libmono-sqlite2.0-cil libmono-system-data2.0-cil
libmono-system-web2.0-cil libmono-system1.0-cil libmono-system2.0-cil libmono0 libmono2.0-cil
libnautilus-extension1 libnm-glib0 libnm-util0 libpanel-applet2-0 libpango1.0-0
libpango1.0-common libpcre3 libpcrecpp0 libperl5.8 libpng12-0 libpoppler-glib2 libpoppler2
libpt-1.10.0 libpt-plugins-alsa libpt-plugins-v4l libpt-plugins-v4l2 libpurple0 libsmbclient
libsnmp-base libsnmp10 libss2 libssl0.9.8 libuuid1 libvolume-id0 libwnck-common libwnck22
libxfont1 libxml2 libxml2-utils linux-headers-2.6.22-14 linux-image-2.6.22-14-generic
linux-restricted-modules-2.6.22-14-generic linux-ubuntu-modules-2.6.22-14-generic mono-common
mono-gac mono-jit mono-runtime nautilus nautilus-data network-manager network-manager-gnome
openoffice.org openoffice.org-base openoffice.org-calc openoffice.org-common
openoffice.org-core openoffice.org-draw openoffice.org-evolution openoffice.org-gnome
openoffice.org-gtk openoffice.org-impress openoffice.org-java-common openoffice.org-math
openoffice.org-style-human openoffice.org-writer openssh-client openssl perl perl-base
perl-modules pidgin pidgin-data poppler-utils python-bittorrent python-gmenu python-libxml2
python-uno python2.5 python2.5-minimal samba-common smbclient sound-juicer ssh-askpass-gnome
tomboy ttf-opensymbol tzdata ubufox ubuntu-docs udev update-manager update-manager-core
volumeid xserver-xorg-core xserver-xorg-video-intel
Os NOVOS pacotes a seguir serão instalados:
build-essential dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev linux-libc-dev
linux-source-2.6.22 patch
Os pacotes a seguir serão atualizados:
libc6 linux-headers-2.6.22-14-generic
2 pacotes atualizados, 9 novos instalados, 0 a serem removidos e 206 não atualizados.
É preciso obter 54,1MB/58,1MB de arquivos. Depois do desempacotamento, 77,4MB serão usados.
Os pacotes a seguir possuem dependências não satisfeitas :
libc6-i686: Pré-Depende: libc6 (= 2.6.1-1ubuntu9) mas 2.6.1-1ubuntu10 será instalado.
Resolving dependencies...
As seguintes ações resolverão essas dependências :
Atualiza os pacotes a seguir :
libc6-i686 [2.6.1-1ubuntu9 (now) -> 2.6.1-1ubuntu10 (gutsy-updates)]
Pontuação é 66
Aceitar esta solução ? [S/n/q/?]
(aqui tentei todas as possibilidades e o erro do pacote sempre se repetia)
root@jeovane:/home/jeovane/Placa_rede/rt2x00-cvs-2008031514#
root@jeovane:/home/jeovane/Placa_rede/rt2x00-cvs-2008031514# su -c "make install"
DEPMOD 2.6.22-14-generic
/sbin/depmod -a
root@jeovane:/home/jeovane/Placa_rede/rt2x00-cvs-2008031514# modprobe rt61
FATAL: Module rt61 not found.
Espero que possam me auxiliar.
Obrigado