This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM623:RCU:INFO:RCU_PREEMPT 检测到 CPU /任务停止

Guru**** 2481465 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1456263/am623-rcu-info-rcu_preempt-detected-stalls-on-cpus-tasks

器件型号:AM623

工具与软件:

您好、TI 专家!  

我有 AM6234的开发环境、其中包含我们自己的评估板。

软件 SDK 版本是 SDK-AM62X-08.06.00.42 PROCESSOR-SDK-LINUX-RT。

最近、我们发现重置4G 模块、可能会导致系统冻结。

今天,当我挂机,没有插上4G 模块,我让它自己运行,发现它运行死了。

调度程序会自动崩溃、如以下日志所示:

[ 8942.705521] task:network_daemon  state:D stack:    0 pid:  475 ppid:   436 flags:0x00000004
[ 8942.705547] Call trace:
[ 8942.705553]  __switch_to+0x104/0x178
[ 8942.705584]  __schedule+0x48c/0xc30
[ 8942.705614]  preempt_schedule_lock+0x44/0x98
[ 8942.705646]  rt_spin_lock_slowlock_locked+0x1a4/0x410
[ 8942.705671]  rt_spin_lock_slowlock+0xac/0xf0
[ 8942.705693]  rt_spin_lock+0x8c/0xa8
[ 8942.705718]  lru_cache_add+0xbc/0x380
[ 8942.705746]  shmem_getpage_gfp.isra.0+0x4d0/0x978
[ 8942.705773]  shmem_write_begin+0x80/0xc8
[ 8942.705797]  generic_perform_write+0x144/0x2a8
[ 8942.705835]  __generic_file_write_iter+0x1b0/0x260
[ 8942.705860]  generic_file_write_iter+0x8c/0x168
[ 8942.705884]  new_sync_write+0x1cc/0x2d0
[ 8942.705913]  vfs_write+0x474/0x640
[ 8942.705938]  ksys_write+0xc8/0x180
[ 8942.705965]  __arm64_sys_write+0x44/0x58
[ 8942.705993]  el0_svc_common.constprop.0+0xac/0x260
[ 8942.706031]  do_el0_svc+0x38/0xb0
[ 8942.706060]  el0_svc+0x1c/0x28
[ 8942.706085]  el0_sync_handler+0xb0/0xb8
[ 8942.706118]  el0_sync+0x180/0x1c0
[ 8942.706154] INFO: task network_daemon:962 blocked for more than 120 seconds.
[ 8942.706168]       Not tainted 5.10.168-rt83-00019-g1e7cc1bccf5e #1
[ 8942.706182] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

完整的测试记录如下:

e2e.ti.com/.../7043.test_5F00_log.txt

如何解决这一问题?

此致、

Li

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    快速看一下,它缝合了4G 模块的设备驱动程序的问题可能是它使用 splinlock 的方式,基于我的设备 wwan0不工作。

    驱动器是否已处于上游状态? 它是否已成功通过某些 Linux 版本、PREMPT_RT 和某些主机处理器运行?

     Pekka