Re: [PATCH 4.4 000/266] 4.4.180-stable review

From: Daniel Wagner
Date: Thu May 16 2019 - 08:01:47 EST


Hi Jon,

> Boot regression detected for Tegra ...
>
> Test results for stable-v4.4:
> 6 builds: 6 pass, 0 fail
> 15 boots: 6 pass, 9 fail
> 8 tests: 8 pass, 0 fail
>
> Linux version: 4.4.180-rc1-gbe756da
> Boards tested: tegra124-jetson-tk1, tegra20-ventana,
> tegra30-cardhu-a04
>
> Bisect is point to the following commit ...
>
> # first bad commit: [7849d64a1700ddae1963ff22a77292e9fb5c2983] mm, vmstat: make quiet_vmstat lighter
>
> Reverting this on top v4.4.180-rc1 fixes the problem.

I guess the patch depends on another change. I'll try to figure out what
is missing.

> Crash observed ...
>
> [ 17.155812] ------------[ cut here ]------------
> [ 17.160431] kernel BUG at /home/jonathanh/workdir/tegra/mlt-linux_stable-4.4/kernel/mm/vmstat.c:1425!
> [ 17.169632] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
> [ 17.175450] Modules linked in: ttm
> [ 17.178859] CPU: 0 PID: 92 Comm: kworker/0:2 Not tainted 4.4.179-00160-g7849d64a1700 #8
> [ 17.186843] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree)
> [ 17.193100] Workqueue: vmstat vmstat_update
> [ 17.197279] task: ee14e700 ti: ee17a000 task.ti: ee17a000
> [ 17.202663] PC is at vmstat_update+0x9c/0xa4
> [ 17.206921] LR is at vmstat_update+0x94/0xa4
> [ 17.211179] pc : [<c00cdd80>] lr : [<c00cdd78>] psr: 20000113
> [ 17.211179] sp : ee17bef8 ip : 00000000 fp : eef91ac0
> [ 17.222629] r10: 00000008 r9 : 00000000 r8 : 00000000
> [ 17.227840] r7 : eef99900 r6 : eef91ac0 r5 : eef8f34c r4 : ee13dc00
> [ 17.234350] r3 : 00000001 r2 : 0000000f r1 : c0a885e0 r0 : 00000001
> [ 17.240861] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
> [ 17.247978] Control: 10c5387d Table: ad02006a DAC: 00000051
> [ 17.253708] Process kworker/0:2 (pid: 92, stack limit = 0xee17a210)
> [ 17.259957] Stack: (0xee17bef8 to 0xee17c000)
> [ 17.264301] bee0: ee13dc00 eef8f34c
> [ 17.272459] bf00: eef91ac0 c003b69c eef91ac0 ee17a038 c0a4ba60 eef91ac0 eef91ad4 ee17a038
> [ 17.280618] bf20: c0a4ba60 ee13dc18 ee13dc00 00000008 eef91ac0 c003b8f8 00000000 c09f6100
> [ 17.288778] bf40: c003b8b0 ee102a00 00000000 ee13dc00 c003b8b0 00000000 00000000 00000000
> [ 17.296937] bf60: 00000000 c0040ad0 00000000 00000000 00000000 ee13dc00 00000000 00000000
> [ 17.305094] bf80: ee17bf80 ee17bf80 00000000 00000000 ee17bf90 ee17bf90 ee17bfac ee102a00
> [ 17.313253] bfa0: c00409d0 00000000 00000000 c000f650 00000000 00000000 00000000 00000000
> [ 17.321412] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [ 17.329570] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
> [ 17.337733] [<c00cdd80>] (vmstat_update) from [<c003b69c>] (process_one_work+0x124/0x338)
> [ 17.345893] [<c003b69c>] (process_one_work) from [<c003b8f8>] (worker_thread+0x48/0x4c4)
> [ 17.353966] [<c003b8f8>] (worker_thread) from [<c0040ad0>] (kthread+0x100/0x118)
> [ 17.361348] [<c0040ad0>] (kthread) from [<c000f650>] (ret_from_fork+0x14/0x24)
> [ 17.368553] Code: e5930010 eb05c417 e3500000 08bd8070 (e7f001f2)
> [ 17.374633] ---[ end trace 17cf004302766810 ]---

Thanks,
Daniel