Intel Corporation 82579V network loosing a huge ammount of packets

Hello,

After 1-2 hours, depends on the traffic i start loosing packets, ussualy it starts with 1-2 % and it only goes up, one time i even reached 25%. I have


linux-epug:/home/radu # lspci | grep Ethernet
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 05)

A quick search over the internet showed that it is not an isolated problem, and there are patches for different kernel versions. Some people say that downloading the drver from Intel solves the problem, other say it dosn’t. Currently i’m using


linux-epug:/home/radu # rmmod e1000e
linux-epug:/home/radu # modprobe e1000e

to get my connection back up, with 0% packet loss, but this is kinda of annoying, especially since i’m using my computer 51% for gaming. I tried to install the latest Intel driver, however when i try to compile it i get


linux-epug:/home/radu/Downloads/e1000e-2.4.14/src # make install
Makefile:117: *** Linux kernel source not configured - missing autoconf.h.  Stop.

which as far as i know happens only when u are missing the kernel source files, which is not the case here, i have them all. I actually compiled the latest Nvidia 325 beta and it worked.

Here is the list of the packages i have installed :


rpm -qa | grep kernel
kernel-firmware-20130114git-1.2.1.noarch
kernel-desktop-3.7.10-1.1.1.x86_64
kernel-source-3.7.10-1.16.1.noarch
kernel-devel-3.7.10-1.1.1.noarch
kernel-desktop-devel-3.7.10-1.1.1.x86_64
kernel-docs-3.7.10-1.16.1.noarch
kernel-source-3.7.10-1.1.1.noarch
kernel-desktop-devel-3.7.10-1.16.1.x86_64
kernel-desktop-3.7.10-1.16.1.x86_64
kernel-devel-3.7.10-1.16.1.noarch

My OS is Opensuse 12.3, 64 bit, KDE.

If someone could tell me what i am doing wrong when i’m trying to install Intel drivers, or even better provide a patch for the kernel that OpenSuse uses would be great. I would do it myself if i knew how, however i’m still a “learning penguin” :).

Thank you,
Barsoianu Radu

Any takers ?

As marked on a fedora forum, this bug is fixed by installing intel drivers from sourceforge (https://bugzilla.redhat.com/show_bug.cgi?id=713315).

I downloaded the latest e1000e-2.4.14.tar.gz and tried to compile it. Just to be sure i tried again to dl kernel devel and headers. Still the same output.


linux-febf:/home/radu/Downloads/e1000e-2.4.14/src # zypper install kernel-devel kernel-headers
Loading repository data...
Reading installed packages...
'kernel-devel' is already installed.
No update candidate for 'kernel-devel-3.7.10-1.16.1.noarch'. The highest available version is already installed.
'kernel-headers' not found in package names. Trying capabilities.
'linux-glibc-devel' providing 'kernel-headers' is already installed.
Resolving package dependencies...
Nothing to do.
linux-febf:/home/radu/Downloads/e1000e-2.4.14/src # make
Makefile:117: *** Linux kernel source not configured - missing autoconf.h.  Stop.

What am i doing wrong ?

cmmon, 2 days now :frowning:

I note that the driver package (version 2.4.14) is already built and available here:

software.opensuse.org:

Never occured to me to look for pre-build packages, however aren’t those packages the same that i’m using right now ? I see that the driver from Intel and driver from sourceforge are different, which one are those…it’s just a 3’rd party with no info. Still think that building my own from source first from intel and if it’s the same result try those from sourceforge it’s better, so why do i get that error when i try to install them ?

I will try those you linked anyway, even if it breaks something i still have my wlan. Thank you for taking the time and finding a solution

Driver is installed, mtr’ing my router right now, will post outcome in a couple of hours with the results. Really hope this works

Nothing solved, again after maybe 4 hours this time (althou i think it was related to trafic) i experience the same packet loss. It’s not the network board faulty, under windows i have 0 packet loss, and on all forums (ubuntu, fedora, arch and others) every1 that has this model is experiencing the same problem. Can some1 please help me install the drivers from either sourceforge or intel ?

I had no problem installing the module. Did you follow the README instructions? Only ‘make install’ is required.


Building and Installation
=========================

To build a binary RPM* package of this driver, run 'rpmbuild -tb
<filename.tar.gz>'.  Replace <filename.tar.gz> with the specific filename
of the driver.

NOTE: For the build to work properly, the currently running kernel MUST
      match the version and configuration of the installed kernel sources.
      If you have just recompiled the kernel reboot the system now.

      RPM functionality has only been tested in Red Hat distributions.

1. Move the base driver tar file to the directory of your choice.  For
   example, use /home/username/e1000e or /usr/local/src/e1000e.

2. Untar/unzip archive:

     tar zxf e1000e-x.x.x.tar.gz

3. Change to the driver src directory:

     cd e1000e-x.x.x/src/

4. Compile the driver module:

     # make install

   The binary will be installed as:

     /lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000e/e1000e.[k]o

   The install locations listed above are the default locations.  They
   might not be correct for certain Linux distributions. 

As per the last post, if you can get the latest driver to install it may resolve your issue.

See this post: SourceForge.net: Intel Ethernet Drivers and Utilities:

In the end, it seems that this chip has “K1 power save” optimization,
and at 1Gb speeds this is causing chaos - that is, packet loss. I did
found some hints on some message boards about this, so i did use
http://www.intel.com/content/dam/doc/datasheet/82579-gbe-phy-datasheet-vol-2-1.pdf
and try to turn it off. Patch is attached, and it is against 2.3.2 of
e1000e driver.

In this pdf, page 91, table 59, describes in details power modes. I just
simply turned on bit 13, which disables K1 mode in 1Gbit speeds.

The patch is at SourceForge.net: Intel Ethernet Drivers and Utilities: and was for version 2.3.2

Since latest stable is at Intel Ethernet Drivers and Utilities - Browse /e1000e stable at SourceForge.net is 2.4.14 I believe this is like to have been included.

Well, that is what the OP is hoping and trying to achieve already. :slight_smile:

Oops, your totally right. I got distracted looking into the K1 power save issue didn’t read the post closely enough.

I wonder if this (though from 2006) may still apply?

http://downloadmirror.intel.com/2896/eng/readme.txt

When trying to compile the driver by running make install, the following
error may occur:

  "Linux kernel source not configured - missing version.h"

To solve this issue, create the version.h file by going to the Linux
source tree and entering:

  make include/linux/version.h.

Or perhaps an make prepare on the kernel source?

Lews Therin

I’ve also run into issues with 3.7 and newer kernels needing to have a symlink manually created for version.h to be correctly found, such as by the Nvidia driver.

http://forums.gentoo.org/viewtopic-t-950330.html

https://forums.opensuse.org/english/get-technical-help-here/alternative-distributions-based-opensuse/tumbleweed/481744-nvidia-kernel-3-7-problem-3.html (post 22)

LewsTherin

Ah yes, I recall reading similar previously. It probably is behind the issue that the OP is experiencing with the module build.

Finnaly some answers. Thank you all :). One question thou, what do you mean by

