lkml.org 
[lkml]   [2019]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: rtlwifi-new v0.6 and dkms failures
From
Date
Larry,

As it tuns out, I was able to create a new dkms.conf file which works on
my system. Below is  copy of the content from that file:

PACKAGE_NAME="rtlwifi-new"
PACKAGE_VERSION=0.6
MAKE="make -C $kernel_source_dir
M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build"
CLEAN="make -C $kernel_source_dir clean"
BUILT_MODULE_NAME[0]="rtw88"
BUILT_MODULE_NAME[1]="rtwpci"
DEST_MODULE_LOCATION[0]="/updates"
DEST_MODULE_LOCATION[1]="/updates"
REMAKE_INITRD=no
AUTOINSTALL=yes

This also had the benefit of module signing by the version of dkms in
Ubuntu 19.04, so I am now also back on secure boot.

No action on your part is requested at this time.  Feel free to use the
new dkms.conf content if it is useful to you.

Regards,

David R. Bergstein

On 4/14/19 5:39 PM, David R. Bergstein wrote:
> Larry,
>
> Thanks for your prior assistance with the rtw88 module.  Since manually
> compiling and installing works correctly, I have been working to
> register the software in dkms, but am running into some difficulties. 
> Below are some snippets from a terminal session to illustrate the issue:
>
> udo dkms install rtlwifi-new/0.6
>
> Creating symlink /var/lib/dkms/rtlwifi-new/0.6/source ->
>                  /usr/src/rtlwifi-new-0.6
>
> DKMS: add completed.
>
> Kernel preparation unnecessary for this kernel.  Skipping...
>
> Building module:
> cleaning build area....(bad exit status: 2)
> make -j12 KERNELRELEASE=5.0.0-11-lowlatency -C
> /lib/modules/5.0.0-11-lowlatency/build
> M=/var/lib/dkms/rtlwifi-new/0.6/build....
> ERROR (dkms apport): binary package for rtlwifi-new: 0.6 not found
> Error!  Build of rtl_pci.ko failed for: 5.0.0-11-lowlatency (x86_64)
> Consult the make.log in the build directory
> /var/lib/dkms/rtlwifi-new/0.6/build/ for more information.
>
> Below is the make.log contents referenced above:
>
> DKMS make.log for rtlwifi-new-0.6 for kernel 5.0.0-11-lowlatency (x86_64)
> Sun 14 Apr 2019 05:25:37 PM EDT
> make: Entering directory '/usr/src/linux-headers-5.0.0-11-lowlatency'
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/main.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/mac80211.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/util.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/debug.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/tx.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/rx.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/mac.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/phy.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/efuse.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/fw.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/ps.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/sec.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/regd.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/rtw8822b.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/rtw8822b_table.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/rtw8822c.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/rtw8822c_table.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.6/build/pci.o
>   LD [M]  /var/lib/dkms/rtlwifi-new/0.6/build/rtwpci.o
>   LD [M]  /var/lib/dkms/rtlwifi-new/0.6/build/rtw88.o
>   Building modules, stage 2.
>   MODPOST 2 modules
>   CC      /var/lib/dkms/rtlwifi-new/0.6/build/rtw88.mod.o
>   CC      /var/lib/dkms/rtlwifi-new/0.6/build/rtwpci.mod.o
>   LD [M]  /var/lib/dkms/rtlwifi-new/0.6/build/rtw88.ko
>   LD [M]  /var/lib/dkms/rtlwifi-new/0.6/build/rtwpci.ko
> make: Leaving directory '/usr/src/linux-headers-5.0.0-11-lowlatency'
>
> As you can see, the make log does not show any errors, which is baffling
> to me.  Any insight you have on resolving this issue would be appreciated.
>
> Sincerely,
>
> David R. Bergstein
>
>

\
 
 \ /
  Last update: 2019-04-16 23:19    [W:0.086 / U:3.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site