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.

[参考译文] AM62L:在使用 Linux 6.12.24 的 AM62L3 上的 USB 连接器探头期间、__pi_strcmp 中出现内核紧急(数据中止)

Guru**** 2578945 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1575512/am62l-kernel-panic-data-abort-in-__pi_strcmp-during-usb-connector-probe-on-am62l3-with-linux-6-12-24

器件型号:AM62L


工具/软件:

大家好、TI 社区和支持团队、
   在运行定制的 Linux 6.12.24 内核时、Texas Instruments AM62L3 评估模块启动期间遇到内核错误。 在探测 USB 连接器时、尤其是在稳压器查找过程中、系统会以一定的可能性崩溃。

错误日志摘要:

内核日志中的关键错误是:

[    1.512221] Unable to handle kernel paging request at virtual address 006574206d726177
[    1.520239] Mem abort info:
[    1.523024]   ESR = 0x0000000096000004
...
[    1.564947] [006574206d726177] address between user and kernel address ranges
[    1.572080] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
...
[    1.609710] pc : __pi_strcmp+0x98/0x140
[    1.613541] lr : regulator_match+0x24/0x68
...
[    1.692195] Call trace:
[    1.694630]  __pi_strcmp+0x98/0x140
[    1.698111]  class_find_device+0x104/0x140
[    1.702201]  regulator_dev_lookup+0x160/0x1e0
[    1.706551]  _regulator_get+0x30/0x8c
[    1.710205]  _devm_regulator_get+0x58/0xa0
[    1.714294]  devm_regulator_get_optional+0x14/0x20
[    1.719074]  usb_conn_probe+0xf8/0x374

环境详细信息:

SOC:Texas Instruments AM62L3

硬件:AM62L3 评估模块

内核版本:6.12.24-ge54772038d21-dirty(自定义构建)

工具链:BuildRoot 2024.11.3 (aarch64-buildroot-linux-gnu-gcc 13.3.0)  它是使用官方提供的 BuildRoot 编译的。

e2e.ti.com/.../4011._B065FA5E87652C6787656368_.txt

内核的完整引导信息如上面的文件中所示。

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

    您好、

    运行自定义构建的 Linux 6.12.24 内核时。

    您对此自定义内核构建进行了哪些更改?

    探测 USB 连接器时、

    请描述此“探究“的详细信息?