-
Notifications
You must be signed in to change notification settings - Fork 5.2k
USB/8192CU Wifi with stretch: kernel traceback #2230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@P33M Any ideas? |
My initial response would be power-related - Model B rev 2 is much more sensitive than subsequent models of Pi to voltage variations, partly due to the static drop introduced by the polyfuse and partly due to lack of current limiter on the USB ports. If Wheezy is performing correctly, can you try updating the kernel in isolation via |
I did rpi-update on wheezy to 4.9.56+. I don't think it's power related. |
@Chris56 Would it be possible to try the latest kernel (4.14) since this has quite a few changes for RealTek devices? |
I will! |
You can get the latest kernel using rpi-update sudo BRANCH=next rpi-update Note this is bleeding edge stuff - make sure of backups. |
I installed 4.14: Thus, still not working! By default, the rtl8192cu module is blacklisted. |
Please update to the latest kernel which may contain a fix for this issue and report back, otherwise this issue will be closed within 30 days unless further interactions are posted. If you wish this issue to remain open, please add a comment. A closed issue may be reopened if requested. |
Closing due to lack of activity. Please request to be reopened if you feel this issue is still relevant. |
Bus 001 Device 009: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
The hardware is ok, as with raspian wheezy on the same box everything works flawlessly.
With a fresh vanilla stretch raspian install (4.9.41+, Model B Rev 2) kernel shows:
[ 21.917607] ------------[ cut here ]------------
[ 21.918736] WARNING: CPU: 0 PID: 18 at net/wireless/sme.c:948 __cfg80211_disconnected+0x32c/0x378 [cfg80211]
[ 21.918748] Modules linked in: 8192cu hid_logitech_dj cfg80211 rfkill snd_bcm2835 snd_pcm snd_timer snd bcm2835_gpiomem uio_pdrv_genirq uio fixed ip_tables x_tables ipv6
[ 21.918827] CPU: 0 PID: 18 Comm: kworker/0:1 Not tainted 4.9.41+ #1023
[ 21.918833] Hardware name: BCM2835
[ 21.918869] Workqueue: usb_hub_wq hub_event
[ 21.918939] [] (unwind_backtrace) from [] (show_stack+0x20/0x24)
[ 21.918971] [] (show_stack) from [] (dump_stack+0x20/0x28)
[ 21.919001] [] (dump_stack) from [] (__warn+0xe4/0x10c)
[ 21.919024] [] (__warn) from [] (warn_slowpath_null+0x30/0x38)
[ 21.919982] [] (warn_slowpath_null) from [] (__cfg80211_disconnected+0x32c/0x378 [cfg80211])
[ 21.921660] [] (__cfg80211_disconnected [cfg80211]) from [] (cfg80211_process_wdev_events+0x1a4/0x210 [cfg80211])
[ 21.923650] [] (cfg80211_process_wdev_events [cfg80211]) from [] (cfg80211_netdev_notifier_call+0x328/0x574 [cfg80211])
[ 21.924774] [] (cfg80211_netdev_notifier_call [cfg80211]) from [] (notifier_call_chain+0x54/0x94)
[ 21.924815] [] (notifier_call_chain) from [] (raw_notifier_call_chain+0x28/0x30)
[ 21.924844] [] (raw_notifier_call_chain) from [] (call_netdevice_notifiers_info+0x40/0x6c)
[ 21.924875] [] (call_netdevice_notifiers_info) from [] (rollback_registered_many+0x204/0x320)
[ 21.924897] [] (rollback_registered_many) from [] (rollback_registered+0x38/0x50)
[ 21.924922] [] (rollback_registered) from [] (unregister_netdevice_queue+0x64/0xc0)
[ 21.924943] [] (unregister_netdevice_queue) from [] (unregister_netdev+0x28/0x30)
[ 21.925718] [] (unregister_netdev) from [] (rtw_unregister_netdevs+0x54/0x74 [8192cu])
[ 21.926672] [] (rtw_unregister_netdevs [8192cu]) from [] (rtw_dev_remove+0x2c/0x7c [8192cu])
[ 21.927166] [] (rtw_dev_remove [8192cu]) from [] (usb_unbind_interface+0x80/0x288)
[ 21.927198] [] (usb_unbind_interface) from [] (__device_release_driver+0x94/0x118)
[ 21.927220] [] (__device_release_driver) from [] (device_release_driver+0x2c/0x38)
[ 21.927241] [] (device_release_driver) from [] (bus_remove_device+0xe4/0x114)
[ 21.927278] [] (bus_remove_device) from [] (device_del+0x118/0x22c)
[ 21.927301] [] (device_del) from [] (usb_disable_device+0xb0/0x1f4)
[ 21.927334] [] (usb_disable_device) from [] (usb_disconnect+0x7c/0x1fc)
[ 21.927355] [] (usb_disconnect) from [] (usb_disconnect+0x1b4/0x1fc)
[ 21.927378] [] (usb_disconnect) from [] (hub_event+0x594/0x10f4)
[ 21.927403] [] (hub_event) from [] (process_one_work+0x11c/0x398)
[ 21.927424] [] (process_one_work) from [] (worker_thread+0x3c/0x508)
[ 21.927453] [] (worker_thread) from [] (kthread+0xf8/0x114)
[ 21.927486] [] (kthread) from [] (ret_from_fork+0x14/0x2c)
[ 21.927501] ---[ end trace db32b3af32e9c85f ]---
Same with current: 4.9.56+
Once you try to actually use the wifi adapter (e.g. starting wpa_supplicant), it is difficult to use the USB keyboard anymore as most keypresses are being lost. Therefore, the usb bus gets stuck I guess.
Let me know in case additional information will be needed!
BR
Chris
The text was updated successfully, but these errors were encountered: