This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
fuss:debian [2019/07/27 02:58] – [Reinstall Package and All Dependencies] office | fuss:debian [2020/07/28 01:41] – [Recompile Debian Kernel] office | ||
---|---|---|---|
Line 344: | Line 344: | ||
to set the java JDK version to be used. | to set the java JDK version to be used. | ||
+ | |||
+ | ====== Recompile Debian Kernel ====== | ||
+ | |||
+ | |||
+ | [[https:// | ||
+ | <code bash> | ||
+ | apt-get source linux-image-4.19.0-8-amd64 | ||
+ | </ | ||
+ | |||
+ | or download the kernel source code manually from http:// | ||
+ | |||
+ | Since Debian does not define the kernel compilation parameter to include the current kernel configuration in memory under ''/ | ||
+ | <code bash> | ||
+ | cp / | ||
+ | </ | ||
+ | |||
+ | In case a different kernel version is to be compiled compared to the current kernel configuration, | ||
+ | <code bash> | ||
+ | make olddefconfig | ||
+ | </ | ||
+ | should accept the default for the current kernel version. | ||
+ | |||
+ | If compiling under Debian, the current configuration '' | ||
+ | < | ||
+ | CONFIG_SYSTEM_TRUSTED_KEYS="" | ||
+ | </ | ||
+ | in order to avoid a compilation error: | ||
+ | < | ||
+ | No rule to make target ' | ||
+ | </ | ||
+ | |||
+ | Additionally, | ||
+ | <code bash> | ||
+ | CONFIG_DEBUG_INFO=n | ||
+ | </ | ||
+ | |||
+ | The usual pair of commands, either '' | ||
+ | <code bash> | ||
+ | make nconfig | ||
+ | </ | ||
+ | |||
+ | or '' | ||
+ | <code bash> | ||
+ | make menuconfig | ||
+ | </ | ||
+ | |||
+ | Finally, issue: | ||
+ | <code bash> | ||
+ | make deb-pkg LOCALVERSION=-custom | ||
+ | </ | ||
+ | where: | ||
+ | * '' | ||
+ | |||
+ | ====== Persisting Network Hardware Settings ====== | ||
+ | |||
+ | When installing '' | ||
+ | |||
+ | The proper way to persist settings in Debian, for instance, to enable checksum offloading, is to make the settings in the interfaces file but without using an '' | ||
+ | |||
+ | For instance, the following settings will bring up the interface '' | ||
+ | < | ||
+ | auto eth0 | ||
+ | iface eth0 inet dhcp | ||
+ | offload-tx on | ||
+ | offload-sg on | ||
+ | offload-tso on | ||
+ | </ | ||