Updating headers in ubuntu
The simplest way to modify anything here is to run: This takes the current configuration for each architecture/flavour supported and calls menuconfig to edit its config file.
The chmod is needed because the way the source package is created, it loses the executable bits on the scripts.
Assuming that you did not manually compile the kernel, you can install matching kernel headers using command.
First, check if matching kernel headers are already installed on your system.
Content Wrapper:after.hidden.normal.grid_page.grid_page:before,.grid_page:after.grid_page:after.grid_page h3.grid_page h3 a.grid_page h3 a:hover.grid_page h3 a.action_button.grid_page h3 a.action_button:active.grid_page h3 a.action_button:hover.grid_page h3 a.action_button:not(.fake_disabled):hover.grid_page h3 a.action_button:not(.fake_disabled):focus.grid_pagediv.
This will install the matching kernel automatically. Do you want to receive Linux related questions & answers published at Ask Xmodulo?
modinfo ixgbevf filename: /lib/modules/4.4.0-1022-aws/updates/dkms/version: 3.1.2 license: GPL description: Intel(R) 10 Gigabit Virtual Function Network Driver author: Intel Corporation, srcversion: BA90EAFD4DC7D0F8F47AB8D alias: pci:v00008086d000015A8sv driver: ixgbevf version: 3.1.2 firmware-version: N/A expansion-rom-version: bus-info: 00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: no supports-register-dump: yes supports-priv-flags: no Several attempts to reboot at this point rendered my AMI unconnectable with the error message in the system log documented in my question.
In this article 'How To Update Ubuntu Kernel' example is showed for Kernel 2.6.39-0.
When you compile a device driver a custom kernel module, you need to have kernel header files installed on your Linux system.
Kernel headers are needed also when you build a userspace application which links directly against the kernel.