Other Parts Discussed in Thread: DP83620
Hi,
i am using am625 hs-fs custom board based on processor sdk 8.06.00.042. could you any one suggest how to resolve the following kernel crash issue,
[ 11.264823] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
[ 11.304210] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 11.304210] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 11.306196] davinci_mdio 8000f00.mdio: phy[3]: device 8000f00.mdio:03, driver TI DP83620 10/100 Mbps PHY
[ 11.306209] davinci_mdio 8000f00.mdio: phy[5]: device 8000f00.mdio:05, driver TI DP83620 10/100 Mbps PHY
[ 11.306316] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
[ 11.306580] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
[ 11.306599] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
[ 11.306605] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[ 11.307477] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
[ 11.313132] ti-udma 485c0000.dma-controller: res##19 is in use
[ 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] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[ 11.336265] printk: console [ttyS2]: printing thread stopped
[ 11.412556] Mem abort info:
[ 11.420963] ESR = 0x96000004
[ 11.424008] EC = 0x25: DABT (current EL), IL = 32 bits
[ 11.429322] SET = 0, FnV = 0
[ 11.432415] EA = 0, S1PTW = 0
[ 11.435546] Data abort info:
[ 11.438431] ISV = 0, ISS = 0x00000004
[ 11.442266] CM = 0, WnR = 0
[ 11.445239] [0000000000000000] user address but active_mm is swapper
[ 11.451596] Internal error: Oops: 0000000096000004 [#1] PREEMPT_RT SMP
[ 11.458109] Modules linked in:
[ 11.461158] CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.10.204-rt100-ge8e4ed6cc2 #1
[ 11.468972] Hardware name: Aurel-v2.010524-01 (DT)
[ 11.473753] Workqueue: events deferred_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 : ffff8000115f3b00
[ 11.495850] x29: ffff8000115f3b00 x28: ffff8000112e9000
[ 11.501150] x27: ffff00001c69d2b0 x26: ffff00001c69d260
[ 11.506450] x25: ffff8000113cc580 x24: ffff0000016b2800
[ 11.511749] x23: 000000000000001d x22: ffff8000115f3b48
[ 11.517048] x21: ffff00000164b058 x20: ffff00000164b000
[ 11.522347] x19: fffffffffffffea8 x18: 0000000000000002
[ 11.527647] x17: 00000000c8778923 x16: 00000000e2c44d97
[ 11.532946] x15: 00002af5315d4ddc x14: 0000000000000118
[ 11.538245] x13: 0000000000000001 x12: 0000000000000000
[ 11.543544] x11: 0000000000000000 x10: 0000000000000ae0
[ 11.548843] x9 : ffff8000115f3910 x8 : ffff0000000cc840
[ 11.554143] x7 : ffff00001c69d9c0 x6 : 0000000000000004
[ 11.559442] x5 : ffff800011376dc0 x4 : 0000000000000000
[ 11.564741] x3 : ffff800011376da8 x2 : 0000000000000000
[ 11.570039] x1 : 0000000000000000 x0 : fffffffffffffea8
[ 11.575340] Call trace:
[ 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] really_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_attach+0x104/0x198
[ 11.613257] device_initial_probe+0x14/0x20
[ 11.617429] bus_probe_device+0x9c/0xa8
[ 11.621254] deferred_probe_work_func+0x88/0xc0
[ 11.625773] process_one_work+0x1bc/0x358
[ 11.629778] worker_thread+0x1f8/0x440
[ 11.633519] kthread+0x174/0x198
[ 11.636741] ret_from_fork+0x10/0x30
[ 11.640312] Code: 97ffff92 97fff493 91056261 aa1303e0 (f940ae73)
[ 11.646394] ---[ end trace 0000000000000002 ]---
while debugging the issue, i found that the driver file in kernel source i.e, /driver/net/ethernet/ti/am65-cpsw-nuss.c causing the issue but coun't able to address the solution.
Regards,
NagaPrasad