lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <96605e3f-002b-c28b-8e7c-566271bbec19@gmail.com>
Date:   Tue, 16 Apr 2019 17:19:14 -0400
From:   "David R. Bergstein" <david.r.bergstein@...il.com>
To:     Larry Finger <Larry.Finger@...inger.net>,
        Tony Chuang <yhchuang@...ltek.com>
Cc:     Pkshih <pkshih@...ltek.com>,
        "linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: rtlwifi-new v0.6 and dkms failures

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
>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