Skocz do zawartości

Instalacja Sterownika Dla Karty Sieciowej 1G En 9235Tx


Janusz Zaba

Rekomendowane odpowiedzi

Witam

 

Zakupiłem ostatnio do firmy karte sieciowa 1G en-9235tx i nie moge do niej zainstalowac sterowników.

Sterowniki sa do sciagniecia ze strony:

http://www.edimax.pl/pl/support_detail.php?pd_id=300&pl1_id=2&pl2_id=9#01

 

 

Mam zainstalowana fedore 15 kernel 2.6.43.8-1.fc15.i686

 

Czy ktos mogl by sprobowac w domu zainstalowac te sterowniki i sprawdzic czy to sie wogula da zrobic :)

 

 

U mnie wyskakuja takie bledy i nie wiem co mam dalej zrobic :)

 

 

[root@localhost a]# make clean modules

make -C src/ clean

make[1]: Entering directory `/home/a/src'

rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset modules.order

make[1]: Leaving directory `/home/a/src'

make -C src/ modules

make[1]: Entering directory `/home/a/src'

make -C /lib/modules/2.6.43.8-1.fc15.i686/build SUBDIRS=/home/a/src modules

make[2]: Entering directory `/usr/src/kernels/2.6.43.8-1.fc15.i686'

CC [M] /home/a/src/r8169_n.o

/home/a/src/r8169_n.c:1112:2: error: unknown field ‘get_rx_csum’ specified in initializer

/home/a/src/r8169_n.c:1112:2: warning: initialization from incompatible pointer type [enabled by default]

/home/a/src/r8169_n.c:1112:2: warning: (near initialization for ‘rtl8169_ethtool_ops.nway_reset’) [enabled by default]

/home/a/src/r8169_n.c:1113:2: error: unknown field ‘set_rx_csum’ specified in initializer

/home/a/src/r8169_n.c:1113:2: warning: initialization from incompatible pointer type [enabled by default]

/home/a/src/r8169_n.c:1113:2: warning: (near initialization for ‘rtl8169_ethtool_ops.get_link’) [enabled by default]

/home/a/src/r8169_n.c:1114:2: error: unknown field ‘get_tx_csum’ specified in initializer

/home/a/src/r8169_n.c:1114:2: warning: initialization from incompatible pointer type [enabled by default]

/home/a/src/r8169_n.c:1114:2: warning: (near initialization for ‘rtl8169_ethtool_ops.get_eeprom_len’) [enabled by default]

/home/a/src/r8169_n.c:1115:2: error: unknown field ‘set_tx_csum’ specified in initializer

/home/a/src/r8169_n.c:1115:2: warning: initialization from incompatible pointer type [enabled by default]

/home/a/src/r8169_n.c:1115:2: warning: (near initialization for ‘rtl8169_ethtool_ops.get_eeprom’) [enabled by default]

/home/a/src/r8169_n.c:1116:2: error: unknown field ‘get_sg’ specified in initializer

/home/a/src/r8169_n.c:1116:2: warning: initialization from incompatible pointer type [enabled by default]

/home/a/src/r8169_n.c:1116:2: warning: (near initialization for ‘rtl8169_ethtool_ops.set_eeprom’) [enabled by default]

/home/a/src/r8169_n.c:1117:2: error: unknown field ‘set_sg’ specified in initializer

/home/a/src/r8169_n.c:1117:2: warning: initialization from incompatible pointer type [enabled by default]

/home/a/src/r8169_n.c:1117:2: warning: (near initialization for ‘rtl8169_ethtool_ops.get_coalesce’) [enabled by default]

/home/a/src/r8169_n.c:1119:2: error: unknown field ‘get_tso’ specified in initializer

/home/a/src/r8169_n.c:1119:14: error: ‘ethtool_op_get_tso’ undeclared here (not in a function)

/home/a/src/r8169_n.c:1120:2: error: unknown field ‘set_tso’ specified in initializer

