主题中讨论的其他器件: DP83620
您好!
我使用的是基于处理器 SDK 8.06.00.042的 am625 hs-FS 定制板。 您有人能建议如何解决以下内核崩溃问题吗?
[ 11.264823] davinci_mDIO 8000f00.mDIO:在手动模式下配置 MDIO
[ 11.304210] Davinci_MDIO 8000f00.MDIO:Davinci MDIO 修订版9.7、总线频率1000000
[ 11.304210] Davinci_MDIO 8000f00.MDIO:Davinci MDIO 修订版9.7、总线频率1000000
[ 11.306196] Davinci_MDIO 8000f00.MDIO:PHY[3]:器件8000f00.MDIO:03、驱动器 TI DP83620 10/100 Mbps PHY
[ 11.306209] davinci_mDIO 8000f00.MDIO:PHY[5]:器件8000f00.MDIO:05、驱动器 TI DP83620 10/100 Mbps PHY
[ 11.306316] am65-cpsw-nuss 8000000.ethernet:初始化 am65 cpsw nuss 版本0x6BA01103、cpsw 版本0x6BA81103端口:3 quirks:00000006
[ 11.306580] am65-cpsw-nuss 8000000.Ethernet:使用随机 MAC 地址
[ 11.306599] am65-cpsw-nuss 8000000.ethernet:初始化 cpsw ale 版本1.5
[ 11.306605] am65-cpsw-nuss 8000000.Ethernet:ALE 表大小512
[ 11.307477] am65-cpsw-nuss 8000000.Ethernet:CPts ver 0x4e8a010c、freq:500000000、add_val:1 pps:0
[ 11.313132] ti-udma 485c0000.dma-控制器:RES#19正在使用
[ 11.313147] am65-cpsw-nuss 8000000.Ethernet:UDMAX rchanx get err -2
[ 11.313154] am65-cpsw-nuss 8000000.ethernet:error -ENOENT:failed to request Rx DMA channel
[ 11.315937]无法处理虚拟地址0000000000000000处的内核 NULL 指针解除引用
[11.336265] printk:控制台[ttyS2]:打印线程已停止
[ 11.412556]内存中止信息:
[ 11.420963] ESR = 0x96000004
[ 11.424008] EC = 0x25:DABT (当前 EL)、IL = 32位
[ 11.429322] SET = 0、FNV = 0
[ 11.432415] EA=0、S1PTW=0
[ 11.435546]数据中止信息:
[ 11.438431] ISV = 0,ISS = 0x00000004
[11.442266] CM = 0、WNR = 0
[ 11.445239][0000000000000000]用户地址,但 ACTIVE_MM 为交换器
[ 11.451596]内部错误:Oops:0000000096000004 [#1] preempt_RT SMP
[ 11.458109]链接的模块:
[11.461158] CPU: 0 PID: 5 Comm: kworker/0:0 not damed 5.10.204-rt100-ge8e4ed6cc2 #1
[ 11.468972]硬件名称:Aurel-v2.010524-01 (DT)
[ 11.473753] workqueue:事件 defended_probe_work_func
[ 11.478896] pstate:60000005 (nZCv daif -PAN -UAO -TCO BTYPE=-)
[11.484888] PC : free_netdev+0xb0/0x188
[11.488721] lr : free_netdev+0xa8/0x188
[11.492548] sp : ff8000115f3b00
[11.495850] x29:ff8000115f3b00 x28:ff8000112e9000
[11.501150] x27:ff00001c69d2b0 x26:ff00001c69d260
[11.506450] x25:ff8000113cc580 x24:ff0000016b2800
[ 11.511749] x23:000000000000001d x22:ff8000115f3b48
[ 11.517048] x21:ff00000164b058 x20:ff00000164b000
[11.522347] x19:ffffffffffffffFE8 x18:000000000002
[ 11.527647] x17:00000000c8778923 x16:00000000e2c44d97
[ 11.532946] x15:00002af5315d4ddc x14:0000000000000118
[ 11.538245] x13:0000000000000001 x12:000000000000
[ 11.543544] x11:000000000000 x10:0000000000000ae0
[11.548843] x9 : ff8000115f3910 x8 : ff0000000cc840
[11.554143] x7 : ff00001c69d9c0 x6 : 000000000004
[11.559442] x5 : ff800011376dc0 x4 : 0000000000000000
[11.564741] x3:ff800011376da8 x2:000000000000
[ 11.570039] x1 : 000000000000 x0 : ffffffffffffft8
[ 11.575340]呼叫跟踪:
[ 11.577776] free_netdev+0xb0/0x188
[ 11.581257] devm_free_netdev+0x14/0x20
[ 11.585082] release_nodes.isra.0+0x1a8/0x228
[ 11.589432] DevRes_release_all+0x34/0x60
[ 11.593430] REALY_PROBE+0x240/0x400
[ 11.597084] driver_probe_device+0x58/0xf0
[ 11.601171]__device_attach_driver+0xb8/0xe0
[ 11.605517] bus_for_each_drv+0x7c/0xd8
[ 11.609343]_DEVICE_ATIAT+0x104/0x198
[ 11.613257] DEVICE_INITIAL_PROB+0x14/0x20
[ 11.617429] BUS_PROTE_DEVICE+0x9C/0xa8
[ 11.621254] Defered_probe_work_func+0x88/0xc0
[ 11.625773] PROCESSOR_ONE_WORK+0x1bc/0x358
[11.629778] worker_thread+0x1f8/0x440
[ 11.633519] kthree+0x174/0x198
[ 11.636741] RET_FROM_FOK+ 0x10/0x30
[11.640312] Code : 97ff92 97fff493 91056261 aa1303e0 (f940ae73)
[ 11.646394 ]-->结束迹线000000000002 ]--
在调试这个问题时,我发现内核源代码 i.e,/driver/net/ethernet/ti/am65-cpsw-nuss.c 中的驱动程序文件导致了这个问题,但库无法解决这个问题。
此致、
NagaPrasad