Anything bigger than 255 is customized, most likely by AWS. We can't support 
every variant and that's a reason to have that check.

We only support the stock LTS kernels - since you're running a custom kernel, 
you get to run a custom driver. You'll need to ask AWS what they changed in the 
kernel.

Todd Fujinaka
Software Application Engineer
Datacenter Engineering Group
Intel Corporation
todd.fujin...@intel.com
(503) 712-4565


-----Original Message-----
From: Mike Hicklen [mailto:mike.hick...@rackspace.com] 
Sent: Wednesday, July 05, 2017 12:07 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® 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® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to