/home/a/src/r8169_n.c:1120:14: error: ‘ethtool_op_set_tso’ undeclared here (not in a function)

/home/a/src/r8169_n.c:1126:2: error: unknown field ‘get_stats_count’ specified in initializer

/home/a/src/r8169_n.c:1126:2: warning: initialization from incompatible pointer type [enabled by default]

/home/a/src/r8169_n.c:1126:2: warning: (near initialization for ‘rtl8169_ethtool_ops.set_phys_id’) [enabled by default]

/home/a/src/r8169_n.c: In function ‘rtl8169_netpoll’:

/home/a/src/r8169_n.c:1498:2: error: implicit declaration of function ‘disable_irq’ [-Werror=implicit-function-declaration]

/home/a/src/r8169_n.c:1504:2: error: implicit declaration of function ‘enable_irq’ [-Werror=implicit-function-declaration]

/home/a/src/r8169_n.c: In function ‘rtl8169_init_one’:

/home/a/src/r8169_n.c:2604:5: error: ‘struct net_device’ has no member named ‘do_ioctl’

/home/a/src/r8169_n.c:2614:5: error: ‘struct net_device’ has no member named ‘open’

/home/a/src/r8169_n.c:2615:5: error: ‘struct net_device’ has no member named ‘hard_start_xmit’

/home/a/src/r8169_n.c:2616:5: error: ‘struct net_device’ has no member named ‘get_stats’

/home/a/src/r8169_n.c:2618:5: error: ‘struct net_device’ has no member named ‘stop’

/home/a/src/r8169_n.c:2619:5: error: ‘struct net_device’ has no member named ‘tx_timeout’

/home/a/src/r8169_n.c:2620:5: error: ‘struct net_device’ has no member named ‘set_multicast_list’

/home/a/src/r8169_n.c:2624:5: error: ‘struct net_device’ has no member named ‘change_mtu’

/home/a/src/r8169_n.c:2625:5: error: ‘struct net_device’ has no member named ‘set_mac_address’

/home/a/src/r8169_n.c:2640:5: error: ‘struct net_device’ has no member named ‘poll_controller’

/home/a/src/r8169_n.c: In function ‘rtl8169_open’:

/home/a/src/r8169_n.c:2728:2: error: implicit declaration of function ‘request_irq’ [-Werror=implicit-function-declaration]

/home/a/src/r8169_n.c:2728:52: error: ‘IRQF_SHARED’ undeclared (first use in this function)

/home/a/src/r8169_n.c:2728:52: note: each undeclared identifier is reported only once for each function it appears in

/home/a/src/r8169_n.c:2781:2: error: implicit declaration of function ‘free_irq’ [-Werror=implicit-function-declaration]

/home/a/src/r8169_n.c: In function ‘rtl8169_xmit_frags’:

/home/a/src/r8169_n.c:3232:3: error: incompatible type for argument 1 of ‘page_address’

include/linux/mm.h:755:7: note: expected ‘const struct page *’ but argument is of type ‘struct <anonymous>’

/home/a/src/r8169_n.c: In function ‘rtl8169_interrupt’:

/home/a/src/r8169_n.c:3658:4: error: implicit declaration of function ‘netif_rx_schedule_prep’ [-Werror=implicit-function-declaration]

/home/a/src/r8169_n.c:3659:5: error: implicit declaration of function ‘__netif_rx_schedule’ [-Werror=implicit-function-declaration]

/home/a/src/r8169_n.c:3690:9: error: expected expression before ‘)’ token

/home/a/src/r8169_n.c:3690:2: warning: ‘return’ with a value, in function returning void [enabled by default]

/home/a/src/r8169_n.c: In function ‘rtl8169_poll’:

/home/a/src/r8169_n.c:3711:3: error: implicit declaration of function ‘netif_rx_complete’ [-Werror=implicit-function-declaration]

/home/a/src/r8169_n.c: In function ‘rtl8169_down’:

