From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9940C28D13 for ; Thu, 25 Aug 2022 04:21:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D3E80940007; Thu, 25 Aug 2022 00:21:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CEED96B0075; Thu, 25 Aug 2022 00:21:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BB685940007; Thu, 25 Aug 2022 00:21:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id AC5026B0074 for ; Thu, 25 Aug 2022 00:21:30 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 799651A18E3 for ; Thu, 25 Aug 2022 04:21:30 +0000 (UTC) X-FDA: 79836815940.20.0405CFE Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) by imf02.hostedemail.com (Postfix) with ESMTP id 38BA280113 for ; Thu, 25 Aug 2022 04:20:22 +0000 (UTC) Received: by mail-vs1-f44.google.com with SMTP id k2so19676616vsk.8 for ; Wed, 24 Aug 2022 21:18:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=PyN55dKuqNyXNyplPRzdRkXSmTzke9BW6a5GMPdWp4c=; b=cI9xXXSNevavdlru/pqyF54lQjmJb1/W3wy70OeTMVOMYshy1apMK+jpBUINJXMstm r3AC8ZCVDuiAAZnq3sLbLnB8+WFw2CIBkA3z3T4gY2Qn1u/yqv5grY4gcbTlj3ur3pCN xsVaEw3+ZtZE84W4HeXAdPXFc+s9J0okzHa6FBOKn53A+tQr3mPHGi0wEgi89vHJvk8s 4O3vxJzqokZGLFOVhIDtqXodgV/ua8YzuRUPFN9fUemCQ1sf74kU4l8YSPuPful7fPuX N9cQqtGisaDS5v88gL/b3rXFRmgJYB7UxZyGitefhyFMKcEHZuvkOrLG/QY7rEscpBFQ DBrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=PyN55dKuqNyXNyplPRzdRkXSmTzke9BW6a5GMPdWp4c=; b=xQgYvRRr8xsGNTkUb8ngVSdZjrEJ/YdldnPqOT9KZ+9VJ50kwm14AG5uh8VoHLc8aF hGoLoLEzYzCw1uT902GvWV9mWw2JmYC1qThDq0qAOLe2Yt+4KjtXRTJ1VtzcvIItSiqz RDk2L5O7YDYTQIzYj+64tT+bERDcCzRrf3Q9usJWybk+qtM27PLta4Q2Jsy7AqWhuVz9 ocMde5d4cjHsRC9I3pwiH7BGLyIMH82p+2t7V5K4kP9hJAJ0Wt0YA0pAI0lXbGAAMlM3 av3cglqYfyNAXDZ6wctO8mBO4sr1dhczYDB9Kjqky4aeopACgR622EZIEKSk6BBBq25A 8NJw== X-Gm-Message-State: ACgBeo2rbJ1JIvSghONV0U9reNDQXyEFKTe6xuV9gRQhgHgclv0xqkmp 8DCjkRLwxlt9vei78+2mdeTmbr20vZ8YHZAicZjEzg== X-Google-Smtp-Source: AA6agR4PnFnL0fwuM3hf5ch5INBSUHD0z8faG3iiehUqcHULuPDoMqEkY/e12FF9EBap2jPQELaMuc9iYZUaCafqAew= X-Received: by 2002:a67:b009:0:b0:38a:e0f2:4108 with SMTP id z9-20020a67b009000000b0038ae0f24108mr913602vse.9.1661401121890; Wed, 24 Aug 2022 21:18:41 -0700 (PDT) MIME-Version: 1.0 References: <20220824053353.GA45627@inn2.lkp.intel.com> <15cd6083-061c-8d1a-3042-bf40bc1184d4@intel.com> In-Reply-To: <15cd6083-061c-8d1a-3042-bf40bc1184d4@intel.com> From: Yu Zhao Date: Wed, 24 Aug 2022 22:18:05 -0600 Message-ID: Subject: Re: [mm] d88f8edb09: dmesg.Kernel_panic-not_syncing:Fatal_exception To: kernel test robot Cc: lkp@lists.01.org, kernel test robot , Steev Klimaszewski , Brian Geffon , "Jan Alexander Steffens (heftig)" , Oleksandr Natalenko , Steven Barrett , Suleiman Souhlal , Daniel Byrne , Donald Carr , =?UTF-8?Q?Holger_Hoffst=C3=A4tte?= , Konstantin Kharlamov , Shuang Zhai , Sofia Trinh , Vaibhav Jain , Linux-MM Content-Type: text/plain; charset="UTF-8" ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1661401239; a=rsa-sha256; cv=none; b=3XPbAJg4oG9Dlxa3E/a3ZGC4JIpwOrOhkM7PWLfaKJub8EzcjHL93gXVtSFuxE6FOSNGpE EmoabJ32URKrwl3R/uM+J0TbZKDH+f/DJ7BldOGA2vK/Y+h60ixKpqvcSFYvHQvL8q5IWr xBM7fRReekGHSvLa+L3fc/ZsOVkkcQg= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=cI9xXXSN; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf02.hostedemail.com: domain of yuzhao@google.com designates 209.85.217.44 as permitted sender) smtp.mailfrom=yuzhao@google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1661401239; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=PyN55dKuqNyXNyplPRzdRkXSmTzke9BW6a5GMPdWp4c=; b=VvWeQKWgQ1/ILy8zoTsWOIzlXzN4sFQDTe0VSoi6XeZEOwL1Q3nOfhFKSAC6iCeAT5B2E/ dXSkDNT+QI2388BZn5AImVw37WgjgDjfGOslSq6N/9mxO3nRQparx74MShvh8TzbMvIlm+ ezCc5x8gG+k5InpEAWT2A3knZg0kJnc= X-Rspamd-Queue-Id: 38BA280113 X-Rspam-User: Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=cI9xXXSN; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf02.hostedemail.com: domain of yuzhao@google.com designates 209.85.217.44 as permitted sender) smtp.mailfrom=yuzhao@google.com X-Stat-Signature: qh967urfs4gezx4yogwe6ctt1ka65t51 X-Rspamd-Server: rspam05 X-HE-Tag: 1661401222-943463 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Aug 24, 2022 at 7:55 PM kernel test robot wrote: > > Greeting, > > FYI, we noticed the following commit (built with clang-16): > > commit: d88f8edb095214f8c36eeec6b89cebcfcbe3ea62 ("mm: multi-gen LRU: optimize multiple memcgs") > https://github.com/steev/linux lenovo-x13s-5.19.0 > > in testcase: boot > > on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G > > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): > > > [ 5.440406][ T1] general protection fault, probably for non-canonical address 0xe686464b00000166: 0000 [#1] KASAN PTI > [ 5.441841][ T1] KASAN: maybe wild-memory-access in range [0x3432525800000b30-0x3432525800000b37] > [ 5.443045][ T1] CPU: 0 PID: 1 Comm: swapper Tainted: G T 5.19.0-00144-gd88f8edb0952 #1 > [ 5.443471][ T1] RIP: 0010:drm_atomic_helper_check_modeset+0x59/0x2c80 > [ 5.443471][ T1] Code: 03 48 89 85 20 ff ff ff 42 80 3c 20 00 74 08 4c 89 f7 e8 7a a0 b6 fe 48 89 5d a8 bb 30 08 00 00 49 03 1e 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 b6 2a 00 00 83 3b 00 4c 89 b5 58 ff ff > [ 5.443471][ T1] RSP: 0018:ffffc9000001f580 EFLAGS: 00010206 > [ 5.443471][ T1] RAX: 06864a4b00000166 RBX: 3432525800000b30 RCX: ffffc9000001f890 > [ 5.443471][ T1] RDX: dffffc0000000000 RSI: ffffc9000001f888 RDI: ffffc9000001f888 > [ 5.443471][ T1] RBP: ffffc9000001f6c0 R08: ffff88811d82c800 R09: ffffc9000001f898 > [ 5.443471][ T1] R10: ffffc9000001f88c R11: ffffffff82b8a800 R12: dffffc0000000000 > [ 5.443471][ T1] R13: 1ffff92000003f13 R14: ffffc9000001f890 R15: 0000000000000014 > [ 5.443471][ T1] FS: 0000000000000000(0000) GS:ffffffff880c6000(0000) knlGS:0000000000000000 > [ 5.443471][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 5.443471][ T1] CR2: 00007f6aae86f480 CR3: 0000000008036000 CR4: 00000000000406f0 > [ 5.443471][ T1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > [ 5.443471][ T1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > [ 5.443471][ T1] Call Trace: > [ 5.443471][ T1] > [ 5.443471][ T1] ? validate_chain+0x1379/0x5b80 > [ 5.443471][ T1] drm_atomic_helper_check+0x18/0x100 > [ 5.443471][ T1] drm_get_format_info+0x67/0x180 > [ 5.443471][ T1] drm_internal_framebuffer_create+0x280/0x19c0 > [ 5.443471][ T1] drm_mode_addfb2+0x9b/0x300 > [ 5.443471][ T1] drm_mode_addfb+0x25d/0x580 > [ 5.443471][ T1] drm_client_framebuffer_create+0x412/0x8c0 > [ 5.443471][ T1] drm_fb_helper_generic_probe+0x191/0x980 > [ 5.443471][ T1] ? __kasan_check_write+0x14/0x40 > [ 5.443471][ T1] ? __mutex_unlock_slowpath+0x1d7/0x740 > [ 5.443471][ T1] __drm_fb_helper_initial_config_and_unlock+0x1159/0x1b80 > [ 5.443471][ T1] drm_fbdev_client_hotplug+0x547/0x740 > [ 5.443471][ T1] drm_fbdev_generic_setup+0x13b/0x3c0 > [ 5.443471][ T1] vkms_init+0x4b6/0x640 > [ 5.443471][ T1] ? vgem_init+0x240/0x240 > [ 5.443471][ T1] do_one_initcall+0x16d/0x440 > [ 5.443471][ T1] ? vgem_init+0x240/0x240 > [ 5.443471][ T1] do_initcall_level+0x1a3/0x280 > [ 5.443471][ T1] do_initcalls+0x4b/0x80 > [ 5.443471][ T1] do_basic_setup+0x69/0x80 > [ 5.443471][ T1] kernel_init_freeable+0xe2/0x180 > [ 5.443471][ T1] ? rest_init+0x140/0x140 > [ 5.443471][ T1] kernel_init+0x18/0x1c0 > [ 5.443471][ T1] ? rest_init+0x140/0x140 > [ 5.443471][ T1] ret_from_fork+0x22/0x30 > [ 5.443471][ T1] > [ 5.443471][ T1] Modules linked in: > [ 5.476918][ T1] ---[ end trace 0000000000000000 ]--- > [ 5.477623][ T1] RIP: 0010:drm_atomic_helper_check_modeset+0x59/0x2c80 > [ 5.478507][ T1] Code: 03 48 89 85 20 ff ff ff 42 80 3c 20 00 74 08 4c 89 f7 e8 7a a0 b6 fe 48 89 5d a8 bb 30 08 00 00 49 03 1e 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 b6 2a 00 00 83 3b 00 4c 89 b5 58 ff ff > [ 5.481043][ T1] RSP: 0018:ffffc9000001f580 EFLAGS: 00010206 > [ 5.481851][ T1] RAX: 06864a4b00000166 RBX: 3432525800000b30 RCX: ffffc9000001f890 > [ 5.482887][ T1] RDX: dffffc0000000000 RSI: ffffc9000001f888 RDI: ffffc9000001f888 > [ 5.483950][ T1] RBP: ffffc9000001f6c0 R08: ffff88811d82c800 R09: ffffc9000001f898 > [ 5.484993][ T1] R10: ffffc9000001f88c R11: ffffffff82b8a800 R12: dffffc0000000000 > [ 5.486020][ T1] R13: 1ffff92000003f13 R14: ffffc9000001f890 R15: 0000000000000014 > [ 5.487054][ T1] FS: 0000000000000000(0000) GS:ffffffff880c6000(0000) knlGS:0000000000000000 > [ 5.488258][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 5.489116][ T1] CR2: 00007f6aae86f480 CR3: 0000000008036000 CR4: 00000000000406f0 > [ 5.490109][ T1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > [ 5.491150][ T1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > [ 5.492241][ T1] Kernel panic - not syncing: Fatal exception > [ 5.493037][ T1] Kernel Offset: disabled > > > ========================================================================================= > tbox_group/testcase/rootfs/kconfig/compiler/sleep: > vm-snb/boot/yocto-x86_64-minimal-20190520.cgz/x86_64-randconfig-a003-20220801/clang-16/1 > > commit: > fe2bb20302a87cfeda355e4be3cc3029478a5214 > d88f8edb095214f8c36eeec6b89cebcfcbe3ea62 > > fe2bb20302a87cfe d88f8edb095214f8c36eeec6b89 > ---------------- --------------------------- > fail:runs %reproduction fail:runs > | | | > :30 133% 40:40 dmesg.Kernel_panic-not_syncing:Fatal_exception > :30 133% 40:40 dmesg.RIP:drm_atomic_helper_check_modeset > > > The kconfig of this boot test has "# CONFIG_LRU_GEN is not set" This means the aforementioned commit was not built at all. So it shouldn't cause the crash. > We also tried to enable CONFIG_LRU_GEN and re-test it, then boot is successful. Nor should it fix the crash. > https://github.com/steev/linux lenovo-x13s-5.19.0 This tree has other patches. In case you want to make sure MGLRU has nothing to do with the crash, please try the patchset on top of the official 5.19.0 and try again. Thanks.