Public bug reported:

[ Impact ]

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

/var/lib/dkms/r8125/9.011.00/build/r8125_n.c:6255: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]
 6255 |         .set_eee = rtl_ethtool_set_eee,
      |                    ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/r8125/9.011.00/build/r8125_n.c:6255:20: note: (near 
initialization for ‘rtl8125_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 r8125-dkms:

$ sudo apt install r8125-dkms

Load the module:

$ sudo modprobe r8125

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 r8125-dkms with the
new 6.11 kernel

** Affects: r8125 (Ubuntu)
     Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
         Status: In Progress

** Affects: r8125 (Ubuntu Noble)
     Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
         Status: In Progress

** Also affects: r8125 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: r8125 (Ubuntu Noble)
       Status: New => In Progress

** Changed in: r8125 (Ubuntu Noble)
     Assignee: (unassigned) => Massimiliano Pellizzer (mpellizzer)

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to