"To solve this issue, create the version.h file by going to the Linux
source tree and entering:

make include/linux/version.h."

Where exactly am i supposed to create this file ?

p.s NVidia installs are really fine, everything compiled, no errors, running 325 beta driver at the moment. And by installs i mean downloading and building the package yourself and not via yast - nvidia repository.

@ Deano, and the link to the readme file, i did post the commands i am using when i first posted this :).


linux-epug:/home/radu/Downloads/e1000e-2.4.14/src # make install
Makefile:117: *** Linux kernel source not configured - missing autoconf.h.  Stop.

so you can see that i’m using make install directly

These steps may or may not help, but let’s try: Perform these steps as root and post any errors:

cd /usr/src/linux
make oldconfig
make prepare

Then see if you can successfully install the Intel driver. If not, then try

cd /usr/src/linux/include/linux 
ln -s ../generated/autoconf.h . 
ln -s ../generated/utsrelease.h .

And try installing the Intel driver again.

Followed your instructions :


linux-febf:/usr/src/linux # make oldconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
#
# using defaults found in /boot/config-3.7.10-1.16-desktop
#
#
# configuration written to .config
#
linux-febf:/usr/src/linux # make prepare
scripts/kconfig/conf --silentoldconfig Kconfig
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_64.h
  HOSTCC  arch/x86/tools/relocs
  WRAP    arch/x86/include/generated/asm/clkdev.h
  CHK     include/generated/uapi/linux/version.h
  UPD     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh

and after those the installed worked flowlesly :smiley:


linux-febf:/home/radu/Downloads/e1000e-2.4.14/src # make install
make -C /lib/modules/3.7.10-1.16-desktop/source O=/lib/modules/3.7.10-1.16-desktop/build SUBDIRS=/home/radu/Downloads/e1000e-2.4.14/src modules
make[1]: Entering directory `/usr/src/linux-3.7.10-1.16'
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/netdev.o
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/ethtool.o
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/param.o
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/82571.o
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/ich8lan.o
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/80003es2lan.o
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/mac.o
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/nvm.o
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/phy.o
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/manage.o
  CC [M]  /home/radu/Downloads/e1000e-2.4.14/src/kcompat.o
  LD [M]  /home/radu/Downloads/e1000e-2.4.14/src/e1000e.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/radu/Downloads/e1000e-2.4.14/src/e1000e.mod.o
  LD [M]  /home/radu/Downloads/e1000e-2.4.14/src/e1000e.ko
make[1]: Leaving directory `/usr/src/linux-3.7.10-1.16'
gzip -c ../e1000e.7 > e1000e.7.gz
# remove all old versions of the driver
find /lib/modules/3.7.10-1.16-desktop -name e1000e.ko -exec rm -f {} \; || true
find /lib/modules/3.7.10-1.16-desktop -name e1000e.ko.gz -exec rm -f {} \; || true
install -D -m 644 e1000e.ko /lib/modules/3.7.10-1.16-desktop/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
/sbin/depmod -a || true
install -D -m 644 e1000e.7.gz /usr/share/man/man7/e1000e.7.gz
man -c -P'cat > /dev/null' e1000e || true
e1000e.

Hope this solves my problem, gonna try now. Thank you !

arround 1h so far and 0% packet loss, if this indeed solves the issue can’t we ask to OpenSuse dev’s to include this in the mainline kernel they use ?

arround 7 hours now and 0.1% packet loss, the problem is solved. Thank you all for the help

Report a bug at http://bugzilla.novell.com/ (same username and password as here).