Error with 4.8 kernel from linux-generic-hwe-16.04-edge package for Xenial [error: ‘struct net_device’ has no member named ‘gso_min_segs’]

Bug #1647916 reported by Teg
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
r8168 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When installing this package in Ubuntu 16.04 under the 4.8 kernel (linux-generic-hwe-16.04-edge), this error message happens:

DKMS make.log for r8168-8.042.00 for kernel 4.8.0-30-generic (x86_64)
Tue Dec 6 21:36:08 EST 2016
make: Entering directory '/usr/src/linux-headers-4.8.0-30-generic'
  LD /var/lib/dkms/r8168/8.042.00/build/built-in.o
  CC [M] /var/lib/dkms/r8168/8.042.00/build/r8168_n.o
/var/lib/dkms/r8168/8.042.00/build/r8168_n.c: In function ‘rtl8168_init_one’:
/var/lib/dkms/r8168/8.042.00/build/r8168_n.c:22799:28: error: ‘struct net_device’ has no member named ‘gso_min_segs’
                         dev->gso_min_segs = NIC_MIN_PHYS_BUF_COUNT;
                            ^
/var/lib/dkms/r8168/8.042.00/build/r8168_n.c:22807:28: error: ‘struct net_device’ has no member named ‘gso_min_segs’
                         dev->gso_min_segs = NIC_MIN_PHYS_BUF_COUNT;
                            ^
/var/lib/dkms/r8168/8.042.00/build/r8168_n.c: In function ‘rtl8168_start_xmit’:
/var/lib/dkms/r8168/8.042.00/build/r8168_n.c:24969:12: error: ‘struct net_device’ has no member named ‘trans_start’
         dev->trans_start = jiffies;
            ^
scripts/Makefile.build:289: recipe for target '/var/lib/dkms/r8168/8.042.00/build/r8168_n.o' failed
make[1]: *** [/var/lib/dkms/r8168/8.042.00/build/r8168_n.o] Error 1
Makefile:1489: recipe for target '_module_/var/lib/dkms/r8168/8.042.00/build' failed
make: *** [_module_/var/lib/dkms/r8168/8.042.00/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.8.0-30-generic'

Tags: kernel-bug
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in r8168 (Ubuntu):
status: New → Confirmed
summary: Error with 4.8 kernel from linux-generic-hwe-16.04-edge package for
- Xenial
+ Xenial [error: ‘struct net_device’ has no member named ‘gso_min_segs’]
Revision history for this message
zEn (der-eremit) wrote :

I can confirm that installing the package from zesty works with hwe-kernel 4.10.0

Revision history for this message
Andreas Beckmann (anbe) wrote :

fixed in 8.042.00-2

Changed in r8168 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.