amazon web services - Updating linux-headers-aws breaks ixgbevf -


when attempt update linux-headers-aws on instance, becomes unconnectable after restart. diffing aws system log console, found:

ixgbevf: disagrees version of symbol module_layout

do need reinstall ixgbevf? should avoid updating in manner?

pre-update:

uname -a

linux master 4.4.0-1022-aws #31-ubuntu smp tue jun 27 11:27:55 utc 2017 x86_64 x86_64 x86_64 gnu/linux

modinfo ixgbevf

modinfo ixgbevf filename:
/lib/modules/4.4.0-1022-aws/updates/dkms/ixgbevf.ko version:
3.1.2 license: gpl description: intel(r) 10 gigabit virtual function network driver author: intel corporation, srcversion: ba90eafd4dc7d0f8f47ab8d alias: pci:v00008086d000015a8svsdbcsci* alias:
pci:v00008086d00001565svsdbcsci* alias:
pci:v00008086d00001515svsdbcsci* alias:
pci:v00008086d000010edsvsdbcsci* depends: vermagic:
4.4.0-1022-aws smp mod_unload modversions parm: interruptthrottlerate:maximum interrupts per second, per vector, (956-488281, 0=off, 1=dynamic), default 1 (array of int)

ethtool -i ens3

driver: ixgbevf version: 3.1.2 firmware-version: n/a expansion-rom-version: bus-info: 0000:00:03.0 supports-statistics: yes supports-test: yes supports-eeprom-access: no supports-register-dump: yes supports-priv-flags: no

see gist

first created backup ami , unheld these packages:

sudo apt-mark unhold linux-aws sudo apt-mark unhold linux-headers-aws sudo apt-mark unhold linux-image-aws sudo apt-mark unhold lxd sudo apt-mark unhold lxd-client 

then updated:

sudo apt-get install linux-headers-aws linux-image-aws

this ran successfully:

setting linux-headers-aws (4.4.0.1026.29) ... setting linux-aws (4.4.0.1026.29) ... 

several attempts reboot @ point rendered ami unconnectable error message in system log documented in question. re-downloaded ixgbevf according aws documentation , re-installed, commenting out version check line allow compilation (#if uts_ubuntu_release_abi > 255). required first uninstall existing ixgbevf-3.1.2 module:

sudo dkms remove ixgbevf/3.1.2 --all sudo dkms add -m ixgbevf -v 3.1.2 sudo dkms build -m ixgbevf -v 3.1.2 sudo dkms install -m ixgbevf -v 3.1.2 --all sudo update-initramfs -c -k sudo reboot 

and able connect.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -