[gentoo-user] Networkdriver for Intel 82579
Dear list, I have here a brand new mainboard (Asus P8P67 Pro) with the new sandy chip on it. If I look into the manual it says there is an Intel 82579 Gigabit LAN chip on-board. I tried it with kernel 2.6.37 (from kernel.org) and dmesg tells me: e1000e: Intel(R) PRO/1000 Network Driver - 1.2.7-k2 e1000e: Copyright (c) 1999 - 2010 Intel Corporation. e1000e :00:19.0: PCI INT A - GSI 18 (level, low) - IRQ 18 e1000e :00:19.0: setting latency timer to 64 e1000e :00:19.0: irq 49 for MSI/MSI-X e1000e :00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) bc:ae:c5:b6:9b:8e e1000e :00:19.0: eth0: Intel(R) PRO/1000 Network Connection e1000e :00:19.0: eth0: MAC: 10, PHY: 11, PBA No: ff-0ff I searched around and found the tip to use a newer driver. I downloaded it here: http://sourceforge.net/projects/e1000/files/e1000e%20stable/1.2.20/ But if I try to compile the driver I get: /usr/src/e1000e-1.2.20/src/netdev.c: In function 'e1000_restore_vlan': /usr/src/e1000e-1.2.20/src/netdev.c:3076: error: 'VLAN_GROUP_ARRAY_LEN' undeclared (first use in this function) /usr/src/e1000e-1.2.20/src/netdev.c:3076: error: (Each undeclared identifier is reported only once /usr/src/e1000e-1.2.20/src/netdev.c:3076: error: for each function it appears in.) make[2]: *** [/usr/src/e1000e-1.2.20/src/netdev.o] Error 1 make[1]: *** [_module_/usr/src/e1000e-1.2.20/src] Error 2 make: *** [default] Error 2 Can here please help someone? Thanks a lot Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook
Re: [gentoo-user] Networkdriver for Intel 82579
Matthias Fechner wrote: Dear list, I have here a brand new mainboard (Asus P8P67 Pro) with the new sandy chip on it. If I look into the manual it says there is an Intel 82579 Gigabit LAN chip on-board. I tried it with kernel 2.6.37 (from kernel.org) and dmesg tells me: e1000e: Intel(R) PRO/1000 Network Driver - 1.2.7-k2 e1000e: Copyright (c) 1999 - 2010 Intel Corporation. e1000e :00:19.0: PCI INT A - GSI 18 (level, low) - IRQ 18 e1000e :00:19.0: setting latency timer to 64 e1000e :00:19.0: irq 49 for MSI/MSI-X e1000e :00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) bc:ae:c5:b6:9b:8e e1000e :00:19.0: eth0: Intel(R) PRO/1000 Network Connection e1000e :00:19.0: eth0: MAC: 10, PHY: 11, PBA No: ff-0ff I searched around and found the tip to use a newer driver. I downloaded it here: http://sourceforge.net/projects/e1000/files/e1000e%20stable/1.2.20/ But if I try to compile the driver I get: /usr/src/e1000e-1.2.20/src/netdev.c: In function 'e1000_restore_vlan': /usr/src/e1000e-1.2.20/src/netdev.c:3076: error: 'VLAN_GROUP_ARRAY_LEN' undeclared (first use in this function) /usr/src/e1000e-1.2.20/src/netdev.c:3076: error: (Each undeclared identifier is reported only once /usr/src/e1000e-1.2.20/src/netdev.c:3076: error: for each function it appears in.) make[2]: *** [/usr/src/e1000e-1.2.20/src/netdev.o] Error 1 make[1]: *** [_module_/usr/src/e1000e-1.2.20/src] Error 2 make: *** [default] Error 2 Can here please help someone? Thanks a lot Matthias Does the one that comes with the kernel not work for some reason? It's here according to the search page: │ Prompt: Intel(R) PRO/1000 Gigabit Ethernet support │ Defined at drivers/net/Kconfig:2085 │ Depends on: NETDEVICES [=y] NETDEV_1000 [=y] PCI [=y] │ Location: │ - Device Drivers │ - Network device support (NETDEVICES [=y]) │ - Ethernet (1000 Mbit) (NETDEV_1000 [=y]) │ Just build it in or add it as a module. In case you are new, go to Device Drivers, Network Device support, Ethernet 1000 Mbit then look for Intel Pro/1000. Sort of lists it backwards up there. ;-) Dale :-) :-)
Re: [gentoo-user] Networkdriver for Intel 82579
On 01/22/11 12:12, Dale wrote: Just build it in or add it as a module. In case you are new, go to Device Drivers, Network Device support, Ethernet 1000 Mbit then look for Intel Pro/1000. Sort of lists it backwards up there. ;-) no it is not working (kernel 2.6.37). But I got the above mentioned driver working by editing the file with the error, replaced VLAN_GROUP_ARRAY_LEN by VLAN_N_VID, found that in a kernel git log that this variable was renamed. Now it runs fine. Bye Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook
Re: [gentoo-user] Networkdriver for Intel 82579
Matthias Fechner wrote: On 01/22/11 12:12, Dale wrote: Just build it in or add it as a module. In case you are new, go to Device Drivers, Network Device support, Ethernet 1000 Mbit then look for Intel Pro/1000. Sort of lists it backwards up there. ;-) no it is not working (kernel 2.6.37). But I got the above mentioned driver working by editing the file with the error, replaced VLAN_GROUP_ARRAY_LEN by VLAN_N_VID, found that in a kernel git log that this variable was renamed. Now it runs fine. Bye Matthias So you got it working. That's all that matters. ;-) Dale :-) :-)