[Bug 2092149] Re: rtpengine-kernel-dkms FTBS in Noble with linux-6.11-hwe kernel

Massimiliano Pellizzer 2092149 at bugs.launchpad.net
Tue Jan 14 07:15:29 UTC 2025


The packet in proposed builds, installs and loads correctly on both GA
and HWE kernel.

GA:
$ sudo apt install -t noble-proposed rtpengine-kernel-dkms
$ dkms status
rtpengine/11.5.1.18, 6.8.0-51-generic, x86_64: installed
$ sudo modprobe xt_RTPENGINE
$ lsmod | grep -i rtpengine
xt_RTPENGINE           81920  0
x_tables               65536  2 xt_RTPENGINE,ip_tables
$ sudo rmmod xt_RTPENGINE

HWE:
$ sudo apt install -t noble-proposed rtpengine-kernel-dkms
$ dkms status
rtpengine/11.5.1.18, 6.11.0-12-generic, x86_64: installed
$ sudo modprobe xt_RTPENGINE
$ lsmod | grep -i rtpengine
xt_RTPENGINE           81920  0
x_tables               65536  2 xt_RTPENGINE,ip_tables
$ sudo rmmod xt_RTPENGINE

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

Title:
  rtpengine-kernel-dkms FTBS in Noble with linux-6.11-hwe kernel

Status in rtpengine package in Ubuntu:
  Invalid
Status in rtpengine source package in Noble:
  Fix Committed

Bug description:
  [ Impact ]

  rtpengine-kernel-dkms does not compile from source in Noble with
  kernel 6.11:

  /var/lib/dkms/rtpengine/11.5.1.18/build/xt_RTPENGINE.c: In function ‘send_proxy_packet4’:
  /var/lib/dkms/rtpengine/11.5.1.18/build/xt_RTPENGINE.c:4020:14: error: too few arguments to function ‘ip_route_output’
   4020 |         rt = ip_route_output(net, dst->u.ipv4, src->u.ipv4, tos, 0);
        |              ^~~~~~~~~~~~~~~
  In file included from ./include/net/ip.h:30,
                   from ./include/net/ip6_checksum.h:27,
                   from /var/lib/dkms/rtpengine/11.5.1.18/build/xt_RTPENGINE.c:5:
  ./include/net/route.h:157:30: note: declared here
    157 | static inline struct rtable *ip_route_output(struct net *net, __be32 daddr,
        |                              ^~~~~~~~~~~~~~~

  [ Test case ]

  Install the latest linux-6.11 kernel on Noble:

  $ sudo add-apt-repository ppa:canonical-kernel-team/ppa
  $ sudo apt update
  $ sudo apt install linux-image-6.11.0-12-generic \
                     linux-modules-6.11.0-12-generic \
                     linux-modules-extra-6.11.0-12-generic \
                     linux-headers-6.11.0-12-generic

  Install rtpengine-kernel-dkms:

  $ sudo apt install rtpengine-kernel-dkms

  Load the module:

  $ sudo modprobe xt_RTPENGINE

  The same procedure should be repeated on linux-6.8 to test for
  possible regressions.

  [ Fix ]

  Patch the code to properly support the new linux 6.11 ABI.

  [ Regression potential ]

  A regression is unlikely due to the very limited scope of the patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtpengine/+bug/2092149/+subscriptions




More information about the Ubuntu-sponsors mailing list