DKMS make.log for rtl88x2bu-5.13.1.r179.a2ac3b2 for kernel 5.10.110-rockchip-rk3588 (aarch64)
sáb 28 jan 2023 00:47:38 -03
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.10.110-rockchip-rk3588/build M=/var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build modules
make[1]: Entrando no diretório '/usr/lib/modules/5.10.110-rockchip-rk3588/build'
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/monitor/rtw_radiotap.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/wds/rtw_wds.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_iol.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_btcoex_wifionly.o
/var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_sta_mgt.c: In function 'rtw_mfree_stainfo':
/var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_sta_mgt.c:391:27: warning: the comparison will always evaluate as 'true' for the address of 'lock' will never be NULL [-Waddress]
error, forbidden warning:rtw_sta_mgt.c:391
391 | if (&(psta->lock) != NULL)
| ^~
In file included from /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/include/drv_types.h:112,
from /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_sta_mgt.c:17:
/var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/include/sta_info.h:267:17: note: 'lock' declared here
267 | _lock lock;
| ^~~~
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_sta_mgt.o] Error 1
make[2]: ** Apagando arquivo '/var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_sta_mgt.o'
make[2]: ** Esperando que outros processos terminem.
In function '__nat25_add_pppoe_tag',
inlined from 'nat25_db_handle' at /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_br_ext.c:893:11:
/var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_br_ext.c:113:9: warning: 'memcpy' reading between 2052 and 9220 bytes from a region of size 40 [-Wstringop-overread]
error, forbidden warning:rtw_br_ext.c:113
113 | memcpy((unsigned char *)ph->tag, tag, data_len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_br_ext.c: In function 'nat25_db_handle':
/var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_br_ext.c:862:63: note: source object 'tag_buf' of size 40
862 | unsigned char tag_buf[40];
| ^~~~~~~
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_br_ext.o] Error 1
make[2]: ** Apagando arquivo '/var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build/core/rtw_br_ext.o'
make[1]: *** [Makefile:1920: /var/lib/dkms/rtl88x2bu/5.13.1.r179.a2ac3b2/build] Error 2
make[1]: Saindo do diretório '/usr/lib/modules/5.10.110-rockchip-rk3588/build'
make: *** [Makefile:2455: modules] Error 2
:: Continuar a instalação? [S/n]
(1/1) verificando chaves no chaveiro [----------------------------] 100%
(1/1) verificando integridade do pacote [----------------------------] 100%
(1/1) carregando arquivos do pacote [----------------------------] 100%
(1/1) verificando conflitos de arquivos [----------------------------] 100%
(1/1) verificando espaço em disco disponível [----------------------------] 100%
:: Processando alterações do pacote…
(1/1) instalando rtl88x2bu-cilynx-dkms-git [----------------------------] 100%
:: Executando hooks pós-transação…
(1/2) Arming ConditionNeedsUpdate…
(2/2) Install DKMS modules
==> dkms install --no-depmod rtl88x2bu/r142.549257e -k 5.10.110-rockchip-rk3588
Error! Bad return status for module build on kernel: 5.10.110-rockchip-rk3588 (aarch64)
Consult /var/lib/dkms/rtl88x2bu/r142.549257e/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl88x2bu/r142.549257e -k 5.10.110-rockchip-rk3588’ exited 10
me@gnome-reborn ~>
me@gnome-reborn ~> sudo cat /var/lib/dkms/rtl88x2bu/r142.549257e/build/make.log
DKMS make.log for rtl88x2bu-r142.549257e for kernel 5.10.110-rockchip-rk3588 (aarch64)
sex 10 fev 2023 17:17:02 -03
make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/5.10.110-rockchip-rk3588/build M=/var/lib/dkms/rtl88x2bu/r142.549257e/build modules
make[1]: Entrando no diretório ‘/usr/lib/modules/5.10.110-rockchip-rk3588/build’
Makefile:708: arch/aarch64/Makefile: Arquivo ou diretório inexistente
make[1]: *** Sem regra para processar o alvo ‘arch/aarch64/Makefile’ . Pare.
make[1]: Saindo do diretório ‘/usr/lib/modules/5.10.110-rockchip-rk3588/build’
I suggest you follow the README.md instructions from here, this is the where the first driver you attempted to build and they have more interaction and RinCat is helpful:
If you have troubles, I would enable the debug level 5 and then post the results when you attempt to make and / or use modprobe 88x2bu when using dkms as per the instructions there.
Building module:
Cleaning build area…
‘make’ -j8 KVER=5.10.110-rockchip-rk3588 KSRC=/lib/modules/5.10.110-rockchip-rk3588/build…(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.10.110-rockchip-rk3588 (aarch64)
Consult /var/lib/dkms/rtl88x2bu/git/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
cury@gnome-opi5 ~/D/RTL88x2BU-Linux-Driver (master) [11]>
cury@gnome-opi5 ~/D/RTL88x2BU-Linux-Driver (master)> cat /var/lib/dkms/rtl88x2bu/git/build/make.log
DKMS make.log for rtl88x2bu-git for kernel 5.10.110-rockchip-rk3588 (aarch64)
qui 16 fev 2023 06:14:52 -03
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.10.110-rockchip-rk3588/build M=/var/lib/dkms/rtl88x2bu/git/build modules
make[1]: Entrando no diretório ‘/usr/lib/modules/5.10.110-rockchip-rk3588/build’
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/monitor/rtw_radiotap.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/wds/rtw_wds.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl88x2bu/git/build/core/mesh/rtw_mesh_hwmp.o
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c: In function ‘rtw_mfree_stainfo’:
/var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c:391:27: warning: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress]
error, forbidden warning:rtw_sta_mgt.c:391
391 | if (&(psta->lock) != NULL)
| ^~
In file included from /var/lib/dkms/rtl88x2bu/git/build/include/drv_types.h:112,
from /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.c:17:
/var/lib/dkms/rtl88x2bu/git/build/include/sta_info.h:267:17: note: ‘lock’ declared here
267 | _lock lock;
| ^~~~
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o] Error 1
make[2]: ** Apagando arquivo ‘/var/lib/dkms/rtl88x2bu/git/build/core/rtw_sta_mgt.o’
make[2]: ** Esperando que outros processos terminem.
make[1]: *** [Makefile:1920: /var/lib/dkms/rtl88x2bu/git/build] Error 2
make[1]: Saindo do diretório ‘/usr/lib/modules/5.10.110-rockchip-rk3588/build’