This looks like a similar issue we saw in 2017 on build servers running kernel 3.13.0, we haven't seen it recently. Try updating your kernel.
On Thu, May 14, 2020 at 7:56 PM Minghui Ma <[email protected]> wrote: > hi all > i make android images on ubuntu but sometimes the server hang, I found > the log from /var/log/kern.log like below: > > May 13 22:39:49 buildsrv-198 kernel: [562085.261803] BUG: Bad rss-counter > state mm:ffff88126ec7bb80 idx:1 val:1 > May 13 22:51:50 buildsrv-198 kernel: [562801.158633] general protection > fault: 0000 [#2] SMP > May 13 22:51:50 buildsrv-198 kernel: [562801.249985] Modules linked in: > iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat > nf_conntrack ip_tables x_tables esn_cfs(OF) binfmt_misc ipmi_devintf dcdbas > x86_pkg_temp_thermal coretemp kvm_intel kvm mxm_wmi crct10dif_pclmul > crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul > glue_helper ablk_helper cryptd lpc_ich mei_me mei shpchp ipmi_si wmi > acpi_power_meter mac_hid lp parport tg3 ahci ptp libahci megaraid_sas > pps_core > May 13 22:51:50 buildsrv-198 kernel: [562801.547292] CPU: 49 PID: 196401 > Comm: GC Thread#33 Tainted: GF B D O 3.13.0-32-generic #57-Ubuntu > May 13 22:51:50 buildsrv-198 kernel: [562801.647136] Hardware name: Dell > Inc. PowerEdge R730xd/0WCJNT, BIOS 2.8.0 005/17/2018 > May 13 22:51:50 buildsrv-198 kernel: [562801.746548] task: > ffff8800273917f0 ti: ffff880134d46000 task.ti: ffff880134d46000 > May 13 22:51:50 buildsrv-198 kernel: [562801.845820] RIP: > 0010:[<ffffffff810b0c69>] [<ffffffff810b0c69>] down_read_trylock+0x9/0x30 > May 13 22:51:50 buildsrv-198 kernel: [562801.946341] RSP: > 0000:ffff880134d476c8 EFLAGS: 00010282 > May 13 22:51:50 buildsrv-198 kernel: [562802.046345] RAX: 0000000000000000 > RBX: ffff881267e68080 RCX: ffff880134d47828 > May 13 22:51:50 buildsrv-198 kernel: [562802.146566] RDX: 0000000000000000 > RSI: 0000000000000001 RDI: 800000122b41290e > May 13 22:51:50 buildsrv-198 kernel: [562802.246571] RBP: ffff880134d476c8 > R08: 000000000000000c R09: 0000000000000000 > May 13 22:51:50 buildsrv-198 kernel: [562802.346575] R10: ffff88107fffbf00 > R11: 0000000000000013 R12: ffff881267e68081 > May 13 22:51:50 buildsrv-198 kernel: [562802.446796] R13: ffffea0027b91000 > R14: 800000122b41290e R15: ffff880134d47808 > May 13 22:51:50 buildsrv-198 kernel: [562802.547263] FS: > 00007f93b9169700(0000) GS:ffff88203ed00000(0000) knlGS:0000000000000000 > May 13 22:51:50 buildsrv-198 kernel: [562802.649305] CS: 0010 DS: 0000 > ES: 0000 CR0: 0000000080050033 > May 13 22:51:50 buildsrv-198 kernel: [562802.751346] CR2: 00000000821b4840 > CR3: 00000001170ea000 CR4: 00000000003407e0 > May 13 22:51:50 buildsrv-198 kernel: [562802.854774] DR0: 0000000000000000 > DR1: 0000000000000000 DR2: 0000000000000000 > May 13 22:51:50 buildsrv-198 kernel: [562802.957740] DR3: 0000000000000000 > DR6: 00000000fffe0ff0 DR7: 0000000000000400 > May 13 22:51:50 buildsrv-198 kernel: [562803.060107] Stack: > May 13 22:51:50 buildsrv-198 kernel: [562803.161742] ffff880134d476f8 > ffffffff81184b45 ffffea0027b91000 0000000000000000 > May 13 22:51:50 buildsrv-198 kernel: [562803.266012] ffff880134d47900 > ffff881267e68081 ffff880134d47768 ffffffff81184d9f > May 13 22:51:50 buildsrv-198 kernel: [562803.370635] ffffea0031a71b80 > ffff880134d47828 ffff880134d47828 ffffffff00000000 > May 13 22:51:50 buildsrv-198 kernel: [562803.473982] Call Trace: > May 13 22:51:50 buildsrv-198 kernel: [562803.574946] [<ffffffff81184b45>] > page_lock_anon_vma_read+0x55/0x110 > May 13 22:51:50 buildsrv-198 kernel: [562803.675928] [<ffffffff81184d9f>] > page_referenced+0x19f/0x310 > May 13 22:51:50 buildsrv-198 kernel: [562803.775281] [<ffffffff81160f7c>] > shrink_page_list+0x45c/0xa60 > May 13 22:51:50 buildsrv-198 kernel: [562803.873599] [<ffffffff81161c02>] > shrink_inactive_list+0x1c2/0x530 > May 13 22:51:50 buildsrv-198 kernel: [562803.971592] [<ffffffff811626f5>] > shrink_lruvec+0x355/0x6f0 > May 13 22:51:50 buildsrv-198 kernel: [562804.068770] [<ffffffff81162af6>] > shrink_zone+0x66/0x1a0 > May 13 22:51:50 buildsrv-198 kernel: [562804.164644] [<ffffffff81162ff0>] > do_try_to_free_pages+0xe0/0x540 > May 13 22:51:50 buildsrv-198 kernel: [562804.260438] [<ffffffff8116353c>] > try_to_free_pages+0xec/0x180 > May 13 22:51:50 buildsrv-198 kernel: [562804.356260] [<ffffffff81158336>] > __alloc_pages_nodemask+0x7d6/0xb80 > May 13 22:51:50 buildsrv-198 kernel: [562804.452624] [<ffffffff81198a1a>] > alloc_pages_vma+0x9a/0x140 > May 13 22:51:50 buildsrv-198 kernel: [562804.549125] [<ffffffff811ac2db>] > do_huge_pmd_anonymous_page+0x10b/0x410 > May 13 22:51:50 buildsrv-198 kernel: [562804.646384] [<ffffffff81178a48>] > handle_mm_fault+0x198/0xf00 > May 13 22:51:50 buildsrv-198 kernel: [562804.743674] [<ffffffff8109a7f0>] > ? wake_up_state+0x10/0x20 > May 13 22:51:50 buildsrv-198 kernel: [562804.841042] [<ffffffff810d7c56>] > ? wake_futex+0x66/0x90 > May 13 22:51:50 buildsrv-198 kernel: [562804.937896] [<ffffffff81727be4>] > __do_page_fault+0x184/0x560 > May 13 22:51:50 buildsrv-198 kernel: [562805.034942] [<ffffffff8111155c>] > ? acct_account_cputime+0x1c/0x20 > May 13 22:51:50 buildsrv-198 kernel: [562805.132337] [<ffffffff8109d7db>] > ? account_user_time+0x8b/0xa0 > May 13 22:51:50 buildsrv-198 kernel: [562805.229542] [<ffffffff8109ddf4>] > ? vtime_account_user+0x54/0x60 > May 13 22:51:50 buildsrv-198 kernel: [562805.326909] [<ffffffff81727fda>] > do_page_fault+0x1a/0x70 > May 13 22:51:50 buildsrv-198 kernel: [562805.422838] [<ffffffff81724448>] > page_fault+0x28/0x30 > May 13 22:51:50 buildsrv-198 kernel: [562805.516944] Code: 6e 2e 67 00 48 > 83 c4 08 5b 5d c3 48 89 45 f0 e8 76 1a 67 00 48 8b 45 f0 eb df 0f 1f 84 00 > 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 <48> 8b 07 48 89 c2 48 83 c2 01 7e > 07 f0 48 0f b1 17 75 f0 48 f7 > May 13 22:51:50 buildsrv-198 kernel: [562805.711300] RIP > [<ffffffff810b0c69>] down_read_trylock+0x9/0x30 > May 13 22:51:50 buildsrv-198 kernel: [562805.806794] RSP > <ffff880134d476c8> > May 13 22:51:50 buildsrv-198 kernel: [562806.180028] ---[ end trace > 281873ef9adf388e ]--- > May 13 22:51:50 buildsrv-198 kernel: [562806.280699] ------------[ cut > here ]------------ > > Can someone help me? > > thanks ! > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/76900df9-3b9d-4251-8055-3d920a0ebec6%40googlegroups.com > <https://groups.google.com/d/msgid/android-building/76900df9-3b9d-4251-8055-3d920a0ebec6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CAMbhsRSQiLrHcqfuB8k9uScqfrPMyfYz_9zcPQErFiW8MXeKHw%40mail.gmail.com.
