Closed bushaev-denis closed 11 months ago
With a 6.6 kernel, there is no reason for you to be using this driver AT ALL. If you are trying to do this, but have not blacklisted the in-kernel version, then the accompanying conflicts will show exactly what you are seeing.
If you are not using the driver from this repo, then look at README.md on how to report problems with the kernel driver.
@lwfinger Perhaps this seems somewhat obvious to you, but not all people understand so well what exactly needs to be done for something to work. I'm just asking for help on what I should do to make your drivers work. Yes, as you correctly understood, mine didn’t work out of the box, I don’t know the reason and I don’t have time to deal with the kernel and its drivers right now. Please tell me which built-in drivers I should blacklist so that your drivers will work.
If you are going to use these out-of-kernel drivers, then you must read the README.md. It tells you how to blacklist the in-kernel versions. In your case, you should do nothing. Uninstall this repo and the dkms configuration, then reinstall the kernel. It should JUST WORK.
If you use CAPS reality will not change. I`ve deleted ur drivers and dkms 3 times already, it just dont work. Neither ur driver nor builtin.
Whats the point to building something 3rd party drivers if mine one works well?
Not everyone runs a 6.6 kernel. If you were using 5.19, then you need this one because the driver is not in the kernel.
The thing is that when you have a new kernel, use th internal drivers
Have you looked at the output of 'sudo dmesg | less'? Do you have the firmware installed?
If you mean here - yes.
[ 10.334164] rtw89_8852ce 0000:05:00.0: loaded firmware rtw89/rtw8852c_fw.bin
[ 10.334223] rtw89_8852ce 0000:05:00.0: enabling device (0000 -> 0003)
[ 10.335098] rtw89_8852ce 0000:05:00.0: Firmware version 0.27.56.13 (ebbe528f), cmd version 0, type 1
[ 10.335101] rtw89_8852ce 0000:05:00.0: Firmware version 0.27.56.13 (ebbe528f), cmd version 0, type 3
[ 10.335106] rtw89_8852ce 0000:05:00.0: MAC has already powered on
[ 10.340597] RIP: 0010:rtw89_pci_ops_mac_pre_init+0xe/0x20 [rtw89pci]
[ 10.341039] ? rtw89_pci_ops_mac_pre_init+0xe/0x20 [rtw89pci 8e49679efe1b763328b7b7e3e302370ad5bbe3be]
[ 10.341075] ? __pfx_rtw89_pci_ops_mac_pre_init+0x10/0x10 [rtw89pci 8e49679efe1b763328b7b7e3e302370ad5bbe3be]
[ 10.341112] rtw89_mac_partial_init+0x150/0x350 [rtw89core 0a0a16100048a54f77bb357ab0038e22659648d2]
[ 10.341159] rtw89_chip_info_setup+0x9d/0x2c0 [rtw89core 0a0a16100048a54f77bb357ab0038e22659648d2]
[ 10.341202] rtw89_pci_probe+0xa86/0x1750 [rtw89pci 8e49679efe1b763328b7b7e3e302370ad5bbe3be]
[ 10.341443] ? __pfx_rtw89_8852ce_driver_init+0x10/0x10 [rtw89_8852ce ed6ee5d673e78d197b110b7e9274d6d18a5f5d39]
[ 10.342208] Modules linked in: rtw89_8852ce(+) snd_hda_intel snd_usb_audio(+) rtw_8852c(OE) irqbypass snd_intel_dspcfg rtw89pci(OE) crct10dif_pclmul snd_usbmidi_lib snd_intel_sdw_acpi crc32_pclmul rtw89core(OE) polyval_clmulni snd_ump polyval_generic snd_hda_codec snd_rawmidi gf128mul btusb snd_hda_core snd_seq_device ghash_clmulni_intel r8125(OE) mac80211 btrtl mc sha512_ssse3 snd_hwdep aesni_intel btintel r8169 snd_pcm libarc4 btbcm realtek crypto_simd btmtk cryptd snd_timer vfat mdio_devres snd sp5100_tco cfg80211 bluetooth fat rapl raid0 wmi_bmof gigabyte_wmi acpi_cpufreq pcspkr k10temp i2c_piix4 libphy ccp soundcore ecdh_generic rfkill gpio_amdpt md_mod gpio_generic mousedev joydev apple_mfi_fastcharge mac_hid i2c_dev crypto_user fuse loop dm_mod ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 uas usb_storage usbhid amdgpu i2c_algo_bit drm_ttm_helper ttm video drm_exec drm_suballoc_helper amdxcp drm_buddy nvme gpu_sched drm_display_helper crc32c_intel nvme_core xhci_pci cec nvme_common xhci_pci_renesas
[ 10.351087] RIP: 0010:rtw89_pci_ops_mac_pre_init+0xe/0x20 [rtw89pci]
if no - here is full dmesg output
dmesg.txt
PS: i'm assume it's a built in driver, bc i removed dkms and run in ur repo sudo make uninstall
and then sudo pacman -Suy linux linux-headers
for full reinstall kernel
Dude, just sorry me, please. This is was buggy other dkms. When i removed it, all became good. And big thanks you for your response, idk how much time it would have taken to get there myself.
No problem. The stuff that mattered from your dmesg was this:
[ 11.851825] BUG: unable to handle page fault for address: 0000000100000001
[ 11.851858] #PF: supervisor read access in kernel mode
[ 11.851879] #PF: error_code(0x0000) - not-present page
[ 11.851900] PGD 0 P4D 0
[ 11.851915] Oops: 0000 [#1] PREEMPT SMP NOPTI
[ 11.851935] CPU: 11 PID: 413 Comm: (udev-worker) Tainted: G OE 6.6.1-arch1-1 #1 be166a630cd909acf8820643140e9106c6ea80e6
[ 11.851979] Hardware name: Gigabyte Technology Co., Ltd. B550I AORUS PRO AX/B550I AORUS PRO AX, BIOS FCc 09/20/2023
[ 11.852016] RIP: 0010:rtw89_pci_ops_mac_pre_init+0xe/0x20 [rtw89pci]
[ 11.852049] Code: Unable to access opcode bytes at 0xffffffffc1847ff4.
[ 11.852075] RSP: 0018:ffffc900016d39d0 EFLAGS: 00010282
[ 11.852098] RAX: 0000000100000001 RBX: ffff8881071020a0 RCX: ffffc90003b01700
[ 11.852125] RDX: 0000000000010008 RSI: ffffc90003b01700 RDI: ffff8881071020a0
[ 11.852153] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 11.852181] R10: 0000000000000001 R11: 0000000000000100 R12: 0000000000000000
[ 11.852209] R13: ffff888101ced000 R14: 00000000000000ff R15: 00000000000000ff
[ 11.852237] FS: 00007f1f677d1480(0000) GS:ffff888ffecc0000(0000) knlGS:0000000000000000
[ 11.852268] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 11.852291] CR2: ffffffffc1847ff4 CR3: 00000001269a4000 CR4: 0000000000f50ee0
[ 11.852320] PKRU: 55555554
[ 11.852334] Call Trace:
[ 11.852347]
Obviously, that other dkms was the problem. Glad it it working for you now.
Specs:
Linux server 6.6.1-arch1-1
gygabyte aorus pro ax b550i 1.3
realtek 8852ce
off
What was done:
And i see nothing after rebooting, not errors, not adding wifi to the dm ui.
Some additional information
Also after installing this driver i cannot normally reboot, stucked at
unable to unmount /oldroot
same as for this dude https://github.com/lwfinger/rtw89/issues/2#issuecomment-861106183Feel free to ask me provide more information if needed.