Hu tao
Üstün
Herkese iyi akşamlar. Linux Kernel 7.3 çıkmışken 7.3-tkg bore kernel'i atayım dedim, PC'ye attım ama TP-Link WiFi adaptörüm çalışmıyor (RTL8822BU). Sürücüsünü kurmaya çalışırken hata veriyor. Kernel yeni diyedir dedim ama 1 haftadir böyle yani. Önceden 7.2'de glediğinde mesela hemen oluyordu surucu ya da 7.1'de
Kod:
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod rtl88x2bu/5.13.1.r225.b4e4c1b -k 7.3.0-273-tkg-bore
Error! Bad return status for module build on kernel: 7.3.0-273-tkg-bore (x86_64)
Consult /var/lib/dkms/rtl88x2bu/5.13.1.r225.b4e4c1b/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl88x2bu/5.13.1.r225.b4e4c1b -k 7.3.0-273-tkg-bore' exited 10
==> dkms install --no-depmod rtl88x2bu/5.13.1.r225.b4e4c1b -k 7.0.0-tkg-bore
==> dkms install --no-depmod rtl88x2bu/5.13.1.r225.b4e4c1b -k 6.19.6-273-tkg-bore
==> depmod 7.0.0-tkg-bore
==> depmod 6.19.6-273-tkg-bore
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux619-tkg-bore.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux619-tkg-bore -g /boot/initramfs-linux619-tkg-bore.img
==> Starting build: '6.19.6-273-tkg-bore'
-> Running build hook: [base]
-> Running build hook: [udev]
Kod:
CC [M] os_dep/linux/rtw_rhashtable.o
os_dep/linux/ioctl_cfg80211.c: 'cfg80211_rtw_remain_on_channel' işlevinde:
os_dep/linux/ioctl_cfg80211.c:7728:9: error: invalid type argument of unary '*' (have 'u64' {aka 'long long unsigned int'})
7728 | *cookie = ATOMIC_INC_RETURN(&prochinfo->ro_ch_cookie_gen);
| ^~~~~~~
In file included from /usr/lib/modules/7.3.0-273-tkg-bore/build/include/asm-generic/bug.h:31,
--
from /usr/lib/modules/7.3.0-273-tkg-bore/build/include/linux/string.h:383,
from os_dep/linux/ioctl_cfg80211.c:1:
os_dep/linux/ioctl_cfg80211.c:7732:40: error: invalid type argument of unary '*' (have 'u64' {aka 'long long unsigned int'})
7732 | , remain_ch, duration, *cookie);
| ^~~~~~~
/usr/lib/modules/7.3.0-273-tkg-bore/build/include/linux/printk.h:483:33: note: in definition of macro 'printk_index_wrap'
--
7728 | RTW_INFO(FUNC_ADPT_FMT"%s ch:%u duration:%d, cookie:0x%llx\n"
| ^~~~~~~~
os_dep/linux/ioctl_cfg80211.c:7809:42: error: invalid type argument of unary '*' (have 'u64' {aka 'long long unsigned int'})
7809 | prochinfo->remain_on_ch_cookie = *cookie;
| ^~~~~~~
os_dep/linux/ioctl_cfg80211.c:7817:32: error: invalid type argument of unary '*' (have 'u64' {aka 'long long unsigned int'})
7817 | rtw_roch_cmd(padapter, *cookie, wdev, channel, prochinfo->remain_on_ch_type,
| ^~~~~~~
In file included from ././include/osdep_intf.h:108,
from ././include/drv_types.h:111,
from os_dep/linux/ioctl_cfg80211.c:20:
os_dep/linux/ioctl_cfg80211.c:7820:45: error: invalid type argument of unary '*' (have 'u64' {aka 'long long unsigned int'})
7820 | rtw_cfg80211_ready_on_channel(wdev, *cookie, channel, channel_type, duration, GFP_KERNEL);
| ^~~~~~~
././include/../os_dep/linux/ioctl_cfg80211.h:398:121: note: in definition of macro 'rtw_cfg80211_ready_on_channel'
--
| ^~~~~~~
os_dep/linux/ioctl_cfg80211.c: 'cfg80211_rtw_mgmt_tx' işlevinde:
os_dep/linux/ioctl_cfg80211.c:8347:9: error: invalid type argument of unary '*' (have 'u64' {aka 'long long unsigned int'})
8347 | *cookie = pwdev_priv->mgmt_tx_cookie++;
| ^~~~~~~
os_dep/linux/ioctl_cfg80211.c:8370:43: error: invalid type argument of unary '*' (have 'u64' {aka 'long long unsigned int'})
8370 | rtw_cfg80211_mgmt_tx_status(wdev, *cookie, buf, len, ack, GFP_KERNEL);
| ^~~~~~~
././include/../os_dep/linux/ioctl_cfg80211.h:388:101: note: in definition of macro 'rtw_cfg80211_mgmt_tx_status'
--
| ^~~~~~
os_dep/linux/ioctl_cfg80211.c: Üst düzeyde:
os_dep/linux/ioctl_cfg80211.c:10682:30: error: initialization of 'int (*)(struct wiphy *, struct wireless_dev *, struct ieee80211_channel *, unsigned int, u64, const u8 *)' {aka 'int (*)(struct wiphy *, struct wireless_dev *, struct ieee80211_channel *, unsigned int, long long unsigned int, const unsigned char *)'} from incompatible pointer type 's32 (*)(struct wiphy *, struct wireless_dev *, struct ieee80211_channel *, unsigned int, u64)' {aka 'int (*)(struct wiphy *, struct wireless_dev *, struct ieee80211_channel *, unsigned int, long long unsigned int)'} [-Wincompatible-pointer-types]
10682 | .remain_on_channel = cfg80211_rtw_remain_on_channel,
| ^~~~~~