LS1028A : irq_affinity_hint_proc_show error issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1028A : irq_affinity_hint_proc_show error issue

1,913 次查看
pjw
Contributor II

Hi. I'm developing a board using ls1028a. And testing Ethernet on the LS1028ARDB EVM board.

 

It was confirmed that errors occurred and the board did not work when the test was conducted according to the process below.

 

1. Enable Ethernet eno0 or eno2 use command 'ifconfig'

$ ifconfig eno0 up

 

2. change directory '/proc/irq/

$ cd /proc/irq/

 

3. Check the interrupt directory with the 'find' command

$ find . -name eno0*

./109/eno0-rxtx0
./110/eno0-rxtx1

$ cd ./109/

 

4. Read the 'affinity_hint' of the directory as a 'cat' command

$ cat affinity_hint

 

5. When read as a 'cat' command, an error occurs. Even if an error does not occur immediately, an error occurs when performing 'ifconfig eno0 up down'.

 

The log file for the content was attached. It was confirmed that an error occurred every time the above operation was performed. When this state comes, the board must be rebooted to be used.

Please check the above matters.

 

 

 

标记 (2)
0 项奖励
回复
2 回复数

1,901 次查看
yipingwang
NXP TechSupport
NXP TechSupport

I found similar problem as you with LSDK 2108 prebuilt image lsdk2108_yocto_tiny_LS_arm64.itb, please refer to my following procedure.

root@TinyLinux:~# cd /proc/irq
root@TinyLinux:/proc/irq# ifconfig eno0 up
[ 49.995011] fsl_enetc 0000:00:00.0 eno0: PHY [0000:00:00.0:02] driver [Qualcomm Atheros AR80 31/AR8033] (irq=POLL)
[ 50.007521] fsl_enetc 0000:00:00.0 eno0: configuring for inband/sgmii link mode
root@TinyLinux:/proc/irq# find . -name eno0*
./121/eno0-rxtx0
./122/eno0-rxtx1
root@TinyLinux:/proc/irq# cd 121/
root@TinyLinux:/proc/irq/121# cat affinity_hint
[ 80.035915] Unable to handle kernel paging request at virtual address ffff8000153f3ab0
[ 80.043870] Mem abort info:
[ 80.046665] ESR = 0x96000007
[ 80.049724] EC = 0x25: DABT (current EL), IL = 32 bits
[ 80.055050] SET = 0, FnV = 0
[ 80.058107] EA = 0, S1PTW = 0
[ 80.061252] Data abort info:
[ 80.064135] ISV = 0, ISS = 0x00000007
[ 80.067977] CM = 0, WnR = 0
[ 80.070949] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000085e3a000
[ 80.077669] [ffff8000153f3ab0] pgd=0000002080010003, p4d=0000002080010003, pud=0000002080011 003, pmd=00000020a62be003, pte=0000000000000000
[ 80.090243] Internal error: Oops: 96000007 [#1] PREEMPT SMP
[ 80.095830] Modules linked in:
[ 80.098893] CPU: 0 PID: 435 Comm: cat Not tainted 5.10.35-00013-g30ccdc0882aa #1
[ 80.106311] Hardware name: LS1028A RDB Board (DT)
[ 80.111028] pstate: a0000085 (NzCv daIf -PAN -UAO -TCO BTYPE=--)
[ 80.117059] pc : irq_affinity_hint_proc_show+0x50/0xb0
[ 80.122212] lr : irq_affinity_hint_proc_show+0x44/0xb0
[ 80.127362] sp : ffff800015363c40
[ 80.130681] x29: ffff800015363c40 x28: 0000000000000001
[ 80.136010] x27: 0000000000000000 x26: 0000000000400cc0
[ 80.141339] x25: ffff4a41a605e740 x24: ffff4a41a605e730
[ 80.146667] x23: 0000000000000000 x22: ffff4a41a4b4a0ac
[ 80.151995] x21: ffff4a41a4b4a000 x20: ffff4a41a605e708
[ 80.157323] x19: ffff4a41a607a040 x18: 0000000000000002
[ 80.162651] x17: 0000000000000000 x16: 0000000000000000
[ 80.167979] x15: 0000000000000001 x14: 0000000000054e66
[ 80.173306] x13: 0000000000000000 x12: 0000000000000000
[ 80.178634] x11: 0000000000000040 x10: ffffa27471753408
[ 80.183962] x9 : ffffa27471753400 x8 : ffff4a41804104a8
[ 80.189290] x7 : 0000000000000000 x6 : 0000000000000000
[ 80.194618] x5 : ffff4a4180410480 x4 : 0000000000000000
[ 80.199946] x3 : ffff4a41a4b4a0ac x2 : ffff8000153f3ab0
[ 80.205274] x1 : 0000000000000000 x0 : 0000000000000000
[ 80.210602] Call trace:
[ 80.213051] irq_affinity_hint_proc_show+0x50/0xb0
[ 80.217856] seq_read_iter+0x258/0x460
[ 80.221614] proc_reg_read_iter+0x90/0xd0
[ 80.225633] new_sync_read+0xe8/0x188
[ 80.229303] vfs_read+0x148/0x1d8
[ 80.232623] ksys_read+0x6c/0x100
[ 80.235943] __arm64_sys_read+0x1c/0x28
[ 80.239789] el0_svc_common.constprop.0+0x78/0x1a0
[ 80.244592] do_el0_svc+0x24/0x90
[ 80.247913] el0_svc+0x14/0x20
[ 80.250972] el0_sync_handler+0xb0/0xb8
[ 80.254816] el0_sync+0x178/0x180
[ 80.258139] Code: 944be7aa f94062a2 aa0003e1 b4000062 (f9400040)
[ 80.264251] ---[ end trace c892726aa30e5a15 ]---
[ 80.268879] note: cat[435] exited with preempt_count 1
Segmentation fault

I will report this issue to LSDK development team.

0 项奖励
回复

1,867 次查看
yipingwang
NXP TechSupport
NXP TechSupport
0 项奖励
回复