/home/a/src/r8169_n.c:3731:15: warning: unused variable ‘poll_locked’ [-Wunused-variable]

/home/a/src/r8169_n.c: In function ‘rtl8169_set_rx_mode’:

/home/a/src/r8169_n.c:3836:17: error: ‘struct net_device’ has no member named ‘mc_count’

/home/a/src/r8169_n.c:3847:27: error: ‘struct net_device’ has no member named ‘mc_list’

/home/a/src/r8169_n.c:3847:55: error: ‘struct net_device’ has no member named ‘mc_count’

/home/a/src/r8169_n.c:3848:28: error: dereferencing pointer to incomplete type

/home/a/src/r8169_n.c:3849:17: error: dereferencing pointer to incomplete type

/home/a/src/r8169_n.c: At top level:

/home/a/src/r8169_n.c:2330:1: warning: ‘rtl8169_phy_power_down’ defined but not used [-Wunused-function]

cc1: some warnings being treated as errors

make[3]: *** [/home/a/src/r8169_n.o] Error 1

make[2]: *** [_module_/home/a/src] Error 2

make[2]: Leaving directory `/usr/src/kernels/2.6.43.8-1.fc15.i686'

make[1]: *** [modules] Error 2

make[1]: Leaving directory `/home/a/src'

make: *** [modules] Error 2

[root@localhost a]#

 

 

Pozdrawiam

Odnośnik do komentarza
Udostępnij na innych stronach

Janusz Zaba

No wiem ale mi tak karta dziala z predkoscia 100Mb/s tylko nie chce dzialac z predkoscia 1000Mb/s.

 

 

root@localhost janusz]# ethtool p1p1

Settings for p1p1:

Supported ports: [ TP MII ]

Supported link modes: 10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

Supported pause frame use: No

Supports auto-negotiation: Yes

Advertised link modes: 10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

Advertised pause frame use: No

Advertised auto-negotiation: Yes

Link partner advertised link modes: 10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

Link partner advertised pause frame use: No

Link partner advertised auto-negotiation: Yes

Speed: 100Mb/s

Duplex: Full

Port: MII

PHYAD: 32

Transceiver: internal

Auto-negotiation: on

Supports Wake-on: pumbg

Wake-on: d

Current message level: 0x00000007 (7)

drv probe link

Link detected: yes

[root@localhost janusz]#

 

 

 

Jak widac karta dziala z predkoscia 100Mb/s ale ja chce miec 1000Mb/s :)

Odnośnik do komentarza
Udostępnij na innych stronach

Tez mam karte oparta na tym chipsecie i u mnie tryb 1000baseT/Full jest obslugiwany, wiec to raczej nie jest wina sterownika, raczej sprzetu. Ewentualnie jest taka mozliwosc, ze masz bardzo stare jadro i dopiero w kolejnych wersjach zostaly wprowadzone zmiany w sterowniku (aktualnie stabilna wersja kernela to 3.5, a Ty masz 2.6.43). Zaktualizuj Fedore do najnowszej wersji. Mozesz nawet sciagnac wersje Live odpalic z USB i tam sprawdzic jak system widzi Twoja karte.

Odnośnik do komentarza
Udostępnij na innych stronach

Moze z karta cos jest zle?

Ja mam wprawdzie nieco inna, ale tez na r8169 na 64-bitowej F17 mam 1Gbps

[root@F17 ~]# lshw -C network
 *-network               
      description: Ethernet interface
      product: RTL8111/8168B PCI Express Gigabit Ethernet controller
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:02:00.0
      logical name: em1
      version: 01
      serial: aa:bb:cc:dd:ee:ff
      size: 1Gbit/s
      capacity: 1Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=N/A ip=<tu moje ip> latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
      resources: irq:42 ioport:dc00(size=256) memory:fddff000-fddfffff memory:fdc00000-fdc1ffff

i ethtool pokazuje m.in.

	Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...