kernel panic on the nvidia tegra tk1 board running nginx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm sorry if you will see this as a duplicate, resending as a plain
text message.

Hi folks,

I run home server on the nvidia tegra tk1 using gentoo:

Linux rage 5.5.6-gentoo #1 SMP PREEMPT Tue Feb 25 12:40:17 PST 2020
armv7l ARMv7 Processor rev 3 (v7l) NVIDIA Tegra SoC (Flattened Device
Tree) GNU/Linux

This server runs nginx on both 80 and 443. I recently was updating my
let's encrypt certificate and it failed because plain http was not
working (while https was working ok):

kvt@joy:~$ curl -s http://a0.twilightparadox.com|hd
00000000  89 1f 00 00 02 2e 00 00  00 00 00 00 9d 1f 00 00  |................|
00000010  02 2e 00 00 00 00 00 00  aa 1f 00 00 02 2e 00 00  |................|
00000020  00 00 00 00 b8 1f 00 00  02 2e 00 00 00           |.............|
0000002d
kvt@joy:~$ curl -s https://a0.twilightparadox.com|hd
00000000  3c 68 74 6d 6c 3e 3c 62  6f 64 79 3e 55 6e 64 65  |<html><body>Unde|
00000010  72 20 63 6f 6e 73 74 72  75 63 74 69 6f 6e 3c 2f  |r construction</|
00000020  62 6f 64 79 3e 3c 2f 68  74 6d 6c 3e 0a           |body></html>.|
0000002d
kvt@joy:~$

I reverted kernel to 4.19.98 and everything worked fine with same
settings. Locally everything works fine (with latest kernel):

kvt@rage:~$ curl -s 127.0.0.1
<html><body>Under construction</body></html>
kvt@rage:~$

The worst thing is that if I do local http call and then do external
http call I'm getting kernel panic (please see file attached). This
kernel panic was captured on 5.4.10 but I see same behavior with
latest 5.5.6.

If I shutdown nginx and run some other http server (e.g. python3 -m
http.server) everything works fine.

Just in case please find my kernel config attached.

Please let me know if something is wrong with my kernel config or if I
need to provide any additional information.

Thanks,
Kirill.
[  441.145060] Internal error: Oops: 206 [#1] PREEMPT SMP ARM
[  441.150542] Modules linked in: xhci_tegra serial_tegra
[  441.155687] CPU: 1 PID: 1678 Comm: nginx Not tainted 5.4.10-gentoo #1
[  441.162123] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree)
[  441.168400] PC is at dma_cache_maint_page+0xb0/0x134
[  441.173368] LR is at 0x80000
[  441.176256] pc : [<c02148e0>]    lr : [<00080000>]    psr: 400d0013
[  441.182521] sp : e84fdb88  ip : eebf7000  fp : c1006294
[  441.187742] r10: 0000002d  r9 : 00000001  r8 : 00000028
[  441.192962] r7 : c109ab40  r6 : c100f484  r5 : 0017ffae  r4 : 00000000
[  441.199480] r3 : 027ff330  r2 : 0000002d  r1 : 00080000  r0 : f13f6330
[  441.206004] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  441.213139] Control: 30c5387d  Table: a9bd0ac0  DAC: 55555555
[  441.218889] Process nginx (pid: 1678, stack limit = 0x1ec6a305)
[  441.224805] Stack: (0xe84fdb88 to 0xe84fe000)
[  441.229161] db80:                   c0218cb8 c0369500 00000002 f13f6330 00000001 00000000
[  441.237348] dba0: 00000000 0000002d 00000000 0000002d 00000000 c021498c c0218cb8 00200069
[  441.245531] dbc0: ea2f0000 e989a078 e84fc000 00000000 00000000 0000002d 00000000 0000002d
[  441.253705] dbe0: 00000000 c0286aac 0000002d 00000001 7ffae000 00000001 7ffae000 00000001
[  441.261874] dc00: c109ab50 eda9478a c109ab50 e99b9000 f08a4290 00000029 e8559f0c 0000002d
[  441.270047] dc20: 00000290 f08a4000 c109ab50 c05e2dac 00000001 00000000 ea2f0000 e84fdd44
[  441.278216] dc40: 00200069 00000001 60880000 e989a000 f08a4000 e8559f00 f08a4270 00000042
[  441.286394] dc60: 80000000 e989a078 e989a000 ff800000 ffffffff ffffffff c109ab40 00000027
[  441.294571] dc80: e7166530 e989a078 e99b9500 00000138 e7166530 e7166530 00000000 e9e55800
[  441.302739] dca0: c0a5d75c c0e5773a c0b55afc e99b9000 00000000 c0753ae0 c0ba1314 c1007258
[  441.310911] dcc0: c1003d00 e84fdcf8 e99b9000 e856f400 e7166530 e9e55800 e99b9000 e84fc000
[  441.319094] dce0: 00000000 00000001 00000173 c078bb54 00000001 00e568c0 00000010 eda9478a
[  441.327269] dd00: 00000000 e99b9000 e856f400 e84fc000 e9e55800 d1a8cfd0 e856f4c4 c07542c4
[  441.335448] dd20: 00000000 00000001 e9e6ca00 e84fdda8 00000000 fffffff4 00000000 eda9478a
[  441.343642] dd40: 00000c2e e84fdda8 e7166530 eda9478a 00000000 e78cb000 e7166530 e78cb08c
[  441.351818] dd60: e84fc000 00000173 00000010 00000000 ea5b3980 c07f79f0 0101a8c0 eda9478a
[  441.359993] dd80: e9e43440 e7166530 c105bc00 00000000 00000000 e84fc000 e7183100 e99b9000
[  441.368168] dda0: ea5b3980 c07f9570 00000003 00000001 00000004 e99b9002 00000000 e99b9000
[  441.376346] ddc0: e7183100 c105bc00 c07f7e7c eda9478a e7166530 e7183100 e7183398 00000045
[  441.384519] dde0: 00000000 00000000 e84fc000 c07f8f84 5e1bd770 0000005c c105bc00 e84fc000
[  441.392692] de00: 5e1bd770 e7183100 e7166530 e7166480 00003721 00000131 e7166548 e84fc000
[  441.400862] de20: 0000fe80 c081460c e7dfc0b0 0000fe80 b55890d3 00000066 00071bbf 00000002
[  441.409034] de40: 00000000 00000000 51220ce5 c9a6250d 00000000 eda9478a 00000004 e7183100
[  441.417203] de60: e7166480 000005a8 50862a39 00000000 00000131 00000000 000005a8 c0815b04
[  441.425371] de80: 5d802fb8 00000000 00000000 e7183204 00000000 00000005 00000000 0000002c
[  441.433538] dea0: e84fdebc ea595190 e7db3330 00000010 e9bbb0c8 c03536e4 e7db3330 c1004b00
[  441.441705] dec0: c1004b00 e7183100 e7183100 00000002 00000000 befda520 00000004 c105bc00
[  441.449873] dee0: 00000000 c081692c 00000a20 ffffe000 00000000 e84fc000 e7183100 00000002
[  441.458041] df00: 00000000 c08034ac e84fc000 c0990df0 00000000 c023c6a0 e84fc000 e84fdfb0
[  441.466208] df20: c0201204 fffffe30 c0201204 5ac3c35a c1006288 c020af0c e9a20d80 5ac3c35a
[  441.474375] df40: 005ea950 eda9478a e7dfc0b0 e84fc000 e7ce9b00 c07344d8 00000003 00000004
[  441.482543] df60: befda520 00000126 000000d0 c0733b38 00000004 c023c580 e9bbb0c0 00000000
[  441.490710] df80: 00000000 eda9478a e9bbb0c0 00000004 0059c000 00000000 00000126 c0201204
[  441.498876] dfa0: e84fc000 c0201000 00000004 0059c000 00000003 00000006 00000003 befda520
[  441.507044] dfc0: 00000004 0059c000 00000000 00000126 005ea7e0 005dab20 005fe168 000000d0
[  441.515211] dfe0: 0059c4dc befda510 00500ac8 b6ac19d0 600d0010 00000003 00000000 00000000
[  441.523389] [<c02148e0>] (dma_cache_maint_page) from [<c021498c>] (__dma_page_cpu_to_dev+0x28/0xa8)
[  441.532431] [<c021498c>] (__dma_page_cpu_to_dev) from [<c0286aac>] (dma_direct_map_page+0x1a0/0x1a8)
[  441.541561] [<c0286aac>] (dma_direct_map_page) from [<c05e2dac>] (rtl8169_start_xmit+0x28c/0xc30)
[  441.550431] [<c05e2dac>] (rtl8169_start_xmit) from [<c0753ae0>] (dev_hard_start_xmit+0x98/0x128)
[  441.559214] [<c0753ae0>] (dev_hard_start_xmit) from [<c078bb54>] (sch_direct_xmit+0xf0/0x2b0)
[  441.567734] [<c078bb54>] (sch_direct_xmit) from [<c07542c4>] (__dev_queue_xmit+0x684/0x868)
[  441.576081] [<c07542c4>] (__dev_queue_xmit) from [<c07f79f0>] (ip_finish_output2+0x330/0x5d0)
[  441.584601] [<c07f79f0>] (ip_finish_output2) from [<c07f9570>] (ip_output+0xc8/0x154)
[  441.592426] [<c07f9570>] (ip_output) from [<c07f8f84>] (__ip_queue_xmit+0x158/0x3ac)
[  441.600165] [<c07f8f84>] (__ip_queue_xmit) from [<c081460c>] (__tcp_transmit_skb+0x4d4/0xa18)
[  441.608684] [<c081460c>] (__tcp_transmit_skb) from [<c0815b04>] (tcp_write_xmit+0x39c/0x1194)
[  441.617203] [<c0815b04>] (tcp_write_xmit) from [<c081692c>] (__tcp_push_pending_frames+0x30/0xd8)
[  441.626067] [<c081692c>] (__tcp_push_pending_frames) from [<c08034ac>] (tcp_setsockopt+0x420/0xb58)
[  441.635104] [<c08034ac>] (tcp_setsockopt) from [<c0733b38>] (sys_setsockopt+0x74/0xd4)
[  441.643016] [<c0733b38>] (sys_setsockopt) from [<c0201000>] (ret_fast_syscall+0x0/0x4c)
[  441.651007] Exception stack(0xe84fdfa8 to 0xe84fdff0)
[  441.656054] dfa0:                   00000004 0059c000 00000003 00000006 00000003 befda520
[  441.664222] dfc0: 00000004 0059c000 00000000 00000126 005ea7e0 005dab20 005fe168 000000d0
[  441.672387] dfe0: 0059c4dc befda510 00500ac8 b6ac19d0
[  441.677438] Code: e045300e e084200a e0030398 e08c0003 (e79c3003)
[  441.683529] ---[ end trace da3a7d5a4fa8d450 ]---
[  441.688142] Kernel panic - not syncing: Fatal exception in interrupt
[  441.694499] CPU2: stopping
[  441.697215] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D           5.4.10-gentoo #1
[  441.705120] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree)
[  441.711394] [<c020f488>] (unwind_backtrace) from [<c020b1d0>] (show_stack+0x10/0x14)
[  441.719135] [<c020b1d0>] (show_stack) from [<c0973a98>] (dump_stack+0xb0/0xc4)
[  441.726354] [<c0973a98>] (dump_stack) from [<c020df7c>] (handle_IPI+0x1bc/0x1e4)
[  441.733749] [<c020df7c>] (handle_IPI) from [<c04aa360>] (gic_handle_irq+0x8c/0x90)
[  441.741315] [<c04aa360>] (gic_handle_irq) from [<c0201a78>] (__irq_svc+0x58/0x8c)
[  441.748787] Exception stack(0xea495f80 to 0xea495fc8)
[  441.753837] 5f80: 00000000 000234a0 eebb35b4 c0219380 00000002 ea494000 c10062b0 c10062f8
[  441.762006] 5fa0: 80007000 413fc0f3 00000000 00000000 c1003d00 ea495fd0 c0208784 c0208788
[  441.770171] 5fc0: 60070013 ffffffff
[  441.773665] [<c0201a78>] (__irq_svc) from [<c0208788>] (arch_cpu_idle+0x38/0x3c)
[  441.781059] [<c0208788>] (arch_cpu_idle) from [<c024b41c>] (do_idle+0xc4/0x14c)
[  441.788364] [<c024b41c>] (do_idle) from [<c024b780>] (cpu_startup_entry+0x18/0x1c)
[  441.795927] [<c024b780>] (cpu_startup_entry) from [<8020240c>] (0x8020240c)
[  441.802881] CPU0: stopping
[  441.805594] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D           5.4.10-gentoo #1
[  441.813500] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree)
[  441.819771] [<c020f488>] (unwind_backtrace) from [<c020b1d0>] (show_stack+0x10/0x14)
[  441.827508] [<c020b1d0>] (show_stack) from [<c0973a98>] (dump_stack+0xb0/0xc4)
[  441.834725] [<c0973a98>] (dump_stack) from [<c020df7c>] (handle_IPI+0x1bc/0x1e4)
[  441.842119] [<c020df7c>] (handle_IPI) from [<c04aa360>] (gic_handle_irq+0x8c/0x90)
[  441.849684] [<c04aa360>] (gic_handle_irq) from [<c0201a78>] (__irq_svc+0x58/0x8c)
[  441.857155] Exception stack(0xc1001f30 to 0xc1001f78)
[  441.862203] 1f20:                                     00000000 0002dfe8 eeb955b4 c0219380
[  441.870373] 1f40: 00000000 c1000000 c10062b0 c10062f8 c106e000 ffffffff 00000001 cccccccd
[  441.878540] 1f60: c1003d00 c1001f80 c0208784 c0208788 60070013 ffffffff
[  441.885153] [<c0201a78>] (__irq_svc) from [<c0208788>] (arch_cpu_idle+0x38/0x3c)
[  441.892546] [<c0208788>] (arch_cpu_idle) from [<c024b41c>] (do_idle+0xc4/0x14c)
[  441.899850] [<c024b41c>] (do_idle) from [<c024b780>] (cpu_startup_entry+0x18/0x1c)
[  441.907416] [<c024b780>] (cpu_startup_entry) from [<c0e00db0>] (start_kernel+0x454/0x478)
[  441.915583] CPU3: stopping
[  441.918296] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D           5.4.10-gentoo #1
[  441.926202] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree)
[  441.932472] [<c020f488>] (unwind_backtrace) from [<c020b1d0>] (show_stack+0x10/0x14)
[  441.940209] [<c020b1d0>] (show_stack) from [<c0973a98>] (dump_stack+0xb0/0xc4)
[  441.947427] [<c0973a98>] (dump_stack) from [<c020df7c>] (handle_IPI+0x1bc/0x1e4)
[  441.954819] [<c020df7c>] (handle_IPI) from [<c04aa360>] (gic_handle_irq+0x8c/0x90)
[  441.962382] [<c04aa360>] (gic_handle_irq) from [<c0201a78>] (__irq_svc+0x58/0x8c)
[  441.969855] Exception stack(0xea497f80 to 0xea497fc8)
[  441.974904] 7f80: 00000000 0001f20c eebc25b4 c0219380 00000003 ea496000 c10062b0 c10062f8
[  441.983074] 7fa0: 80007000 413fc0f3 00000000 00000000 c1003d00 ea497fd0 c0208784 c0208788
[  441.991240] 7fc0: 60070013 ffffffff
[  441.994733] [<c0201a78>] (__irq_svc) from [<c0208788>] (arch_cpu_idle+0x38/0x3c)
[  442.002126] [<c0208788>] (arch_cpu_idle) from [<c024b41c>] (do_idle+0xc4/0x14c)
[  442.009429] [<c024b41c>] (do_idle) from [<c024b780>] (cpu_startup_entry+0x18/0x1c)
[  442.016991] [<c024b780>] (cpu_startup_entry) from [<8020240c>] (0x8020240c)
[  442.023958] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---

Attachment: config
Description: Binary data


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux