On Fedora 36, kernel 5.17.15 and 5.18.4 (koji) the tp-link usb wifi adapter is not working. The diode does not light up and no wifi devices are reported. Downgrading to 5.17.14 solves the problem. Thanks!
Hi Sammy, Could you please provide the dmesg log (5.18.4) and model number of tp-link wifi NIC? The dmesg log can be found using the following command #dmesg > /tmp/dmesg-5.18.4.log Thank you
Hi, the model is TP-Link Nano USB Wifi Dongle 150Mbps High Gain Wireless Network Adapter (TL-WN722N). I will send the dmesg when I go home this afternoon.
That should be the 8188eu driver, and the only change for that driver in 5.17.15 was: staging-r8188eu-add-check-for-kzalloc.patch I am curious if the patch is dependent on something else that was not backported, or if the patch itself is problematic. Can you give kernel-5.19.0-0.rc2.21.fc37 a try and see if the adapter works?
I see another patch "staging: r8188eu: fix struct rt_firmware_hdr" I am not sure this is part of kzalloc patch or not. I will test those when I go home.
(In reply to Sammy from comment #4) > I see another patch "staging: r8188eu: fix struct rt_firmware_hdr" I am not > sure this is part of kzalloc patch or not. > I will test those when I go home. That one is in 5.18.4, but not in 5.17.15. If 5.17.15 is failing for you as the first comment mentioned, we can rule out that patch.
Created attachment 1890783 [details] dmesg 5.18.5
Tested again with 5.17.14 and it works fine. It does not work with 5.18.5-200 and 5.19.0-0.rc2.21.fc37. I manually loaded the module "modprobe r8188eu" with these and it did not work despite.
Hi Sammy, I found an error from the dmesg log. [ 6.173809] r8188eu 1-10.2:1.0: _rtw_init_xmit_priv failed The driver tried to claim memory space using kzalloc and vzalloc but failed. I had reverted the patch "staging: r8188eu: add check for kzalloc". Once koji build is completed, I'll post the koji link to you and you could download and try this build and share the result with us. Thank you :)
The packages can be found here https://koji.fedoraproject.org/koji/taskinfo?taskID=88348838 You could follow the steps shown in the following URL to install this build. https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt
Yes, it works with the bz kernel. Thanks!
kernel-5.18.5-200.bz2097526.fc36.x86_64 has got my TP-Link TL-WN725N (Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter) working again.
I am glad that it is working, but 5.18.5 is literally a very small set of patches to deal with an x86 security issue, and should not have had any noticeable impact here. I am going to keep this open until we either have multiple people confirm that it is somehow working again, or we come to a proper fix.
(In reply to Justin M. Forbes from comment #12) > I am glad that it is working, but 5.18.5 is literally a very small set of > patches to deal with an x86 security issue, and should not have had any > noticeable impact here. I am going to keep this open until we either have > multiple people confirm that it is somehow working again, or we come to a > proper fix. commit 8ae7bf782eacad803f752c83a183393b0a67127b (staging: r8188eu: add check for kzalloc) is a small fix for Null pointer check. I reverted it and it works. I would validate it again and also fix it upstream.
I can also confirm that version 5.18.5-200.bz2097526.fc36.x86_64 has fixed my Asus USB-N10 Nano (Bus 002 Device 002: ID 0b05:18f0 ASUSTek Computer, Inc. Realtek 8188EUS [USB-N10 Nano])
*** Bug 2099341 has been marked as a duplicate of this bug. ***
It appears that a proper upstream fix for this is included in 5.18.6 when it ships.
*** Bug 2100196 has been marked as a duplicate of this bug. ***
5.8.6 koji kernel works!
5.18.6
The packages 5.18.5-200.bz2097526.fc36.x86_64 fixed the problem here also.
FEDORA-2022-171766e457 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-171766e457
FEDORA-2022-52d458c85a has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-52d458c85a
My TP-Link TL-WN725N works out of the box again with kernel-5.18.6-200.fc36.x86_64.
FEDORA-2022-52d458c85a has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-52d458c85a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-52d458c85a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-171766e457 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-171766e457` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-171766e457 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
*** Bug 2098368 has been marked as a duplicate of this bug. ***
FEDORA-2022-52d458c85a has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-171766e457 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
kernel 5.18.6-100.fc35 r8188eu works for me. :)