Created attachment 276903 [details] kernel panic log Hello, it appears that the Linux 4.17 kernels are getting kernel panic whenever I am plugging my wifi dongle - TP-Link TL-WN722N v2, shortly after "R8188EU: assoc success" message in dmesg. That device is supported by the Linux kernel starting v4.13-rc2 https://github.com/torvalds/linux/commit/5a1d4c5dd4eb2f1f8a9b30e61762f3b3b564df70 I have never experienced this bug on the kernels up to 4.16.15 (including). Please see the kernel panic log is attached as a screenshot. Since I can reproduce it, please let me know if you need the whole log and please let me know how can I save it, since "dmesg -T -w | tee bug.log" running along with the "while true; do sleep 0.1; sync; done" did not really help, the "bug.log" just ended with the "R8188EU: assoc success" message. keywords: events_unbound call_usermodehelper_exec_work, BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 Thanks, Kind regards, Andrey Arapov
4.17.9 from https://www.kernel.org has the same issue. I am pretty sure the whole 4.17 line has it. As long as my wifi dongle boots up or when I am trying to re/connect to a WiFi, the kernel would just panic.
Some people say that this is a WiFi driver issue and that building it from source might help. I will try it and will reply here. - https://ask.fedoraproject.org/en/question/123443/kernel-417-wifi-usb-restarts/?answer=123829#post-id-123829 - https://github.com/quickreflex/rtl8188eus
So I have tried the 4.17.9 with https://github.com/lwfinger/rtl8188eu.git and it looks like it is working. I will report in here in case if I will see the problem with it. # modprobe -r r8188eu # echo 'blacklist r8188eu' | tee /etc/modprobe.d/50-8188eu.conf # git clone https://github.com/lwfinger/rtl8188eu.git # dkms add ./rtl8188eu # dkms install 8188eu/1.0 # modprobe 8188eu P.S. The https://github.com/quickreflex/rtl8188eus - did not work for me. My wifi dongle did not show the light at all.