r8168-8.038.00 doesn't build on kernel 3.16.x (PREPARE_DELAYED_WORK, SET_ETHTOOL_OPS)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
r8168-dkms (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Utopic |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
dkms package builds fine with kernel 3.13 but not with kernel 3.16 any more.
Tested with
a) Ubuntu 14.10 Alpha and
b) Ubuntu 14.04 with PPA package linux-meta-
Other Linux users also report this issue with newer kernels (as of 3.15 I guess):
https:/
Please check attached make.log for details.
I was able to resolve the issues with a quick-n-dirty patch that I have also pasted into this bug report. This patch might not be the best solution and may not be downward compatible to kernel 3.13.
--- r8168-8.
+++ r8168-8.
@@ -17542,7 +17542,8 @@ rtl8168_
RTL_
- SET_ETHTOOL_
+ //SET_ETHTOOL_
+ dev->ethtool_ops = &rtl8168_
dev-
dev->irq = pdev->irq;
@@ -19119,7 +19120,7 @@ static void rtl8168_
{
struct rtl8168_private *tp = netdev_priv(dev);
- PREPARE_
+ INIT_DELAYED_
schedule_
}
#endif
Cheers,
Henning
tags: | added: kernel-da-key |
Changed in r8168-dkms (Ubuntu): | |
importance: | Undecided → Medium |
Changed in r8168-dkms (Ubuntu Utopic): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
The attachment "dkms make log with two error messages" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]