7 Commits

Author SHA1 Message Date
Christian Breunig
d235b31a09 T861: sign all Kernel modules with an ephemeral key
The shim review board (which is the secure boot base loader) recommends using
ephemeral keys when signing the Linux Kernel. This commit enables the Kernel
build system to generate a one-time ephemeral key that is used to:

* sign all build-in Kernel modules
* sign all other out-of-tree Kernel modules

The key lives in /tmp and is destroyed after the build container exits and is
named: "VyOS build time autogenerated kernel key".

In addition the Kernel now uses CONFIG_MODULE_SIG_FORCE. This now makes it
unable to load any Kernel Module to the image that is NOT signed by the
ephemeral key.
2024-09-25 20:24:21 +02:00
Christian Breunig
beb3df0733 Kernel: T5887: cleanup Debian postinst files after package build 2024-09-14 20:58:44 +02:00
Christian Breunig
fbe43ddcc2 ixgbe: T5619: update driver version to 5.20.3 2024-04-29 21:22:34 +02:00
Ernesto Castellotti
a44647f098 ixgbe: T6162: Add 1000BASE-BX support
The ixgbe driver did not support the 1000BASE-BX standard so for example FS.com
SFP-GE-BX 1310/1490nm 10km transceiver received an unsupported module error even
with allow_unsupported_sfp enabled.

To solve this problem I created a patch that was accepted by Linux upstream
(1b43e0d20f)
so starting from kernel 6.9 the ixgbe driver will have 1000BASE-BX support,
however VyOS uses the out of tree driver so it is necessary to backport the patch.
2024-03-23 13:30:35 +01:00
Christian Breunig
ea7d59a4bf ixgbe: T6155: always enable allow_unsupported_sfp for all NICs by default
In-tree vs. Out-Of-Tree drivers differ in the way how unsupported transceivers
are defined (uint vs array of int) for the Kernel module parameters.

This results in:

kernel: ixgbe 0000:5e:00.0: failed to initialize because an unsupported SFP+ module type was detected.
kernel: ixgbe 0000:5e:00.0: Reload the driver after installing a supported module.
kernel: ixgbe 0000:5e:00.0: removed PHC on eth6

This patch always enables unsupported SFP+ modules as wo do anyway from
the userspace but only for the first port.
2024-03-22 08:54:25 +01:00
Christian Breunig
36065ae874 ixgbe: T5619: remove pci_*_pcie_error_reporting() code to work with Kernel 6.6
This fixes commit 0f80a22b5 ("T5619: Add out-of-tree Intel ixgbe driver") to
work with the latest 6.6 code base.

For more information see
https://lore.kernel.org/lkml/f90837d0-810e-5772-7841-28d47c44d260@intel.com
2024-02-01 10:03:38 +01:00
Skyler Mäntysaari
738ce141fb T5619: Add out-of-tree Intel ixgbe driver 2024-02-01 10:03:38 +01:00