LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-17-2014, 10:52 AM   #1
alfoos
LQ Newbie
 
Registered: Nov 2014
Posts: 1

Rep: Reputation: Disabled
r8169 driver issue. RTL8111/8168B and DGE-528T not working.


Hi,

I am trying to run proxmox 3.3 on my new machine which has Gigabyte GA-990XA-UD3 motherboard. The on board ethernet card is RTL8111/8168B

Code:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
I have an additional PCI ethernet card DGE-528T
Code:
Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 10)
The r8169 driver was loaded by proxmox 3.3 for both ethernet cards. Eventhough the system detected both the cards the network connections were not working (no ping from outside and within).

I installed debain wheezy and as before the driver loaded was r8169 but this time network connection was not stable, will work for 5-10 seconds and then no response. If network is restarted then it will again work for 5-10 seconds and then no response.

I installed r8168 (from Realtek website) and RTL8111/8168B is working fine but DGE-528T is not detected. I tried to install DGE_528T_drv_revB1_v7_10_all_en_20130131.zip but the driver will not compile on both 3.10.0-5-pve and 2.6.32-34-pve kernels. The error I am getting is:

Code:
root@hoopoe:/media/usb/DGE-528T(EU)-Drv_V7.10b3/Driver/LINUX/2.4.x_2.6.x# make
make -C src/ clean
make[1]: Entering directory `/media/usb0/DGE-528T(EU)-Drv_V7.10b3/Driver/LINUX/2.4.x_2.6.x/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/media/usb0/DGE-528T(EU)-Drv_V7.10b3/Driver/LINUX/2.4.x_2.6.x/src'
make -C src/ modules
make[1]: Entering directory `/media/usb0/DGE-528T(EU)-Drv_V7.10b3/Driver/LINUX/2.4.x_2.6.x/src'
make -C /lib/modules/2.6.32-34-pve/build SUBDIRS=/media/usb/DGE-528T(EU)-Drv_V7.10b3/Driver/LINUX/2.4.x_2.6.x/src modules
/bin/sh: 1: Syntax error: "(" unexpected
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/media/usb0/DGE-528T(EU)-Drv_V7.10b3/Driver/LINUX/2.4.x_2.6.x/src'
make: *** [modules] Error 2
root@hoopoe:/media/usb/DGE-528T(EU)-Drv_V7.10b3/Driver/LINUX/2.4.x_2.6.x#
Driver DGE-528T_B1_GPL.tar.gz shows different error:

Code:
root@hoopoe:/media/usb/LINUX/2.4.x_2.6.x# make
make -C src/ clean
make[1]: Entering directory `/media/usb0/LINUX/2.4.x_2.6.x/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/media/usb0/LINUX/2.4.x_2.6.x/src'
make -C src/ modules
make[1]: Entering directory `/media/usb0/LINUX/2.4.x_2.6.x/src'
make -C /lib/modules/2.6.32-34-pve/build SUBDIRS=/media/usb/LINUX/2.4.x_2.6.x/src modules
expr: syntax error
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-34-pve'
  CC [M]  /media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.o
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:378:21: error: expected ‘)’ before string constant
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_phy_timer_t_handler’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:525:60: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_timer_handler’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:561:60: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_init_board’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:615:2: error: implicit declaration of function ‘SET_MODULE_OWNER’ [-Werror=implicit-function-declaration]
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:621:12: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_init_one’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:783:12: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:794:5: error: ‘struct net_device’ has no member named ‘open’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:795:5: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:796:5: error: ‘struct net_device’ has no member named ‘get_stats’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:797:5: error: ‘struct net_device’ has no member named ‘stop’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:798:5: error: ‘struct net_device’ has no member named ‘tx_timeout’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:799:5: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:816:12: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_open’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1052:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1064:51: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1064:51: note: each undeclared identifier is reported only once for each function it appears in
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1064:2: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type [enabled by default]
In file included from include/bc/beancounter.h:97:0,
                 from include/bc/net.h:20,
                 from include/linux/skbuff.h:492,
                 from include/linux/if_ether.h:129,
                 from include/linux/netdevice.h:29,
                 from /media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:8:
include/linux/interrupt.h:125:1: note: expected ‘irq_handler_t’ but argument is of type ‘enum irqreturn_t (*)(int,  void *, struct pt_regs *)’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_hw_PHY_reset’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1140:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_hw_PHY_config’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1168:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_hw_start’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1244:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_init_ring’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1399:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_tx_timeout’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1475:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_start_xmit’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1508:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_interrupt’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1749:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_close’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1812:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_set_rx_mode’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1914:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_get_stats’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:1980:34: error: ‘struct net_device’ has no member named ‘priv’
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c: In function ‘r1000_init_module’:
/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.c:2009:2: error: implicit declaration of function ‘pci_module_init’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/media/usb/LINUX/2.4.x_2.6.x/src/r1000_n.o] Error 1
make[2]: *** [_module_/media/usb/LINUX/2.4.x_2.6.x/src] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-34-pve'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/media/usb0/LINUX/2.4.x_2.6.x/src'
make: *** [modules] Error 2
root@hoopoe:/media/usb/LINUX/2.4.x_2.6.x#
Is there any way to fix these errors? What other options do I have?

Thank you,
 
Old 11-18-2014, 03:53 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,889

Rep: Reputation: 163Reputation: 163
Different ethernet chip can load different driver. The configuration is in /etc/modules.conf normally.
For example, following line tell kernel to laod 8139too for eth0.
alias eth0 8139too
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling RealTek RTL8111/8168B driver keeps on failing ddalley Linux - Networking 9 04-19-2012 05:00 PM
RTL8111/8168B PCI not working ragatinavin Linux - Networking 3 08-08-2011 04:41 PM
Realtek new Driver for RTL8111/8168B mrgreen Linux - Networking 0 05-29-2011 10:47 AM
[SOLVED] Realtek driver RTL8111/8168B jwater1968 Linux - Networking 3 11-10-2010 06:34 AM
Realtek RTL8111/8168B IRQ clash with IDE driver? madbrad Linux - Hardware 23 04-15-2008 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration