imx6sx linux 4.9.189 app exit abnormally

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6sx linux 4.9.189 app exit abnormally

603 Views
shjngo1
Contributor I

[ 98.679145] ------------[ cut here ]------------
[ 98.683803] WARNING: CPU: 0 PID: 1455 at /usr/src/kernel/drivers/tty/tty_ldisc.c:470 tty_ldisc_open+0x68/0x74
[ 98.793255] Modules linked in: imx_rpmsg_tty evbug
[ 98.810865] CPU: 0 PID: 1455 Comm: Eagle_Main Not tainted 4.9.189+g919fe9f #1
[ 98.818009] Hardware name: Freescale i.MX6 SoloX (Device Tree)
[ 98.823874] [<8010f388>] (unwind_backtrace) from [<8010b068>] (show_stack+0x10/0x14)
[ 98.831638] [<8010b068>] (show_stack) from [<8045c540>] (dump_stack+0x98/0xc4)
[ 98.838878] [<8045c540>] (dump_stack) from [<8013047c>] (__warn+0xe8/0x100)
[ 98.845855] [<8013047c>] (__warn) from [<80130544>] (warn_slowpath_null+0x20/0x28)
[ 98.853441] [<80130544>] (warn_slowpath_null) from [<80543b68>] (tty_ldisc_open+0x68/0x74)
[ 98.861719] [<80543b68>] (tty_ldisc_open) from [<80544038>] (tty_ldisc_setup+0x14/0x54)
[ 98.869734] [<80544038>] (tty_ldisc_setup) from [<8053de4c>] (tty_init_dev+0xa4/0x1c0)
[ 98.877661] [<8053de4c>] (tty_init_dev) from [<8053e3b4>] (tty_open+0x44c/0x688)
[ 98.885073] [<8053e3b4>] (tty_open) from [<80239bdc>] (chrdev_open+0x9c/0x18c)
[ 98.892314] [<80239bdc>] (chrdev_open) from [<802326e0>] (do_dentry_open+0x20c/0x370)
[ 98.900158] [<802326e0>] (do_dentry_open) from [<80244818>] (path_openat+0x648/0xd74)
[ 98.908000] [<80244818>] (path_openat) from [<802462dc>] (do_filp_open+0x60/0xc4)
[ 98.915494] [<802462dc>] (do_filp_open) from [<80233d10>] (do_sys_open+0x160/0x1e0)
[ 98.923166] [<80233d10>] (do_sys_open) from [<801078a0>] (__sys_trace_return+0x0/0x10)
[ 99.730984] ---[ end trace 589a4b81dad98619 ]---
[ 99.760997] Alignment trap: not handling instruction e1921f9f at [<8017bd0c>]
[ 99.768154] Unhandled fault: alignment exception (0x001) at 0x1d8c1e8f
[ 99.774688] pgd = 906ac000
[ 99.777399] [1d8c1e8f] *pgd=00000000
[ 99.780999] Internal error: : 1 [#1] PREEMPT SMP ARM
[ 99.785968] Modules linked in: imx_rpmsg_tty evbug
[ 99.790816] CPU: 0 PID: 1455 Comm: Eagle_Main Tainted: G W 4.9.189+g919fe9f #1
[ 99.799170] Hardware name: Freescale i.MX6 SoloX (Device Tree)
[ 99.805007] task: 95080f80 task.stack: 90570000
[ 99.809553] PC is at __lock_acquire+0x98/0x1d20
[ 99.814090] LR is at 0x1
[ 99.816629] pc : [<8017bd10>] lr : [<00000001>] psr: 20000093
[ 99.816629] sp : 90571c78 ip : 90570000 fp : 95080f80
[ 99.828109] r10: 00000001 r9 : 00000000 r8 : 00000000
[ 99.833338] r7 : 81848318 r6 : 8102b538 r5 : 00000000 r4 : ffffe000
[ 99.839869] r3 : 906cb34c r2 : 1d8c1e8f r1 : 00000000 r0 : 1d8c1d8b
[ 99.846401] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none
[ 99.853628] Control: 10c53c7d Table: 906ac04a DAC: 00000051
[ 99.859378] Process Eagle_Main (pid: 1455, stack limit = 0x90570210)
[ 99.865735] Stack: (0x90571c78 to 0x90572000)
[ 99.870098] 1c60: 9523c780 801f3fe8
[ 99.878283] 1c80: 00000000 00000000 950814f8 950814f8 00000003 95080f80 81848318 95081468
[ 99.886467] 1ca0: 00000004 00000004 00000000 8017e33c 9523c780 8017dff4 950814f8 814c8ff0
[ 99.894652] 1cc0: 00000004 950814f8 00000003 0000000b 95080f80 0000000a 81079900 00000000
[ 99.902836] 1ce0: a0315000 ffffe000 00000000 60000093 00000001 00000000 00000000 902ff738
[ 99.911020] 1d00: 9523c780 8017dff4 00000001 00000080 00000000 80174ea8 00000000 00000000
[ 99.919204] 1d20: 906cb33c 906cb34c 80174ea8 906cb33c 40000013 00000001 024000c0 809f9614
[ 99.927388] 1d40: 00000001 00000000 80174ea8 801e9410 8053f68c 906cb33c a0312000 00000000
[ 99.935572] 1d60: 00000001 80174ea8 a03142b0 80c05f98 906cb000 a0312000 a0312018 00000000
[ 99.943756] 1d80: 8188e3dc 8053f440 00000000 906cb000 a0312000 00000000 8188e3dc 8053f6fc
[ 99.951941] 1da0: 906cb000 906cb30c 90338b80 80543b3c 906cb000 906cb000 1d7c1d7b 80544038
[ 99.960125] 1dc0: 906cb000 00000000 00000000 8053de4c 907f0c80 80a4e4b4 0f500000 00000000
[ 99.968310] 1de0: 907f0c80 80a4e4b4 0f500000 8053e3b4 00000683 00000902 00000000 8017f118
[ 99.976494] 1e00: 95405b00 00000000 902ff738 957983c0 902ff738 907f0c80 80a4e52c 80239b40
[ 99.984678] 1e20: 00000000 00000006 00000000 80239bdc 00000000 00000000 930de770 907f0c80
[ 99.992862] 1e40: 902ff738 907f0c88 95405b00 802326e0 90571ed0 00000000 00000902 907f0c80
[ 100.001046] 1e60: 00000000 92001578 00000006 80244818 95081460 000012bd 00000000 00000041
[ 100.009230] 1e80: 90571ea0 ffffe000 814a8584 00000000 95081498 00000000 00000002 902ff738
[ 100.017415] 1ea0: 94976410 930de708 95081468 00000014 90571f74 00000001 fffff000 801078c4
[ 100.025599] 1ec0: 90570000 00000142 00000000 802462dc 94976410 930de708 252c8507 00000009
[ 100.033784] 1ee0: 903e8015 8017e604 00000000 9238e960 902ff738 00000101 00000002 0000073c
[ 100.041968] 1f00: 00000000 00000000 00000000 90571f10 00000000 00000400 90467940 00000001
[ 100.050152] 1f20: 80c14d64 809f977c 00000014 8025716c 00000000 90467940 00000014 80c02e3c
[ 100.058336] 1f40: 903e8000 00000000 ffffff9c 00000002 ffffff9c 801078c4 00000014 ffffff9c
[ 100.066520] 1f60: 903e8000 80233d10 30479e84 801cceb4 90570000 00000902 ffff0000 00000006
[ 100.074703] 1f80: 00000100 00000001 00000000 00646970 00000000 011589e0 00000142 801078c4
[ 100.082888] 1fa0: 90570000 801078a0 00646970 00000000 ffffff9c 00646970 00000902 00000000
[ 100.091072] 1fc0: 00646970 00000000 011589e0 00000142 7e84ce64 00000001 76fc2fa4 00000000
[ 100.099257] 1fe0: 00000142 7e84ca00 76f4f607 76f50fa6 800d0030 ffffff9c 00000000 00000000
[ 100.107452] [<8017bd10>] (__lock_acquire) from [<8017dff4>] (lock_acquire+0xa8/0xd0)
[ 100.115215] [<8017dff4>] (lock_acquire) from [<809f9614>] (_raw_spin_lock_irqsave+0x48/0x84)
[ 100.123666] [<809f9614>] (_raw_spin_lock_irqsave) from [<80174ea8>] (__wake_up+0x1c/0x4c)
[ 100.131857] [<80174ea8>] (__wake_up) from [<8053f440>] (n_tty_set_termios+0xe8/0x324)
[ 100.139698] [<8053f440>] (n_tty_set_termios) from [<8053f6fc>] (n_tty_open+0x80/0x9c)
[ 100.147539] [<8053f6fc>] (n_tty_open) from [<80543b3c>] (tty_ldisc_open+0x3c/0x74)
[ 100.155119] [<80543b3c>] (tty_ldisc_open) from [<80544038>] (tty_ldisc_setup+0x14/0x54)
[ 100.163132] [<80544038>] (tty_ldisc_setup) from [<8053de4c>] (tty_init_dev+0xa4/0x1c0)
[ 100.171057] [<8053de4c>] (tty_init_dev) from [<8053e3b4>] (tty_open+0x44c/0x688)
[ 100.178466] [<8053e3b4>] (tty_open) from [<80239bdc>] (chrdev_open+0x9c/0x18c)
[ 100.185704] [<80239bdc>] (chrdev_open) from [<802326e0>] (do_dentry_open+0x20c/0x370)
[ 100.193548] [<802326e0>] (do_dentry_open) from [<80244818>] (path_openat+0x648/0xd74)
[ 100.201389] [<80244818>] (path_openat) from [<802462dc>] (do_filp_open+0x60/0xc4)
[ 100.208881] [<802462dc>] (do_filp_open) from [<80233d10>] (do_sys_open+0x160/0x1e0)
[ 100.216551] [<80233d10>] (do_sys_open) from [<801078a0>] (__sys_trace_return+0x0/0x10)
[ 100.224479] Code: 0a0000e8 e2802f41 f592f000 e1921f9f (e2811001)
[ 100.230581] ---[ end trace 589a4b81dad9861a ]---
[ 100.235492] note: Eagle_Main[1455] exited with preempt_count 1

Labels (1)
0 Kudos
1 Reply

502 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello shj,

NXP don´t support your kernel, but apparently the file /usr/src/kernel/drivers/tty/tty_ldisc.c is wrong.

You can see the actual kernel support on:

i.MX 6SoloX SABRE Development Board | NXP 

Regards

0 Kudos