[Bug 2092078] Re: r8168-dkms FTBS in Noble with linux-6.11-hwe kernel

Ubuntu Foundations Team Bug Bot 2092078 at bugs.launchpad.net
Wed Dec 18 16:25:36 UTC 2024


The attachment "r8168-dkms-support-noble-6.11.debdiff" seems to be a
debdiff.  The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff.  If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
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/2092078

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

Status in r8168 package in Ubuntu:
  In Progress
Status in r8168 source package in Noble:
  In Progress

Bug description:
  [ Impact ]

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

  /var/lib/dkms/r8168/8.052.01/build/r8168_n.c:7978:20: error: initialization of ‘int (*)(struct net_device *, struct ethtool_keee *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_eee *)’ [-Werror=incompatible-pointer-types]
   7978 |         .get_eee = rtl_ethtool_get_eee,
        |                    ^~~~~~~~~~~~~~~~~~~
  /var/lib/dkms/r8168/8.052.01/build/r8168_n.c:7978:20: note: (near initialization for ‘rtl8168_ethtool_ops.get_eee’)
  /var/lib/dkms/r8168/8.052.01/build/r8168_n.c:7979:20: error: initialization of ‘int (*)(struct net_device *, struct ethtool_keee *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_eee *)’ [-Werror=incompatible-pointer-types]
   7979 |         .set_eee = rtl_ethtool_set_eee,
        |                    ^~~~~~~~~~~~~~~~~~~
  /var/lib/dkms/r8168/8.052.01/build/r8168_n.c:7979:20: note: (near initialization for ‘rtl8168_ethtool_ops.set_eee’)

  [ 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 r8168-dkms:

  $ sudo apt install r8168-dkms

  Load the module:

  $ sudo modprobe r8168

  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 possible regression is possible in systems using r8168-dkms with the
  new 6.11 kernel

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




More information about the Ubuntu-sponsors mailing list