Enviado em 03/08/2012 - 13:35h
Bom dia a todos.
Venho aqui buscando ajuda para encontrar um driver.
Tenho um PC com SUSE Linux Enterprise 11, ele tem uma placa de rede TP-Link TG-3468 v1.2.
No site do fabricante encontrei o driver para a versão 1.1:
http://www.tp-link.com.br/support/download/?model=TG-3468&version=V1
O problema é que o fabricante não disponibiliza o driver da versão 1.2 para linux:
http://www.tp-link.com.br/support/download/?model=TG-3468&version=V2
Então baixei o V1 e tentei instalá-lo, segue a mensagem de erro:
proxy:~ # cd linux2.6
proxy:~/linux2.6 # ls
Makefile readme release_note.txt src
proxy:~/linux2.6 # make
make -C src/ clean
make[1]: Entering directory `/root/linux2.6/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers rset
make[1]: Leaving directory `/root/linux2.6/src'
make -C src/ modules
make[1]: Entering directory `/root/linux2.6/src'
make -C /lib/modules/2.6.32.12-0.7-default/build SUBDIRS=/root/linux2.6/src modules
make[2]: Entering directory `/usr/src/linux-2.6.32.12-0.7-obj/x86_64/default'
make -C ../../../linux-2.6.32.12-0.7 O=/usr/src/linux-2.6.32.12-0.7-obj/x86_64/default/. modules
CC [M] /root/linux2.6/src/r8168_n.o
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_get_ethtool_stats’:
/root/linux2.6/src/r8168_n.c:1020: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/linux2.6/src/r8168_n.c: At top level:
/root/linux2.6/src/r8168_n.c:1085: error: unknown field ‘get_perm_addr’ specified in initializer
/root/linux2.6/src/r8168_n.c:1085: error: ‘ethtool_op_get_perm_addr’ undeclared here (not in a function)
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_init_board’:
/root/linux2.6/src/r8168_n.c:1319: error: implicit declaration of function ‘SET_MODULE_OWNER’
/root/linux2.6/src/r8168_n.c:1374: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/linux2.6/src/r8168_n.c:1377: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_init_one’:
/root/linux2.6/src/r8168_n.c:1493: error: ‘struct net_device’ has no member named ‘open’
/root/linux2.6/src/r8168_n.c:1494: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/root/linux2.6/src/r8168_n.c:1495: error: ‘struct net_device’ has no member named ‘get_stats’
/root/linux2.6/src/r8168_n.c:1497: error: ‘struct net_device’ has no member named ‘stop’
/root/linux2.6/src/r8168_n.c:1498: error: ‘struct net_device’ has no member named ‘tx_timeout’
/root/linux2.6/src/r8168_n.c:1499: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/root/linux2.6/src/r8168_n.c:1503: error: ‘struct net_device’ has no member named ‘change_mtu’
/root/linux2.6/src/r8168_n.c:1504: error: ‘struct net_device’ has no member named ‘set_mac_address’
/root/linux2.6/src/r8168_n.c:1505: error: ‘struct net_device’ has no member named ‘do_ioctl’
/root/linux2.6/src/r8168_n.c:1508: error: ‘struct net_device’ has no member named ‘poll’
/root/linux2.6/src/r8168_n.c:1509: error: ‘struct net_device’ has no member named ‘weight’
/root/linux2.6/src/r8168_n.c:1519: error: ‘struct net_device’ has no member named ‘poll_controller’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_hw_start’:
/root/linux2.6/src/r8168_n.c:1700: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/linux2.6/src/r8168_n.c:1702: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_change_mtu’:
/root/linux2.6/src/r8168_n.c:1877: error: implicit declaration of function ‘netif_poll_enable’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_wait_for_quiescence’:
/root/linux2.6/src/r8168_n.c:2128: error: implicit declaration of function ‘netif_poll_disable’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_tso_csum’:
/root/linux2.6/src/r8168_n.c:2276: error: ‘struct sk_buff’ has no member named ‘nh’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_try_rx_copy’:
/root/linux2.6/src/r8168_n.c:2529: error: implicit declaration of function ‘eth_copy_and_sum’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_rx_interrupt’:
/root/linux2.6/src/r8168_n.c:2552: error: ‘struct net_device’ has no member named ‘quota’
/root/linux2.6/src/r8168_n.c:2552: warning: type defaults to ‘int’ in declaration of ‘_min2’
/root/linux2.6/src/r8168_n.c:2552: error: ‘struct net_device’ has no member namd ‘quota’
/root/linux2.6/src/r8168_n.c:2552: warning: comparison of distinct pointer type lacks a cast
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_interrupt’:
/root/linux2.6/src/r8168_n.c:2742: error: implicit declaration of function ‘netf_rx_schedule_prep’
/root/linux2.6/src/r8168_n.c:2743: error: implicit declaration of function ‘__ntif_rx_schedule’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_poll’:
/root/linux2.6/src/r8168_n.c:2782: error: ‘struct net_device’ has no member namd ‘quota’
/root/linux2.6/src/r8168_n.c:2782: warning: type defaults to ‘int’ in declaratin of ‘_min2’
/root/linux2.6/src/r8168_n.c:2782: error: ‘struct net_device’ has no member namd ‘quota’
/root/linux2.6/src/r8168_n.c:2790: error: ‘struct net_device’ has no member namd ‘quota’
/root/linux2.6/src/r8168_n.c:2793: error: implicit declaration of function ‘netf_rx_complete’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_init_module’:
/root/linux2.6/src/r8168_n.c:3042: error: implicit declaration of function ‘pcimodule_init’
make[5]: *** [/root/linux2.6/src/r8168_n.o] Error 1
make[4]: *** [_module_/root/linux2.6/src] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.32.12-0.7-obj/x86_64/default'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/linux2.6/src'
make: *** [modules] Error 2
proxy:~/linux2.6 #
Ainda sou um iniciante em linux, então se alguem puder me ajudar, ficarei muito agradecido.
Obrigado pela atenção.
Venho aqui buscando ajuda para encontrar um driver.
Tenho um PC com SUSE Linux Enterprise 11, ele tem uma placa de rede TP-Link TG-3468 v1.2.
No site do fabricante encontrei o driver para a versão 1.1:
http://www.tp-link.com.br/support/download/?model=TG-3468&version=V1
O problema é que o fabricante não disponibiliza o driver da versão 1.2 para linux:
http://www.tp-link.com.br/support/download/?model=TG-3468&version=V2
Então baixei o V1 e tentei instalá-lo, segue a mensagem de erro:
proxy:~ # cd linux2.6
proxy:~/linux2.6 # ls
Makefile readme release_note.txt src
proxy:~/linux2.6 # make
make -C src/ clean
make[1]: Entering directory `/root/linux2.6/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers rset
make[1]: Leaving directory `/root/linux2.6/src'
make -C src/ modules
make[1]: Entering directory `/root/linux2.6/src'
make -C /lib/modules/2.6.32.12-0.7-default/build SUBDIRS=/root/linux2.6/src modules
make[2]: Entering directory `/usr/src/linux-2.6.32.12-0.7-obj/x86_64/default'
make -C ../../../linux-2.6.32.12-0.7 O=/usr/src/linux-2.6.32.12-0.7-obj/x86_64/default/. modules
CC [M] /root/linux2.6/src/r8168_n.o
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_get_ethtool_stats’:
/root/linux2.6/src/r8168_n.c:1020: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/linux2.6/src/r8168_n.c: At top level:
/root/linux2.6/src/r8168_n.c:1085: error: unknown field ‘get_perm_addr’ specified in initializer
/root/linux2.6/src/r8168_n.c:1085: error: ‘ethtool_op_get_perm_addr’ undeclared here (not in a function)
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_init_board’:
/root/linux2.6/src/r8168_n.c:1319: error: implicit declaration of function ‘SET_MODULE_OWNER’
/root/linux2.6/src/r8168_n.c:1374: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/linux2.6/src/r8168_n.c:1377: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_init_one’:
/root/linux2.6/src/r8168_n.c:1493: error: ‘struct net_device’ has no member named ‘open’
/root/linux2.6/src/r8168_n.c:1494: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/root/linux2.6/src/r8168_n.c:1495: error: ‘struct net_device’ has no member named ‘get_stats’
/root/linux2.6/src/r8168_n.c:1497: error: ‘struct net_device’ has no member named ‘stop’
/root/linux2.6/src/r8168_n.c:1498: error: ‘struct net_device’ has no member named ‘tx_timeout’
/root/linux2.6/src/r8168_n.c:1499: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/root/linux2.6/src/r8168_n.c:1503: error: ‘struct net_device’ has no member named ‘change_mtu’
/root/linux2.6/src/r8168_n.c:1504: error: ‘struct net_device’ has no member named ‘set_mac_address’
/root/linux2.6/src/r8168_n.c:1505: error: ‘struct net_device’ has no member named ‘do_ioctl’
/root/linux2.6/src/r8168_n.c:1508: error: ‘struct net_device’ has no member named ‘poll’
/root/linux2.6/src/r8168_n.c:1509: error: ‘struct net_device’ has no member named ‘weight’
/root/linux2.6/src/r8168_n.c:1519: error: ‘struct net_device’ has no member named ‘poll_controller’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_hw_start’:
/root/linux2.6/src/r8168_n.c:1700: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/linux2.6/src/r8168_n.c:1702: warning: ‘DMA_nnBIT_MASK’ is deprecated
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_change_mtu’:
/root/linux2.6/src/r8168_n.c:1877: error: implicit declaration of function ‘netif_poll_enable’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_wait_for_quiescence’:
/root/linux2.6/src/r8168_n.c:2128: error: implicit declaration of function ‘netif_poll_disable’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_tso_csum’:
/root/linux2.6/src/r8168_n.c:2276: error: ‘struct sk_buff’ has no member named ‘nh’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_try_rx_copy’:
/root/linux2.6/src/r8168_n.c:2529: error: implicit declaration of function ‘eth_copy_and_sum’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_rx_interrupt’:
/root/linux2.6/src/r8168_n.c:2552: error: ‘struct net_device’ has no member named ‘quota’
/root/linux2.6/src/r8168_n.c:2552: warning: type defaults to ‘int’ in declaration of ‘_min2’
/root/linux2.6/src/r8168_n.c:2552: error: ‘struct net_device’ has no member namd ‘quota’
/root/linux2.6/src/r8168_n.c:2552: warning: comparison of distinct pointer type lacks a cast
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_interrupt’:
/root/linux2.6/src/r8168_n.c:2742: error: implicit declaration of function ‘netf_rx_schedule_prep’
/root/linux2.6/src/r8168_n.c:2743: error: implicit declaration of function ‘__ntif_rx_schedule’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_poll’:
/root/linux2.6/src/r8168_n.c:2782: error: ‘struct net_device’ has no member namd ‘quota’
/root/linux2.6/src/r8168_n.c:2782: warning: type defaults to ‘int’ in declaratin of ‘_min2’
/root/linux2.6/src/r8168_n.c:2782: error: ‘struct net_device’ has no member namd ‘quota’
/root/linux2.6/src/r8168_n.c:2790: error: ‘struct net_device’ has no member namd ‘quota’
/root/linux2.6/src/r8168_n.c:2793: error: implicit declaration of function ‘netf_rx_complete’
/root/linux2.6/src/r8168_n.c: In function ‘rtl8168_init_module’:
/root/linux2.6/src/r8168_n.c:3042: error: implicit declaration of function ‘pcimodule_init’
make[5]: *** [/root/linux2.6/src/r8168_n.o] Error 1
make[4]: *** [_module_/root/linux2.6/src] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.32.12-0.7-obj/x86_64/default'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/linux2.6/src'
make: *** [modules] Error 2
proxy:~/linux2.6 #
Ainda sou um iniciante em linux, então se alguem puder me ajudar, ficarei muito agradecido.
Obrigado pela atenção.