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,