Hi list,

Here was the total fix for me:


cd /root
wget 
https://downloads.sourceforge.net/project/e1000/ixgbevf%20stable/4.1.2/ixgbevf-4.1.2.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fe1000%2Ffiles%2Fixgbevf%2520stable%2F4.1.2%2F&ts=1499280339&use_mirror=ayera
 -O ixgbevf-4.1.2.tar.gz
tar zxvf ixgbevf-4.1.2.tar.gz
mv ixgbevf-4.1.2 /usr/src
cd /usr/src/ixgbevf-4.1.2
rm -rf COPYING ixgbevf.7 ixgbevf.spec pci.updates README scripts SUMS
mv src/* ./
rmdir src
vim dkms.conf
--------------------------------------------------------------------------------
/usr/src/ixgbevf-4.1.2/dkms.conf
--------------------------------------------------------------------------------
PACKAGE_VERSION="4.1.2"
# Items below here should not have to change with each driver version
PACKAGE_NAME="ixgbevf"
MAKE[0]="make -C ${kernel_source_dir} 
SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build modules"
CLEAN="make -C ${kernel_source_dir} 
SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"
BUILT_MODULE_NAME[0]="ixgbevf"
DEST_MODULE_LOCATION[0]="/updates"
#MODULES_CONF_OBSOLETES[0]="ixgbevf"
REMAKE_INITRD="yes"
--------------------------------------------------------------------------------
### And save.
--------------------------------------------------------------------------------
dkms add -m ixgbevf -v 4.1.2
dkms build -m ixgbevf -v 4.1.2
dkms install -m ixgbevf -v 4.1.2
reboot
ethtool -i ens3
modinfo ixgbevf



________________________________
From: Mike Hicklen <mike.hick...@rackspace.com>
Sent: Wednesday, July 5, 2017 2:07:10 PM
To: e1000-devel@lists.sourceforge.net
Subject: [E1000-devel] Ubuntu Kernel Version on AWS EC2

Ubuntu 16.04 uses a kernel version of 1022 as of this email:



/usr/src/ixgbevf-4.1.2# dkms add -m ixgbevf -v 4.1.2

Creating symlink /var/lib/dkms/ixgbevf/4.1.2/source ->
                 /usr/src/ixgbevf-4.1.2

DKMS: add completed.
root@ip-10-50-38-224:/usr/src/ixgbevf-4.1.2# dkms build -m ixgbevf -v 4.1.2

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
cd src/; make BUILD_KERNEL=4.4.0-1022-aws....(bad exit status: 2)
ERROR (dkms apport): binary package for ixgbevf: 4.1.2 not found
Error! Bad return status for module build on kernel: 4.4.0-1022-aws (x86_64)
Consult /var/lib/dkms/ixgbevf/4.1.2/build/make.log for more information.



/usr/src/ixgbevf-4.1.2# uname -r
4.4.0-1022-aws




 807 #if UTS_UBUNTU_RELEASE_ABI > 255
 808 #error UTS_UBUNTU_RELEASE_ABI is too large...
 809 #endif /* UTS_UBUNTU_RELEASE_ABI > 255 */
 810
"../ixgbevf-4.1.2/src/kcompat.h" 5442 lines --12%--                             
                                    702,9         13%



I fixed it as follows:


 807 #if UTS_UBUNTU_RELEASE_ABI >2048
 808 #error UTS_UBUNTU_RELEASE_ABI is too large...
 809 #endif /* UTS_UBUNTU_RELEASE_ABI > 255 */
 810
"../ixgbevf-4.1.2/src/kcompat.h" 5442 lines --12%--                             
                                    702,9         13%



Any ideas on how to best address this?  It built after this but it's not 
terribly convincing.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to