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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3976AC2D0A3 for ; Wed, 4 Nov 2020 00:18:01 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 77E6B223C6 for ; Wed, 4 Nov 2020 00:18:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="xtoDX6Sn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 77E6B223C6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8F45C6B005C; Tue, 3 Nov 2020 19:17:59 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 87F896B005D; Tue, 3 Nov 2020 19:17:59 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 76B116B0068; Tue, 3 Nov 2020 19:17:59 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0252.hostedemail.com [216.40.44.252]) by kanga.kvack.org (Postfix) with ESMTP id 433366B005C for ; Tue, 3 Nov 2020 19:17:59 -0500 (EST) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id CC8DC181AC9CB for ; Wed, 4 Nov 2020 00:17:58 +0000 (UTC) X-FDA: 77444823036.21.hook77_0e0ce5f272bc Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin21.hostedemail.com (Postfix) with ESMTP id B3C31180442C2 for ; Wed, 4 Nov 2020 00:17:58 +0000 (UTC) X-HE-Tag: hook77_0e0ce5f272bc X-Filterd-Recvd-Size: 12180 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf47.hostedemail.com (Postfix) with ESMTP for ; Wed, 4 Nov 2020 00:17:58 +0000 (UTC) Received: from X1 (unknown [208.106.6.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9DD74223BD; Wed, 4 Nov 2020 00:17:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604449077; bh=VydEcN4b+2/8KJQJjmR/RcYsTjC5N5CIGKsm7LEa29E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=xtoDX6SnEYY70HxPOMezCYMFNyw3laESCFe2xxfCSoqcDqhhL485iM/b8Rx7n5Q67 EXliMsEizIGOy1i6NiX9s6ME/y+dR/AQH/J0ys30nooMeSYUzH3sL8zp3221v5vlR0 EgWr4Vspc8HroRfiNs9omnE7pVpHQ0d9U0minVi4= Date: Tue, 3 Nov 2020 16:17:53 -0800 From: Andrew Morton To: newsmails@netcourrier.com Cc: bugzilla-daemon@bugzilla.kernel.org, linux-mm@kvack.org, Song Liu , Kirill A. Shutemov , Johannes Weiner , Oleg Nesterov Subject: Re: [Bug 210031] New: unable to handle page fault for address - EIP: khugepaged Message-Id: <20201103161753.27a58af99ba35b94660e8fa3@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Tue, 03 Nov 2020 20:00:58 +0000 bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=210031 > > Bug ID: 210031 > Summary: unable to handle page fault for address - EIP: > khugepaged > Product: Memory Management > Version: 2.5 > Kernel Version: 5.9.1 > Hardware: All > OS: Linux > Tree: Mainline > Status: NEW > Severity: normal > Priority: P1 > Component: Other > Assignee: akpm@linux-foundation.org > Reporter: newsmails@netcourrier.com > Regression: No Thanks. That's a strange looking trace. I'll optimistically cc some people who have been working in that area lately. What caused this kernel to be tainted? > laptop Skylake i915 > Distribution : slackware 14.2 32 bits > > Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle page fault > for address: 021d202d > Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read access in > kernel mode > Oct 23 17:38:22 linuxp kernel: [141330.499250] #PF: error_code(0x0000) - > not-present page > Oct 23 17:38:22 linuxp kernel: [141330.499265] Oops: 0000 [#2] SMP PTI > Oct 23 17:38:22 linuxp kernel: [141330.499274] CPU: 0 PID: 37 Comm: khugepaged > Tainted: G D I 5.9.1 #1 > Oct 23 17:38:22 linuxp kernel: [141330.499278] Hardware name: Notebook > W65_W67RZ/W65_W67RZ, BIOS 1.05.06 02/22/2016 > Oct 23 17:38:22 linuxp kernel: [141330.499289] EIP: khugepaged+0x599/0x2226 > Oct 23 17:38:22 linuxp kernel: [141330.499296] Code: e8 e8 bf 99 00 8b 45 a0 8b > 40 2c 85 c0 75 0e 89 7d 90 8d 43 01 89 45 8c e9 5c fe ff ff 8b 45 a0 8b 80 e4 > 01 00 00 85 c0 75 e5 <8b> 57 2c 89 f8 e8 d3 d6 ff ff 88 85 6c ff ff ff 84 c0 0f > 84 b5 00 > Oct 23 17:38:22 linuxp kernel: [141330.499303] EAX: 00000000 EBX: 0000043a ECX: > 00000000 EDX: e9b0cf88 > Oct 23 17:38:22 linuxp kernel: [141330.499308] ESI: 00000000 EDI: 021d2001 EBP: > eff61f8c ESP: eff61e64 > Oct 23 17:38:22 linuxp kernel: [141330.499314] DS: 007b ES: 007b FS: 00d8 GS: > 00e0 SS: 0068 EFLAGS: 00010246 > Oct 23 17:38:22 linuxp kernel: [141330.499319] CR0: 80050033 CR2: 021d202d CR3: > 2606c000 CR4: 003506f0 > Oct 23 17:38:22 linuxp kernel: [141330.499324] DR0: 00000000 DR1: 00000000 DR2: > 00000000 DR3: 00000000 > Oct 23 17:38:22 linuxp kernel: [141330.499328] DR6: fffe0ff0 DR7: 00000400 > Oct 23 17:38:22 linuxp kernel: [141330.499331] Call Trace: > Oct 23 17:38:22 linuxp kernel: [141330.499348] ? wait_woken+0x67/0x67 > Oct 23 17:38:22 linuxp kernel: [141330.499357] kthread+0xde/0x10a > Oct 23 17:38:22 linuxp kernel: [141330.499364] ? > collapse_pte_mapped_thp+0x468/0x468 > Oct 23 17:38:22 linuxp kernel: [141330.499370] ? kthread_unpark+0x60/0x60 > Oct 23 17:38:22 linuxp kernel: [141330.499377] ret_from_fork+0x1c/0x28 > Oct 23 17:38:22 linuxp kernel: [141330.499382] Modules linked in: appletalk > psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb > videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videodev > bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_core > snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_dev > ledtrig_audio coretemp i915 hwmon iwlmvm r8169 i2c_algo_bit > x86_pkg_temp_thermal mac80211 drm_kms_helper intel_powerclamp rtsx_pci realtek > drm kvm_intel mdio_devres mfd_core libphy kvm intel_gtt irqbypass crc32_pclmul > iwlwifi snd_hda_intel agpgart psmouse evdev crc32c_intel serio_raw fb_sys_fops > cfg80211 snd_intel_dspcfg snd_hda_codec rfkill snd_hda_core syscopyarea wmi > thermal snd_hwdep battery snd_pcm sysfillrect sysimgblt snd_timer xhci_pci > i2c_i801 button xhci_hcd snd i2c_smbus intel_pch_thermal mei_me soundcore video > mei i2c_core acpi_pad ac loop > Oct 23 17:38:22 linuxp kernel: [141330.499482] CR2: 00000000021d202d > Oct 23 17:38:22 linuxp kernel: [141330.499489] ---[ end trace c79bfd2669dd9a27 > ]--- > Oct 23 17:38:22 linuxp kernel: [141330.499497] EIP: m_next+0x1c/0x44 > Oct 23 17:38:22 linuxp kernel: [141330.499503] Code: 24 08 d4 e6 c1 e8 1a 77 e2 > ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58 0c 39 da 74 24 > 8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e 5f 5d c3 be ff ff ff ff > 31 ff 85 > Oct 23 17:38:22 linuxp kernel: [141330.499509] EAX: 021d2001 EBX: 00000000 ECX: > eeb9e56c EDX: eca0f000 > Oct 23 17:38:22 linuxp kernel: [141330.499514] ESI: 00000000 EDI: c128cad0 EBP: > e59bff0c ESP: e59bff00 > Oct 23 17:38:22 linuxp kernel: [141330.499519] DS: 007b ES: 007b FS: 00d8 GS: > 00e0 SS: 0068 EFLAGS: 00010202 > Oct 23 17:38:22 linuxp kernel: [141330.499524] CR0: 80050033 CR2: 021d202d CR3: > 2606c000 CR4: 003506f0 > Oct 23 17:38:22 linuxp kernel: [141330.499529] DR0: 00000000 DR1: 00000000 DR2: > 00000000 DR3: 00000000 > Oct 23 17:38:22 linuxp kernel: [141330.499532] DR6: fffe0ff0 DR7: 00000400 > Oct 23 18:11:53 linuxp kernel: [143342.655918] BUG: unable to handle page fault > for address: 021d2001 > Oct 23 18:11:53 linuxp kernel: [143342.655929] #PF: supervisor read access in > kernel mode > Oct 23 18:11:53 linuxp kernel: [143342.655933] #PF: error_code(0x0000) - > not-present page > Oct 23 18:11:53 linuxp kernel: [143342.655948] Oops: 0000 [#3] SMP PTI > Oct 23 18:11:53 linuxp kernel: [143342.655956] CPU: 2 PID: 6287 Comm: DOM > Worker Tainted: G D I 5.9.1 #1 > Oct 23 18:11:53 linuxp kernel: [143342.655960] Hardware name: Notebook > W65_W67RZ/W65_W67RZ, BIOS 1.05.06 02/22/2016 > Oct 23 18:11:53 linuxp kernel: [143342.655971] EIP: acct_collect+0x4c/0x166 > Oct 23 18:11:53 linuxp kernel: [143342.655978] Code: 00 00 85 c9 0f 84 2c 01 00 > 00 8b 87 a4 02 00 00 83 c0 44 e8 09 8b aa 00 8b 87 a4 02 00 00 8b 00 85 c0 0f > 84 15 01 00 00 31 d2 <2b> 10 03 50 04 8b 40 08 85 c0 75 f4 89 d7 c1 ef 0a 64 a1 > dc 26 1b > Oct 23 18:11:53 linuxp kernel: [143342.655985] EAX: 021d2001 EBX: 0000000f ECX: > eea698c0 EDX: 06744fff > Oct 23 18:11:53 linuxp kernel: [143342.655991] ESI: eed4f900 EDI: e5189700 EBP: > e551de54 ESP: e551de48 > Oct 23 18:11:53 linuxp kernel: [143342.655998] DS: 007b ES: 007b FS: 00d8 GS: > 00e0 SS: 0068 EFLAGS: 00210202 > Oct 23 18:11:53 linuxp kernel: [143342.656004] CR0: 80050033 CR2: 021d2001 CR3: > 250c6000 CR4: 003506f0 > Oct 23 18:11:53 linuxp kernel: [143342.656008] DR0: 00000000 DR1: 00000000 DR2: > 00000000 DR3: 00000000 > Oct 23 18:11:53 linuxp kernel: [143342.656012] DR6: fffe0ff0 DR7: 00000400 > Oct 23 18:11:53 linuxp kernel: [143342.656015] Call Trace: > Oct 23 18:11:53 linuxp kernel: [143342.656024] do_exit+0x168/0xa5d > Oct 23 18:11:53 linuxp kernel: [143342.656033] ? > prepare_to_wait_event+0x5a/0xc8 > Oct 23 18:11:53 linuxp kernel: [143342.656039] do_group_exit+0x35/0x8a > Oct 23 18:11:53 linuxp kernel: [143342.656046] get_signal+0x146/0x88b > Oct 23 18:11:53 linuxp kernel: [143342.656055] arch_do_signal+0x23/0x594 > Oct 23 18:11:53 linuxp kernel: [143342.656064] ? vfs_read+0xe0/0x17f > Oct 23 18:11:53 linuxp kernel: [143342.656071] > exit_to_user_mode_prepare+0xd4/0x135 > Oct 23 18:11:53 linuxp kernel: [143342.656080] > syscall_exit_to_user_mode+0x23/0x14d > Oct 23 18:11:53 linuxp kernel: [143342.656087] do_int80_syscall_32+0x36/0x39 > Oct 23 18:11:53 linuxp kernel: [143342.656093] entry_INT80_32+0xf7/0xf7 > Oct 23 18:11:53 linuxp kernel: [143342.656097] EIP: 0xafc314c4 > Oct 23 18:11:53 linuxp kernel: [143342.656103] Code: 89 38 85 f6 78 73 8d 75 a7 > 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b 7d e8 89 f1 ba 01 00 00 00 b8 03 00 > 00 00 53 89 fb cd 80 <5b> 3d 01 f0 ff ff 72 10 89 c7 f7 df e8 eb ad 3d fd 83 ff > 04 89 38 > Oct 23 18:11:53 linuxp kernel: [143342.656107] EAX: fffffe00 EBX: 00000007 ECX: > 90dfdd9f EDX: 00000001 > Oct 23 18:11:53 linuxp kernel: [143342.656111] ESI: 90dfdd9f EDI: 00000007 EBP: > 90dfddf8 ESP: 90dfdd7c > Oct 23 18:11:53 linuxp kernel: [143342.656115] DS: 007b ES: 007b FS: 0000 GS: > 0033 SS: 007b EFLAGS: 00200206 > Oct 23 18:11:53 linuxp kernel: [143342.656119] Modules linked in: appletalk > psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb > videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videodev > bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_core > snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_dev > ledtrig_audio coretemp i915 hwmon iwlmvm r8169 i2c_algo_bit > x86_pkg_temp_thermal mac80211 drm_kms_helper intel_powerclamp rtsx_pci realtek > drm kvm_intel mdio_devres mfd_core libphy kvm intel_gtt irqbypass crc32_pclmul > iwlwifi snd_hda_intel agpgart psmouse evdev crc32c_intel serio_raw fb_sys_fops > cfg80211 snd_intel_dspcfg snd_hda_codec rfkill snd_hda_core syscopyarea wmi > thermal snd_hwdep battery snd_pcm sysfillrect sysimgblt snd_timer xhci_pci > i2c_i801 button xhci_hcd snd i2c_smbus intel_pch_thermal mei_me soundcore video > mei i2c_core acpi_pad ac loop > Oct 23 18:11:53 linuxp kernel: [143342.656223] CR2: 00000000021d2001 > Oct 23 18:11:53 linuxp kernel: [143342.656230] ---[ end trace c79bfd2669dd9a28 > ]--- > Oct 23 18:11:53 linuxp kernel: [143342.656238] EIP: m_next+0x1c/0x44 > Oct 23 18:11:53 linuxp kernel: [143342.656243] Code: 24 08 d4 e6 c1 e8 1a 77 e2 > ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58 0c 39 da 74 24 > 8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e 5f 5d c3 be ff ff ff ff > 31 ff 85 > Oct 23 18:11:53 linuxp kernel: [143342.656248] EAX: 021d2001 EBX: 00000000 ECX: > eeb9e56c EDX: eca0f000 > Oct 23 18:11:53 linuxp kernel: [143342.656252] ESI: 00000000 EDI: c128cad0 EBP: > e59bff0c ESP: e59bff00 > Oct 23 18:11:53 linuxp kernel: [143342.656258] DS: 007b ES: 007b FS: 00d8 GS: > 00e0 SS: 0068 EFLAGS: 00010202 > Oct 23 18:11:53 linuxp kernel: [143342.656262] CR0: 80050033 CR2: 021d2001 CR3: > 250c6000 CR4: 003506f0 > Oct 23 18:11:53 linuxp kernel: [143342.656266] DR0: 00000000 DR1: 00000000 DR2: > 00000000 DR3: 00000000 > Oct 23 18:11:53 linuxp kernel: [143342.656270] DR6: fffe0ff0 DR7: 00000400 > Oct 23 18:11:53 linuxp kernel: [143342.656274] Fixing recursive fault but > reboot is needed! > > -- > You are receiving this mail because: > You are the assignee for the bug.