rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu7: rtl8812au kernel module failed to build [error: ‘_timer {aka struct timer_list}’ has no member named ‘data’]

Bug #1774780 reported by giuseppe di fede
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
rtl8812au (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

it doesn't work on ubuntu 18.04

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu8
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: amd64
DKMSKernelVersion: 4.15.0-22-generic
Date: Sat Jun 2 14:50:25 2018
DuplicateSignature: dkms:rtl8812au-dkms:4.3.8.12175.20140902+dfsg-0ubuntu7:/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service_linux.h:256:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
InstallationDate: Installed on 2017-04-13 (414 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitecture: all
PackageVersion: 4.3.8.12175.20140902+dfsg-0ubuntu7
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.1
SourcePackage: rtl8812au
Title: rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu7: rtl8812au kernel module failed to build
UpgradeStatus: Upgraded to bionic on 2018-05-27 (5 days ago)

Revision history for this message
giuseppe di fede (giuseppe-difede) wrote :
tags: removed: need-duplicate-check
summary: rtl8812au-dkms 4.3.8.12175.20140902+dfsg-0ubuntu7: rtl8812au kernel
- module failed to build
+ module failed to build [error: ‘_timer {aka struct timer_list}’ has no
+ member named ‘data’]
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in rtl8812au (Ubuntu):
status: New → Confirmed
Revision history for this message
Julio Lajara (ju2wheels) wrote :

Round 3 with this driver breaking on a kernel update. I found a similar bug that was fixed in this package https://bugzilla.rpmfusion.org/show_bug.cgi?id=4798 (wl-kmod). If you go to the link in the second comment and download the source RPM, it contains a timer patch for kernel 4.15 .

Still trying to figure out how to translate that patch into something thats usable in this driver.

Revision history for this message
John Zaazouh (jzaazouh) wrote :

Once again the latest "update" this time on 8/8/18 broke the rtl8812au packages.

Revision history for this message
Simon Durkee (spdurkee) wrote :
Download full text (3.6 KiB)

Also doesn't work with ubuntu 16.04

Unpacking rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu2) over (4.3.8.12175.20140902+dfsg-0ubuntu2) ...
Setting up rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu2) ...
Loading new rtl8812au-4.3.8.12175.20140902+dfsg DKMS files...
Building only for 4.15.0-32-generic
Building initial module for 4.15.0-32-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rtl8812au-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-32-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log for more information.

DKMS make.log for rtl8812au-4.3.8.12175.20140902+dfsg for kernel 4.15.0-32-generic (x86_64)
Sun Aug 19 13:44:45 EDT 2018
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-32-generic/build M=/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-32-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M] /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h:41:0,
                 from /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service_linux.h:253:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service_linux.h:254:2: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^
In file included from /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/drv_types.h:32:0,
                 from /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h: In function ‘thread_enter’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
  if (signal_pending (current))
      ^
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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