Skip to content

Instantly share code, notes, and snippets.

@wolfeidau
Last active June 20, 2024 11:12
Show Gist options
  • Save wolfeidau/1f31ab9a6c43339ea530e4cc6b31aa25 to your computer and use it in GitHub Desktop.
Save wolfeidau/1f31ab9a6c43339ea530e4cc6b31aa25 to your computer and use it in GitHub Desktop.
cc33xx is a bit crashy
[ 15.937354] ------------[ cut here ]------------
[ 15.937377] memcpy: detected field-spanning write (size 3) of single field "passive" at drivers/net/wireless/ti/cc33xx/scan.c:48 (size 2)
[ 15.937472] WARNING: CPU: 2 PID: 655 at drivers/net/wireless/ti/cc33xx/scan.c:48 cc33xx_adjust_channels+0x1a4/0x1e0 [cc33xx]
[ 15.937526] Modules linked in: stp llc cc33xx mac80211 rpmsg_ctrl rpmsg_char virtio_rpmsg_bus rpmsg_ns libarc4 algif_aead snd_soc_simple_card snd_soc_simple_card_utils crct10dif_ce cc33xx_sdio pvrsrvkm(O) pwm_fan cpufreq_dt e5010_jpeg_enc at24 rti_wdt ti_k3_r5_remoteproc snd_soc_davinci_mcasp snd_soc_ti_udma wave5 videobuf2_dma_contig v4l2_mem2mem snd_soc_ti_edma videobuf2_memops snd_soc_hdmi_codec snd_soc_ti_sdma videobuf2_v4l2 ti_k3_dsp_remoteproc snd_soc_core videobuf2_common btti_uart videodev ti_k3_common bluetooth cfg80211 snd_pcm_dmaengine mc snd_pcm snd_timer snd uio_pdrv_genirq uio loop dm_mod efi_pstore
[ 15.937690] CPU: 2 PID: 655 Comm: iwd Tainted: G O 6.1.80-ti-arm64-r57 #1bookworm
[ 15.937700] Hardware name: BeagleBoard.org BeagleY-AI (DT)
[ 15.937706] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 15.937714] pc : cc33xx_adjust_channels+0x1a4/0x1e0 [cc33xx]
[ 15.937742] lr : cc33xx_adjust_channels+0x1a4/0x1e0 [cc33xx]
[ 15.937768] sp : ffff80000abeb4c0
[ 15.937772] x29: ffff80000abeb4c0 x28: 0000000000000000 x27: ffff800001771df8
[ 15.937786] x26: ffff00080494c9d8 x25: ffff0008045ab20e x24: ffff0008045ab212
[ 15.937798] x23: ffff0008045ab210 x22: ffff800001772000 x21: ffff0008045ab29d
[ 15.937811] x20: ffff00080657c400 x19: ffff0008045ab213 x18: ffffffffffffffff
[ 15.937824] x17: 2220646c65696620 x16: 656c676e69732066 x15: 6f20293320657a69
[ 15.937837] x14: 7328206574697277 x13: 293220657a697328 x12: 2038343a632e6e61
[ 15.937849] x11: 00000000ffffefff x10: ffff800009d73ec8 x9 : ffff80000811bdf8
[ 15.937862] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000057fa8
[ 15.937874] x5 : ffff00084775aa90 x4 : 0000000000000000 x3 : 0000000000000027
[ 15.937886] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000806e5b000
[ 15.937899] Call trace:
[ 15.937905] cc33xx_adjust_channels+0x1a4/0x1e0 [cc33xx]
[ 15.937933] cc33xx_scan_send+0xfc/0x2cc [cc33xx]
[ 15.937959] wlcore_scan+0x98/0x124 [cc33xx]
[ 15.937985] cc33xx_op_hw_scan+0xe0/0x114 [cc33xx]
[ 15.938011] drv_hw_scan+0x4c/0x1bc [mac80211]
[ 15.938107] __ieee80211_start_scan+0x22c/0x704 [mac80211]
[ 15.938171] ieee80211_request_scan+0x40/0x6c [mac80211]
[ 15.938235] ieee80211_scan+0x70/0x100 [mac80211]
[ 15.938300] rdev_scan+0x38/0x150 [cfg80211]
[ 15.938402] cfg80211_scan+0x138/0x170 [cfg80211]
[ 15.938459] nl80211_trigger_scan+0x384/0x684 [cfg80211]
[ 15.938518] genl_family_rcv_msg_doit+0xe4/0x154
[ 15.938535] genl_rcv_msg+0x130/0x264
[ 15.938543] netlink_rcv_skb+0x64/0x130
[ 15.938551] genl_rcv+0x40/0x5c
[ 15.938559] netlink_unicast+0x300/0x36c
[ 15.938567] netlink_sendmsg+0x1d8/0x450
[ 15.938575] __sock_sendmsg+0x5c/0x6c
[ 15.938586] __sys_sendto+0x110/0x16c
[ 15.938596] __arm64_sys_sendto+0x30/0x40
[ 15.938606] invoke_syscall+0x78/0x100
[ 15.938617] el0_svc_common.constprop.0+0xd4/0xf4
[ 15.938626] do_el0_svc+0x24/0x30
[ 15.938634] el0_svc+0x30/0x120
[ 15.938643] el0t_64_sync_handler+0xf4/0x120
[ 15.938652] el0t_64_sync+0x18c/0x190
[ 15.938662] ---[ end trace 0000000000000000 ]---
[ 15.938672] ------------[ cut here ]------------
[ 15.938676] memcpy: detected field-spanning write (size 3) of single field "active" at drivers/net/wireless/ti/cc33xx/scan.c:49 (size 2)
[ 15.938755] WARNING: CPU: 2 PID: 655 at drivers/net/wireless/ti/cc33xx/scan.c:49 cc33xx_adjust_channels+0x1d0/0x1e0 [cc33xx]
[ 15.938798] Modules linked in: stp llc cc33xx mac80211 rpmsg_ctrl rpmsg_char virtio_rpmsg_bus rpmsg_ns libarc4 algif_aead snd_soc_simple_card snd_soc_simple_card_utils crct10dif_ce cc33xx_sdio pvrsrvkm(O) pwm_fan cpufreq_dt e5010_jpeg_enc at24 rti_wdt ti_k3_r5_remoteproc snd_soc_davinci_mcasp snd_soc_ti_udma wave5 videobuf2_dma_contig v4l2_mem2mem snd_soc_ti_edma videobuf2_memops snd_soc_hdmi_codec snd_soc_ti_sdma videobuf2_v4l2 ti_k3_dsp_remoteproc snd_soc_core videobuf2_common btti_uart videodev ti_k3_common bluetooth cfg80211 snd_pcm_dmaengine mc snd_pcm snd_timer snd uio_pdrv_genirq uio loop dm_mod efi_pstore
[ 15.938949] CPU: 2 PID: 655 Comm: iwd Tainted: G W O 6.1.80-ti-arm64-r57 #1bookworm
[ 15.938959] Hardware name: BeagleBoard.org BeagleY-AI (DT)
[ 15.938964] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 15.938973] pc : cc33xx_adjust_channels+0x1d0/0x1e0 [cc33xx]
[ 15.939001] lr : cc33xx_adjust_channels+0x1d0/0x1e0 [cc33xx]
[ 15.939027] sp : ffff80000abeb4c0
[ 15.939031] x29: ffff80000abeb4c0 x28: 0000000000000000 x27: ffff800001771df8
[ 15.939044] x26: ffff00080657c403 x25: ffff0008045ab20e x24: ffff0008045ab212
[ 15.939057] x23: ffff0008045ab210 x22: ffff8000017721d0 x21: ffff0008045ab29d
[ 15.939070] x20: ffff00080657c400 x19: ffff0008045ab213 x18: ffffffffffffffff
[ 15.939083] x17: 2220646c65696620 x16: 656c676e69732066 x15: 6f20293320657a69
[ 15.939095] x14: 7328206574697277 x13: 293220657a697328 x12: 2039343a632e6e61
[ 15.939108] x11: 00000000ffffefff x10: ffff800009d73ec8 x9 : ffff80000811bdf8
[ 15.939120] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000057fa8
[ 15.939132] x5 : ffff00084775aa90 x4 : 0000000000000000 x3 : 0000000000000027
[ 15.939144] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000806e5b000
[ 15.939157] Call trace:
[ 15.939161] cc33xx_adjust_channels+0x1d0/0x1e0 [cc33xx]
[ 15.939189] cc33xx_scan_send+0xfc/0x2cc [cc33xx]
[ 15.939215] wlcore_scan+0x98/0x124 [cc33xx]
[ 15.939242] cc33xx_op_hw_scan+0xe0/0x114 [cc33xx]
[ 15.939268] drv_hw_scan+0x4c/0x1bc [mac80211]
[ 15.939349] __ieee80211_start_scan+0x22c/0x704 [mac80211]
[ 15.939413] ieee80211_request_scan+0x40/0x6c [mac80211]
[ 15.939476] ieee80211_scan+0x70/0x100 [mac80211]
[ 15.939539] rdev_scan+0x38/0x150 [cfg80211]
[ 15.939602] cfg80211_scan+0x138/0x170 [cfg80211]
[ 15.939658] nl80211_trigger_scan+0x384/0x684 [cfg80211]
[ 15.939715] genl_family_rcv_msg_doit+0xe4/0x154
[ 15.939727] genl_rcv_msg+0x130/0x264
[ 15.939734] netlink_rcv_skb+0x64/0x130
[ 15.939743] genl_rcv+0x40/0x5c
[ 15.939750] netlink_unicast+0x300/0x36c
[ 15.939758] netlink_sendmsg+0x1d8/0x450
[ 15.939766] __sock_sendmsg+0x5c/0x6c
[ 15.939776] __sys_sendto+0x110/0x16c
[ 15.939786] __arm64_sys_sendto+0x30/0x40
[ 15.939796] invoke_syscall+0x78/0x100
[ 15.939806] el0_svc_common.constprop.0+0xd4/0xf4
[ 15.939815] do_el0_svc+0x24/0x30
[ 15.939824] el0_svc+0x30/0x120
[ 15.939832] el0t_64_sync_handler+0xf4/0x120
[ 15.939841] el0t_64_sync+0x18c/0x190
[ 15.939850] ---[ end trace 0000000000000000 ]---
Frequency 2412
Channel 1
Security WPA2-Personal
RSSI -35 dBm
AverageRSSI -36 dBm
RxMode 802.11ax
RxMCS 4
TxMode 802.11ax
TxMCS 7
TxBitrate 73100 Kbit/s
RxBitrate 51600 Kbit/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment