Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernal issue plz give me patch #6

Open
Niansahh opened this issue Apr 11, 2024 · 0 comments
Open

kernal issue plz give me patch #6

Niansahh opened this issue Apr 11, 2024 · 0 comments

Comments

@Niansahh
Copy link

cat make.log

DKMS make.log for rtl88x2bu-5.13.1 for kernel 6.6.9-amd64 (x86_64)
Wed Apr 10 19:56:55 EDT 2024
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.6.9-amd64/build M=/var/lib/dkms/rtl88x2bu/5.13.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.6.9-amd64'
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/monitor/rtw_radiotap.o
/var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mlme_ext.c:201:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
201 | if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_NONE)) == 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/rtl88x2bu/5.13.1/build/include/drv_types.h:62,
from /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mlme_ext.c:17:
/var/lib/dkms/rtl88x2bu/5.13.1/build/include/rtw_rf.h:267:14: note: source object ‘regd_name’ of size 0
267 | char regd_name[0];
| ^~~~~~~~~
/var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mlme_ext.c:203:26: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
203 | else if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_WW)) == 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/5.13.1/build/include/rtw_rf.h:267:14: note: source object ‘regd_name’ of size 0
267 | char regd_name[0];
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/wds/rtw_wds.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/mesh/rtw_mesh.o
In file included from /usr/src/linux-headers-6.6.9-common/include/linux/kernel.h:30,
from /usr/src/linux-headers-6.6.9-common/arch/x86/include/asm/percpu.h:27,
from /usr/src/linux-headers-6.6.9-common/arch/x86/include/asm/nospec-branch.h:14,
from /usr/src/linux-headers-6.6.9-common/arch/x86/include/asm/paravirt_types.h:20,
from /usr/src/linux-headers-6.6.9-common/arch/x86/include/asm/ptrace.h:97,
from /usr/src/linux-headers-6.6.9-common/arch/x86/include/asm/math_emu.h:5,
from /usr/src/linux-headers-6.6.9-common/arch/x86/include/asm/processor.h:13,
from /usr/src/linux-headers-6.6.9-common/arch/x86/include/asm/timex.h:5,
from /usr/src/linux-headers-6.6.9-common/include/linux/timex.h:67,
from /usr/src/linux-headers-6.6.9-common/include/linux/time32.h:13,
from /usr/src/linux-headers-6.6.9-common/include/linux/time.h:60,
from /usr/src/linux-headers-6.6.9-common/include/linux/stat.h:19,
from /usr/src/linux-headers-6.6.9-common/include/linux/module.h:13,
from /var/lib/dkms/rtl88x2bu/5.13.1/build/include/basic_types.h:76,
from /var/lib/dkms/rtl88x2bu/5.13.1/build/include/drv_types.h:26,
from /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rf.c:17:
/var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rf.c: In function ‘dump_txpwr_lmt’:
/var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rf.c:2003:67: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
2003 | , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.6.9-common/include/linux/printk.h:427:33: note: in definition of macro ‘printk_index_wrap’
427 | _p_func(_fmt, ##VA_ARGS);
| ^~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/5.13.1/build/include/rtw_debug.h:85:26: note: in expansion of macro ‘printk’
85 | #define _dbgdump printk
| ^~~~~~
/var/lib/dkms/rtl88x2bu/5.13.1/build/include/rtw_debug.h:263:25: note: in expansion of macro ‘_RTW_PRINT’
263 | _RTW_PRINT(fmt, ##arg);
| ^~~~~~~~~~
/var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rf.c:2002:57: note: in expansion of macro ‘_RTW_PRINT_SEL’
2002 | _RTW_PRINT_SEL(sel, "%3c "
| ^~~~~~~~~~~~~~
In file included from /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rf.c:18:
/var/lib/dkms/rtl88x2bu/5.13.1/build/include/hal_data.h:345:14: note: source object ‘regd_name’ of size 0
345 | char regd_name[0];
| ^~~~~~~~~
In file included from /var/lib/dkms/rtl88x2bu/5.13.1/build/include/drv_types.h:60:
/var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rf.c:2003:67: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
2003 | , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/5.13.1/build/include/rtw_debug.h:265:46: note: in definition of macro ‘_RTW_PRINT_SEL’
265 | _seqdump(sel, fmt, ##arg) /rtw_warn_on(1)/;
| ^~~
/var/lib/dkms/rtl88x2bu/5.13.1/build/include/hal_data.h:345:14: note: source object ‘regd_name’ of size 0
345 | char regd_name[0];
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/mesh/rtw_mesh_hwmp.o
/var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rf.c: In function ‘_rtw_txpwr_lmt_get_by_name’:
/var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rf.c:2215:21: warning: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
2215 | if (strcmp(ent->regd_name, regd_name) == 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/5.13.1/build/include/hal_data.h:345:14: note: source object ‘regd_name’ of size 0
345 | char regd_name[0];
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_iol.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_btcoex_wifionly.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_btcoex.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_beamforming.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_odm.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rm.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rm_fsm.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_ft.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_wnm.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_mbo.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_rm_util.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/efuse/rtw_efuse.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_roch.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-internal.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-internal-enc.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-gcm.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-ccm.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-omac1.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/ccmp.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/gcmp.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-siv.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/aes-ctr.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/sha256-internal.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/sha256.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/sha256-prf.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/crypto/rtw_crypto_wrap.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/core/rtw_swcrypto.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/osdep_service.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/os_intfs.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/usb_intf.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/usb_ops_linux.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/ioctl_linux.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/xmit_linux.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/mlme_linux.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/recv_linux.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/ioctl_cfg80211.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/rtw_cfgvendor.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/wifi_regd.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/rtw_android.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/rtw_proc.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/nlrtw.o
CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/rtw_rhashtable.o
/var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/wifi_regd.c: In function ‘rtw_regd_init’:
/var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/wifi_regd.c:409:36: error: ‘REGULATORY_IGNORE_STALE_KICKOFF’ undeclared (first use in this function)
409 | wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/wifi_regd.c:409:36: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/usr/src/linux-headers-6.6.9-common/scripts/Makefile.build:248: /var/lib/dkms/rtl88x2bu/5.13.1/build/os_dep/linux/wifi_regd.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.6.9-common/Makefile:1938: /var/lib/dkms/rtl88x2bu/5.13.1/build] Error 2
make[1]: *** [/usr/src/linux-headers-6.6.9-common/Makefile:246: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.6.9-amd64'
make: *** [Makefile:2479: modules] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant