We have a fix for this in our local tree. On inspection, this looks like it only fixes things for Ubuntu 14.04 but not for anything else.
We're not supporting Ubuntu directly quite yet. One of the things we were waiting for is a kernel ABI version that Canonical added in the middle of the 14.04LTS. Todd Fujinaka Software Application Engineer Networking Division (ND) Intel Corporation todd.fujin...@intel.com (503) 712-4565 -----Original Message----- From: DeFilippis, Andrew [mailto:def...@amazon.com] Sent: Tuesday, February 03, 2015 11:44 AM To: e1000-devel@lists.sourceforge.net Subject: [E1000-devel] patch-ubuntu_14.04.1-ixgbevf-2.16.1-kcompat.h.patch Modification/fix for updating ixgbevf 2.16.1 on Ubuntu 14.04.1 on kernel "3.13.0-45-generic". "kcompat.h" should include an if condition that if the OS in use is Ubuntu, to use the patched entries, else use the current entries. Originally found the required modifications listed by "mchv" on GitHub at: https://gist.github.com/mchv/e66a2a4117143aa3b92e Error on Ubuntu 14.04.1: { $ sudo dkms build -m ixgbevf -v 2.16.1 Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area.... cd src/; make BUILD_KERNEL=3.13.0-44-generic....(bad exit status: 2) ERROR (dkms apport): binary package for ixgbevf: 2.16.1 not found Error! Bad return status for module build on kernel: 3.13.0-44-generic (x86_64) Consult /var/lib/dkms/ixgbevf/2.16.1/build/make.log for more information. $ cat /var/lib/dkms/ixgbevf/2.16.1/build/make.log DKMS make.log for ixgbevf-2.16.1 for kernel 3.13.0-44-generic (x86_64) Thu Jan 29 13:10:41 CET 2015 make -C /lib/modules/3.13.0-44-generic/build SUBDIRS=/var/lib/dkms/ixgbevf/2.16.1/build/src modules make[1]: Entering directory `/usr/src/linux-headers-3.13.0-44-generic' CC [M] /var/lib/dkms/ixgbevf/2.16.1/build/src/ixgbevf_main.o /var/lib/dkms/ixgbevf/2.16.1/build/src/ixgbevf_main.c: In function 'ixgbevf_get_stats64': /var/lib/dkms/ixgbevf/2.16.1/build/src/ixgbevf_main.c:4210:4: error: implicit declaration of function 'u64_stats_fetch_begin_bh' [-Werror=implicit-function-declaration] start = u64_stats_fetch_begin_irq(&ring->syncp); ^ /var/lib/dkms/ixgbevf/2.16.1/build/src/ixgbevf_main.c:4213:3: error: implicit declaration of function 'u64_stats_fetch_retry_bh' [-Werror=implicit-function-declaration] } while (u64_stats_fetch_retry_irq(&ring->syncp, start)); ^ cc1: some warnings being treated as errors make[2]: *** [/var/lib/dkms/ixgbevf/2.16.1/build/src/ixgbevf_main.o] Error 1 make[1]: *** [_module_/var/lib/dkms/ixgbevf/2.16.1/build/src] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-44-generic' make: *** [default] Error 2 } Patch file "patch-ubuntu_14.04.1-ixgbevf-2.16.1-kcompat.h.patch": { --- /usr/src/ixgbevf-2.16.1/src/kcompat.h.orig 2015-02-03 18:34:22.901474028 +0000 +++ /usr/src/ixgbevf-2.16.1/src/kcompat.h 2015-02-03 18:35:32.577440102 +0000 @@ -3219,8 +3219,6 @@ #define u64_stats_update_begin(a) do { } while(0) #define u64_stats_update_end(a) do { } while(0) #define u64_stats_fetch_begin(a) do { } while(0) -#define u64_stats_fetch_retry_bh(a) (0) -#define u64_stats_fetch_begin_bh(a) (0) #if (RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,1)) #define HAVE_8021P_SUPPORT @@ -4174,8 +4172,8 @@ /*****************************************************************************/ #if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) ) -#define u64_stats_fetch_begin_irq u64_stats_fetch_begin_bh -#define u64_stats_fetch_retry_irq u64_stats_fetch_retry_bh +#define u64_stats_fetch_begin_irq(a) (0) +#define u64_stats_fetch_retry_irq(a, b) (0) #else #define HAVE_PTP_1588_CLOCK_PINS #define HAVE_NETDEV_PORT } ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired