rtl8189ES_linux
rtl8189ES_linux copied to clipboard
kernel splats on Linux 6.7.0
The following kernel WARNING splats are seen on Linux 6.7.0:
[ 30.551232] ------------[ cut here ]------------
[ 30.551242] WARNING: CPU: 3 PID: 555 at net/wireless/nl80211.c:19298 cfg80211_ch_switch_notify+0x148/0x1a8 [cfg80211]
[ 30.551367] Modules linked in: ir_rc6_decoder ir_nec_decoder 8189es(O) governor_simpleondemand meson_vdec(C) videobuf2_dma_contig videobuf2_memops cfg80211 lima v4l2_mem2mem drm_shmem_helper videobuf2_v4l2 rfkill videobuf2_common meson_ir rtc_meson_vrtc pkcs8_key_parser fuse nfnetlink
[ 30.551495] CPU: 3 PID: 555 Comm: RTW_CMD_THREAD Tainted: G C O 6.7.0 #1
[ 30.551508] Hardware name: Amlogic Meson GXBB P201 Development Board (DT)
[ 30.551518] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 30.551530] pc : cfg80211_ch_switch_notify+0x148/0x1a8 [cfg80211]
[ 30.551612] lr : cfg80211_ch_switch_notify+0x144/0x1a8 [cfg80211]
[ 30.551695] sp : ffff800082ebbc90
[ 30.551704] x29: ffff800082ebbc90 x28: ffff80007a236b28 x27: ffff800082326218
[ 30.551730] x26: 0000000000000001 x25: ffff00000a559700 x24: ffff800082ebbd28
[ 30.551756] x23: 0000000000000000 x22: ffff00000a559000 x21: ffff00000485b000
[ 30.551782] x20: 0000000000000000 x19: ffff00000ffd5800 x18: ffffffffffffffff
[ 30.551807] x17: 163d000000000000 x16: 0000000000000000 x15: ffffffffffffffff
[ 30.551833] x14: 0000000000000000 x13: ffff8000819da308 x12: 00000000000006ba
[ 30.551858] x11: 000000000000023e x10: ffff800081a8a308 x9 : 0000000000000040
[ 30.551883] x8 : ffff00000a5598a8 x7 : ffff00000a5598d8 x6 : 00000000000003e8
[ 30.551909] x5 : ffff00000ffd53e8 x4 : 0000000000000000 x3 : ffff80008171a008
[ 30.551934] x2 : 0000000000000000 x1 : ffff7fffa58d1000 x0 : 0000000000000000
[ 30.551959] Call trace:
[ 30.551968] cfg80211_ch_switch_notify+0x148/0x1a8 [cfg80211]
[ 30.552051] rtw_cfg80211_ch_switch_notify+0xf4/0x138 [8189es]
[ 30.552332] rtw_chk_start_clnt_join+0xec/0x154 [8189es]
[ 30.552517] join_cmd_hdl+0x230/0x358 [8189es]
[ 30.552692] rtw_cmd_thread+0x48c/0x5fc [8189es]
[ 30.552868] kthread+0xfc/0x108
[ 30.552884] ret_from_fork+0x10/0x20
[ 30.552900] ---[ end trace 0000000000000000 ]---
[ 30.553030] ------------[ cut here ]------------
[ 30.553047] WARNING: CPU: 3 PID: 555 at net/wireless/nl80211.c:19306 cfg80211_ch_switch_notify+0x1a0/0x1a8 [cfg80211]
[ 30.553170] Modules linked in: ir_rc6_decoder ir_nec_decoder 8189es(O) governor_simpleondemand meson_vdec(C) videobuf2_dma_contig videobuf2_memops cfg80211 lima v4l2_mem2mem drm_shmem_helper videobuf2_v4l2 rfkill videobuf2_common meson_ir rtc_meson_vrtc pkcs8_key_parser fuse nfnetlink
[ 30.553299] CPU: 3 PID: 555 Comm: RTW_CMD_THREAD Tainted: G WC O 6.7.0 #1
[ 30.553311] Hardware name: Amlogic Meson GXBB P201 Development Board (DT)
[ 30.553322] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 30.553333] pc : cfg80211_ch_switch_notify+0x1a0/0x1a8 [cfg80211]
[ 30.553416] lr : cfg80211_ch_switch_notify+0x144/0x1a8 [cfg80211]
[ 30.553497] sp : ffff800082ebbc90
[ 30.553506] x29: ffff800082ebbc90 x28: ffff80007a236b28 x27: ffff800082326218
[ 30.553532] x26: 0000000000000001 x25: ffff00000a559700 x24: ffff800082ebbd28
[ 30.553558] x23: 0000000000000000 x22: ffff00000a559000 x21: ffff00000485b000
[ 30.553584] x20: 0000000000000000 x19: ffff00000ffd5800 x18: ffffffffffffffff
[ 30.553609] x17: 163d000000000000 x16: 0000000000000000 x15: ffffffffffffffff
[ 30.553634] x14: 0000000000000000 x13: ffff8000819da308 x12: 00000000000006ba
[ 30.553660] x11: 000000000000023e x10: ffff800081a8a308 x9 : 0000000000000040
[ 30.553685] x8 : ffff00000a5598a8 x7 : ffff00000a5598d8 x6 : 00000000000003e8
[ 30.553710] x5 : ffff00000ffd53e8 x4 : 0000000000000000 x3 : ffff80008171a008
[ 30.553735] x2 : 0000000000000000 x1 : ffff7fffa58d1000 x0 : 0000000000000000
[ 30.553761] Call trace:
[ 30.553769] cfg80211_ch_switch_notify+0x1a0/0x1a8 [cfg80211]
[ 30.553852] rtw_cfg80211_ch_switch_notify+0xf4/0x138 [8189es]
[ 30.554142] rtw_chk_start_clnt_join+0xec/0x154 [8189es]
[ 30.554341] join_cmd_hdl+0x230/0x358 [8189es]
[ 30.554530] rtw_cmd_thread+0x48c/0x5fc [8189es]
[ 30.554717] kthread+0xfc/0x108
[ 30.554732] ret_from_fork+0x10/0x20
[ 30.554746] ---[ end trace 0000000000000000 ]---
[ 30.554863] ------------[ cut here ]------------
[ 30.554876] WARNING: CPU: 3 PID: 555 at net/wireless/nl80211.c:3786 nl80211_send_chandef+0x180/0x190 [cfg80211]
[ 30.555006] Modules linked in: ir_rc6_decoder ir_nec_decoder 8189es(O) governor_simpleondemand meson_vdec(C) videobuf2_dma_contig videobuf2_memops cfg80211 lima v4l2_mem2mem drm_shmem_helper videobuf2_v4l2 rfkill videobuf2_common meson_ir rtc_meson_vrtc pkcs8_key_parser fuse nfnetlink
[ 30.555132] CPU: 3 PID: 555 Comm: RTW_CMD_THREAD Tainted: G WC O 6.7.0 #1
[ 30.555144] Hardware name: Amlogic Meson GXBB P201 Development Board (DT)
[ 30.555153] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 30.555165] pc : nl80211_send_chandef+0x180/0x190 [cfg80211]
[ 30.555253] lr : nl80211_send_chandef+0x34/0x190 [cfg80211]
[ 30.555336] sp : ffff800082ebbbd0
[ 30.555344] x29: ffff800082ebbbd0 x28: ffff00000a559000 x27: 0000000000000000
[ 30.555370] x26: ffff00000ffd5800 x25: ffff80007a112230 x24: ffff00001413b014
[ 30.555396] x23: 0000000000000000 x22: ffff800082ebbd28 x21: 0000000000000058
[ 30.555421] x20: ffff00000923a400 x19: ffff800082ebbd28 x18: ffffffffffffffff
[ 30.555447] x17: 163d000000000000 x16: 0000000000000000 x15: ffffffffffffffff
[ 30.555473] x14: 0000000000000000 x13: ffff8000819da308 x12: 00000000000006ba
[ 30.555499] x11: 000000000000023e x10: 0000000000000001 x9 : 0000000000000000
[ 30.555524] x8 : 0000000000000003 x7 : 0000000000000000 x6 : 0000000000000003
[ 30.555549] x5 : 00000000ffffe000 x4 : ffff800082ebbc88 x3 : 000000000000001c
[ 30.555574] x2 : 0000000000000000 x1 : 000000000000098f x0 : 0000000000000000
[ 30.555601] Call trace:
[ 30.555609] nl80211_send_chandef+0x180/0x190 [cfg80211]
[ 30.555697] nl80211_ch_switch_notify.constprop.0+0xd4/0x1fc [cfg80211]
[ 30.555779] cfg80211_ch_switch_notify+0xdc/0x1a8 [cfg80211]
[ 30.555860] rtw_cfg80211_ch_switch_notify+0xf4/0x138 [8189es]
[ 30.556154] rtw_chk_start_clnt_join+0xec/0x154 [8189es]
[ 30.556359] join_cmd_hdl+0x230/0x358 [8189es]
[ 30.556544] rtw_cmd_thread+0x48c/0x5fc [8189es]
[ 30.556727] kthread+0xfc/0x108
[ 30.556743] ret_from_fork+0x10/0x20
[ 30.556758] ---[ end trace 0000000000000000 ]---
@chewitt please test again after the last PR.
@CGarces thanks, I've updated the ES/FS drivers in my private image for testing. I'm only missing Linux 6.7 compile patches for RTL81292DU now.. then I can bump the Amlogic kernel in the LE repo. Any ideas?
Try #105
@CGarces the user reports the splat is still happening with the bumped driver:
[ 25.963412] ------------[ cut here ]------------
[ 25.963422] WARNING: CPU: 1 PID: 566 at net/wireless/nl80211.c:19298 cfg80211_ch_switch_notify+0x148/0x1a8 [cfg80211]
[ 25.963556] Modules linked in: ir_rc6_decoder ir_nec_decoder 8189es(O) meson_vdec(C) videobuf2_dma_contig governor_simpleondemand videobuf2_memops cfg80211 v4l2_mem2mem rfkill lima drm_shmem_helper videobuf2_v4l2 videobuf2_common meson_ir rtc_meson_vrtc pkcs8_key_parser fuse nfnetlink
[ 25.963685] CPU: 1 PID: 566 Comm: RTW_CMD_THREAD Tainted: G C O 6.7.1 #1
[ 25.963698] Hardware name: Amlogic Meson GXBB P201 Development Board (DT)
[ 25.963708] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 25.963719] pc : cfg80211_ch_switch_notify+0x148/0x1a8 [cfg80211]
[ 25.963802] lr : cfg80211_ch_switch_notify+0x144/0x1a8 [cfg80211]
[ 25.963888] sp : ffff800082d13c50
[ 25.963896] x29: ffff800082d13c50 x28: ffff80007a1c5818 x27: ffff8000822fe220
[ 25.963922] x26: 00000000000012e0 x25: ffff00000b234700 x24: ffff800082d13ce8
[ 25.963948] x23: 0000000000000000 x22: ffff00000b234000 x21: ffff000004c9e000
[ 25.963973] x20: 0000000000000000 x19: ffff00000fbf0800 x18: ffffffffffffffff
[ 25.963998] x17: 3a6d756e5f706120 x16: 2c303a6d756e5f61 x15: ffffffffffffffff
[ 25.964023] x14: 0000000000000000 x13: ffff80008197a308 x12: 000000000000074d
[ 25.964048] x11: 000000000000026f x10: ffff800081a2a308 x9 : 0000000000000040
[ 25.964073] x8 : ffff00000b2348a8 x7 : ffff00000b2348d8 x6 : 00000000000003e8
[ 25.964098] x5 : ffff00000fbf03e8 x4 : 0000000000000000 x3 : ffff8000816ba008
[ 25.964123] x2 : 0000000000000000 x1 : ffff7fffa5907000 x0 : 0000000000000000
[ 25.964149] Call trace:
[ 25.964157] cfg80211_ch_switch_notify+0x148/0x1a8 [cfg80211]
[ 25.964248] rtw_cfg80211_ch_switch_notify+0xfc/0x140 [8189es]
[ 25.964563] rtw_chk_start_clnt_join+0x49c/0x4c8 [8189es]
[ 25.964771] join_cmd_hdl+0x230/0x358 [8189es]
[ 25.964978] rtw_cmd_thread+0x48c/0x5fc [8189es]
[ 25.965177] kthread+0xfc/0x108
[ 25.965192] ret_from_fork+0x10/0x20
[ 25.965208] ---[ end trace 0000000000000000 ]---
[ 25.965434] ------------[ cut here ]------------
The full dmesg log is here: https://paste.libreelec.tv/literate-bedbug.log
If the error is reproducible, can you please try this?
https://github.com/jwrdegoede/rtl8189ES_linux/pull/109
@CGarces still splatting with #109 added to the image via local patch https://paste.libreelec.tv/unbiased-cattle.log