Debdiff to enable support for both 6.8 and 6.14 kernels.

** Description changed:

  [ Impact ]
  
  DKMS make.log for ovpn-dco-0.0+git20231103 for kernel 6.14.0-15-generic 
(x86_64)
  Tue May 20 14:52:56 UTC 2025
  /var/lib/dkms/ovpn-dco/0.0+git20231103/build/gen-compat-autoconf.sh 
/var/lib/dkms/ovpn-dco/0.0+git20231103/build/compat-autoconf.h
  make -C /lib/modules/6.14.0-15-generic/build 
M=/var/lib/dkms/ovpn-dco/0.0+git20231103/build 
PWD=/var/lib/dkms/ovpn-dco/0.0+git20231103/build REVISION=0.0+git20231103 
CONFIG_OVPN_DCO_V2=m INSTALL_MOD_DIR=updates/   modules
  make[1]: Entering directory '/usr/src/linux-headers-6.14.0-15-generic'
  make[2]: Entering directory '/var/lib/dkms/ovpn-dco/0.0+git20231103/build'
  warning: the compiler differs from the one used to build the kernel
-   The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 
13.3.0-6ubuntu2~24.04) 13.3.0
-   You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
-   CC [M]  drivers/net/ovpn-dco/main.o
-   CC [M]  drivers/net/ovpn-dco/bind.o
-   CC [M]  drivers/net/ovpn-dco/crypto.o
-   CC [M]  drivers/net/ovpn-dco/ovpn.o
+   The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 
13.3.0-6ubuntu2~24.04) 13.3.0
+   You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
+   CC [M]  drivers/net/ovpn-dco/main.o
+   CC [M]  drivers/net/ovpn-dco/bind.o
+   CC [M]  drivers/net/ovpn-dco/crypto.o
+   CC [M]  drivers/net/ovpn-dco/ovpn.o
  drivers/net/ovpn-dco/main.c: In function ‘ovpn_setup’:
  drivers/net/ovpn-dco/main.c:130:47: error: ‘NETIF_F_LLTX’ undeclared (first 
use in this function); did you mean ‘NETIF_F_LRO’?
-   130 |         netdev_features_t feat = NETIF_F_SG | NETIF_F_LLTX |
-       |                                               ^~~~~~~~~~~~
-       |                                               NETIF_F_LRO
+   130 |         netdev_features_t feat = NETIF_F_SG | NETIF_F_LLTX |
+       |                                               ^~~~~~~~~~~~
+       |                                               NETIF_F_LRO
  drivers/net/ovpn-dco/main.c:130:47: note: each undeclared identifier is 
reported only once for each function it appears in
-   CC [M]  drivers/net/ovpn-dco/peer.o
+   CC [M]  drivers/net/ovpn-dco/peer.o
  make[5]: *** 
[/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: 
drivers/net/ovpn-dco/main.o] Error 1
  make[5]: *** Waiting for unfinished jobs....
  make[4]: *** 
[/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:465: 
drivers/net/ovpn-dco] Error 2
  make[3]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:1999: .] 
Error 2
  make[2]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:251: 
__sub-make] Error 2
  make[2]: Leaving directory '/var/lib/dkms/ovpn-dco/0.0+git20231103/build'
  make[1]: *** [Makefile:251: __sub-make] Error 2
  make[1]: Leaving directory '/usr/src/linux-headers-6.14.0-15-generic'
  make: *** [Makefile:59: all] Error 2
  
  [ Test case ]
  
  Install the latest linux-6.14 kernel on Noble:
  
  $ sudo add-apt-repository ppa:canonical-kernel-team/ppa
  $ sudo apt install linux-generic-hwe-24.04-wip
  
  Install openvpn-dco-dkms
  
  $ sudo apt install openvpn-dco-dkms
  
  Load the modules:
  
- $ sudo modprobe
+ $ sudo modprobe ovpn-dco-v2
  
  The same procedure can be repeated on linux-6.8 to test for possible
  regressions.
  
  [ Fix ]
  
+ Apply the following commits from upstream openvpn-dco
+ (https://github.com/OpenVPN/ovpn-dco/):
+ 
+ * 42a50c2c5bda: "linux-compat: NLA_POLICY_MAX_LEN will be released in 6.13"
+ * 0935edd8569b: "ovpn-dco: port to 6.12 and add related compat hacks"
+ 
  [ Regression potential ]
  
  We may experience regressions in systems that are using the openvpn-dco
  drivers, especially with kernels >= 6.8 kernel.

** Patch added: "openvpn-dco-support-noble-6.14.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/openvpn-dco-dkms/+bug/2111348/+attachment/5879180/+files/openvpn-dco-support-noble-6.14.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2111348

Title:
  openvpn-dco-dkms FTBS in Noble with the linux-6.14-hwe kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn-dco-dkms/+bug/2111348/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to