Jump to content
Sign in to follow this  
MasterDr

Установка сетевухи D-Link DFE-520TX

Recommended Posts

Приветствую.

Имеется SUSE 11 и сетевуха DFE-520TX.

При компиляции драйвера выходят ошибки в самом коде.

Помогите решить проблему инсталяции этой сетевухи.

Вывод компиляции:

make -C /lib/modules/2.6.27.19-5-pae/build SUBDIRS=/tmp/src modules

make[1]: Entering directory `/usr/src/linux-2.6.27.19-5-obj/i386/pae'

make -C ../../../linux-2.6.27.19-5 O=/usr/src/linux-2.6.27.19-5-obj/i386/pae/. modules

CC [M] /tmp/src/rhine_main.o

/tmp/src/rhine_main.c: In function 'rhine_found1':

/tmp/src/rhine_main.c:681: error: implicit declaration of function 'SET_MODULE_OWNER'

/tmp/src/rhine_main.c: In function 'rhine_receive_frame':

/tmp/src/rhine_main.c:1229: error: 'struct sk_buff' has no member named 'mac'

/tmp/src/rhine_main.c:1229: error: 'struct sk_buff' has no member named 'mac'

/tmp/src/rhine_main.c:1229: error: 'struct sk_buff' has no member named 'mac'

/tmp/src/rhine_main.c:1229: error: 'struct sk_buff' has no member named 'mac'

/tmp/src/rhine_main.c:1240: warning: cast from pointer to integer ofdifferent size

/tmp/src/rhine_main.c: In function 'rhine_open':

/tmp/src/rhine_main.c:1587: error: 'SA_SHIRQ' undeclared (first use in this function)

/tmp/src/rhine_main.c:1587: error: (Each undeclared identifier is reported only once

/tmp/src/rhine_main.c:1587: error: for each function it appears in.)

/tmp/src/rhine_main.c:1587: warning: passing argument 2 of 'request_irq' from incompatible pointer type

/tmp/src/rhine_main.c: In function 'rhine_xmit':

/tmp/src/rhine_main.c:1737: error: 'CHECKSUM_HW' undeclared (first use in this function)

/tmp/src/rhine_main.c:1738: error: 'struct sk_buff' has no member named 'nh'

/tmp/src/rhine_main.c: In function 'rhine_init_module':

/tmp/src/rhine_main.c:1954: error: implicit declaration of function 'pci_module_init'

make[4]: *** [/tmp/src/rhine_main.o] Error 1

make[3]: *** [_module_/tmp/src] Error 2

make[2]: *** [sub-make] Error 2

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

make[1]: Leaving directory `/usr/src/linux-2.6.27.19-5-obj/i386/pae'

make: *** [default] Error 2

Share this post


Link to post
Share on other sites

Покажите вывод

ip link list

# если есть какие-нибудь eth интерфейсы, для всех

ethtool -i ethX (x = 0,1 и т.д.)

# если нет или не те, сделайте

dmesg | grep -i via-rhine

modprobe via-rhine

dmesg | tail

Share this post


Link to post
Share on other sites

Спасибо за участие.

Выводы ничего не подсказали, только то, что карты как будто нет. Проверил физически, оказалось, что не полностью вставлена в слот, пришлось снимать метал. полоску на карте. После этого она была обнаружена в системе.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...