启动电脑时,电脑的 USB 接口上,尽可能“不要”插“带有 USB 分区”的无线网卡(即
通常产品宣传资料包含“免驱”字样的型号)!否则启动时,USB 无线网卡,可能会被电脑错误
识别为“USB启动盘”,导致无法进入系统或 Grub 启动界面!
.
(如果遇到这种故障,只需要 取下 USB 无线网卡,再重新启动电脑,就能正常进入系统。)
.
可以在电脑启动、进入系统后,再插上 USB 无线网卡使用。
DKMS make.log for rtl88x2cu-5.14.0.3-2~k6.1 for kernel 6.5.0-0.deb12.4-amd64 (x86_64)
Mon Jan 22 21:46:15 CST 2024
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.5.0-0.deb12.4-amd64/build M=/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build modules
make[1]: Entering directory ‘/usr/src/linux-headers-6.5.0-0.deb12.4-amd64’
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_vht.o
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_vht.c: In function ‘rtw_reattach_vht_ies’:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_vht.c:1269:27: warning: the comparison will always evaluate as ‘true’ for the address of ‘IEs’ will never be NULL [-Waddress]
1269 | if (pnetwork->IEs != NULL) {
| ^~
In file included from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/drv_types.h:29,
from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_vht.c:17:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/wlan_bssdef.h:244:13: note: ‘IEs’ declared here
244 | u8 IEs[MAX_IE_SZ]; /* (timestamp, beacon interval, and capability information) /
| ^~~
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/monitor/rtw_radiotap.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_recv.o
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_recv.c: In function ‘validate_mp_recv_frame’:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_recv.c:3898:25: warning: this ‘for’ clause does not guard… [-Wmisleading-indentation]
3898 | for (i = 0; i < precv_frame->u.hdr.len; i = i + 8)
| ^~~
In file included from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/drv_types.h:60,
from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_recv.c:17:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/rtw_debug.h:167:9: note: …this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
167 | do {
| ^~
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_recv.c:3901:33: note: in expansion of macro ‘RTW_INFO’
3901 | RTW_INFO(“#############################\n”);
| ^~~~~~~~
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_sta_mgt.o
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_sta_mgt.c: In function ‘rtw_mfree_stainfo’:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_sta_mgt.c:393:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress]
393 | if (&psta->lock != NULL)
| ^~
In file included from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/drv_types.h:112,
from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_sta_mgt.c:17:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/sta_info.h:269:17: note: ‘lock’ declared here
269 | _lock lock;
| ^~~~
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/wds/rtw_wds.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_iol.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_btcoex_wifionly.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_btcoex.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_beamforming.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_odm.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_rm.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_rm_fsm.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_ft.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_wnm.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_mbo.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_rm_util.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/efuse/rtw_efuse.o
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/efuse/rtw_efuse.c: In function ‘rtw_efuse_analyze’:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/efuse/rtw_efuse.c:971:17: warning: this ‘if’ clause does not guard… [-Wmisleading-indentation]
971 | if (i % 16 == 0)
| ^~
In file included from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/drv_types.h:60,
from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/efuse/rtw_efuse.c:17:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/rtw_debug.h:261:9: note: …this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
261 | do {
| ^~
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/efuse/rtw_efuse.c:973:25: note: in expansion of macro ‘_RTW_PRINT_SEL’
973 | _RTW_PRINT_SEL(RTW_DBGDUMP, “%02X%s”
| ^~~~~~~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_roch.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/aes-internal.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/aes-internal-enc.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/aes-gcm.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/aes-ccm.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/aes-omac1.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/ccmp.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/gcmp.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/aes-siv.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/aes-ctr.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/sha256-internal.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/sha256.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/sha256-prf.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/crypto/rtw_crypto_wrap.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/core/rtw_swcrypto.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/osdep_service.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/os_intfs.o
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/os_intfs.c: In function ‘rtw_net_set_mac_address’:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/os_intfs.c:1707:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1707 | _rtw_memcpy(pnetdev->dev_addr, sa->sa_data, ETH_ALEN); / set mac addr to net_device */
| ~^~~~
In file included from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/drv_types.h:27,
from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/os_intfs.c:17:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/osdep_service.h:321:35: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
321 | extern void _rtw_memcpy(void *dec, const void *sour, u32 sz);
| ^
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/os_intfs.c: In function ‘rtw_os_ndev_register’:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/os_intfs.c:2225:25: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
2225 | _rtw_memcpy(ndev->dev_addr, adapter_mac_addr(adapter), ETH_ALEN);
| ^~
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/osdep_service.h:321:35: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
321 | extern void _rtw_memcpy(void *dec, const void *sour, u32 sz);
| ^
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/usb_intf.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/usb_ops_linux.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/ioctl_linux.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/xmit_linux.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/mlme_linux.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/recv_linux.o
CC [M] /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/ioctl_cfg80211.o
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/ioctl_cfg80211.c:496:17: error: too few arguments to function ‘cfg80211_ch_switch_started_notify’
496 | cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/osdep_service_linux.h:98,
from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/osdep_service.h:59,
from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/include/drv_types.h:27,
from /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/ioctl_cfg80211.c:17:
/usr/src/linux-headers-6.5.0-0.deb12.4-common/include/net/cfg80211.h:8594:6: note: declared here
8594 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/ioctl_cfg80211.c:520:9: error: too few arguments to function ‘cfg80211_ch_switch_notify’
520 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.5.0-0.deb12.4-common/include/net/cfg80211.h:8577:6: note: declared here
8577 | void cfg80211_ch_switch_notify(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-6.5.0-0.deb12.4-common/scripts/Makefile.build:248: /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build/os_dep/linux/ioctl_cfg80211.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.5.0-0.deb12.4-common/Makefile:2059: /var/lib/dkms/rtl88x2cu/5.14.0.3-2~k6.1/build] Error 2
make[1]: *** [/usr/src/linux-headers-6.5.0-0.deb12.4-common/Makefile:246: __sub-make] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-6.5.0-0.deb12.4-amd64’
make: *** [Makefile:2489: modules] Error 2