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=-4.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 9295CC2D0A3 for ; Wed, 4 Nov 2020 09:03:20 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2079B2220B for ; Wed, 4 Nov 2020 09:03:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=netcourrier.com header.i=@netcourrier.com header.b="APTdQS9O" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2079B2220B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=netcourrier.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 586DE6B006C; Wed, 4 Nov 2020 04:03:18 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 536F96B006E; Wed, 4 Nov 2020 04:03:18 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 44EAA6B0070; Wed, 4 Nov 2020 04:03:18 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0218.hostedemail.com [216.40.44.218]) by kanga.kvack.org (Postfix) with ESMTP id 0FFF96B006C for ; Wed, 4 Nov 2020 04:03:18 -0500 (EST) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 94A0C68AB for ; Wed, 4 Nov 2020 09:03:17 +0000 (UTC) X-FDA: 77446146834.25.boot15_0a098ef272c0 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin25.hostedemail.com (Postfix) with ESMTP id 696271804E3A8 for ; Wed, 4 Nov 2020 09:03:17 +0000 (UTC) X-HE-Tag: boot15_0a098ef272c0 X-Filterd-Recvd-Size: 13971 Received: from msg-1.mailo.com (msg-1.mailo.com [213.182.54.11]) by imf38.hostedemail.com (Postfix) with ESMTP for ; Wed, 4 Nov 2020 09:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=netcourrier.com; s=mailo; t=1604480582; bh=tvK9p+u9ybwgvUG9krHja8w8z/JVzXllRs3VDj/Vexg=; h=X-EA-Auth:Reply-To:Subject:To:Cc:References:From:Message-ID:Date: MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=APTdQS9OIDnANaHllfcnFfQAjNyFL1D3MEk6yHbAy/Tk9IXS7KlMdOLTBiyjy0OzG GghgajfLMaRSArOtZPHhlfpyWFK2x+AVdUsJZN8iXAY/ZtMsK1OVIu/5IAKFA8Bz4B 5yXgW9BDEMp3K2ZY2HXc46Dw3z4dyH1fWJQuRSeo= Received: by b-5.in.mailobj.net [192.168.90.15] with ESMTP via ip-206.mailobj.net [213.182.55.206] Wed, 4 Nov 2020 10:03:02 +0100 (CET) X-EA-Auth: ZH2uf2FMpgYnytdn6Kdhv90yrLG7MefofnLfdj36XfC23q1YRO07HTuDGtltx0qrBqazEBIES6tnWCafYwl52Yr7Okf5elVCe6hde33hF5o= Reply-To: newsmails@netcourrier.com Subject: Re: [Bug 210031] New: unable to handle page fault for address - EIP: khugepaged To: Andrew Morton Cc: bugzilla-daemon@bugzilla.kernel.org, linux-mm@kvack.org, Song Liu , "Kirill A. Shutemov" , Johannes Weiner , Oleg Nesterov References: <20201103161753.27a58af99ba35b94660e8fa3@linux-foundation.org> From: Newsmails Message-ID: <20c13261-0f8b-741c-5c1a-c7ab3d6cf3cf@netcourrier.com> Date: Wed, 4 Nov 2020 10:03:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201103161753.27a58af99ba35b94660e8fa3@linux-foundation.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 11/4/20 1:17 AM, Andrew Morton wrote: > (switched to email. Please respond via emailed reply-to-all, not via t= he > 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=3D210031 >> >> 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? > I always use hibernate. I also use firefox with=C2=A0 some tabs and it uses a lot of memory. (I h= ave=20 a 4 Go laptop) I have a lot of bugs when I resume. This bug arises when I resume. The first occurence in syslog is in march : May 17 08:09:21 linuxp kernel: [100318.618834] BUG: unable to handle=20 kernel paging request at 024f402d May 17 08:09:21 linuxp kernel: [100318.618842] #PF error: [normal kernel=20 read fault] May 17 08:09:21 linuxp kernel: [100318.618855] Oops: 0000 [#1] SMP PTI May 17 08:09:21 linuxp kernel: [100318.618862] CPU: 3 PID: 36 Comm:=20 khugepaged Tainted: G=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 O=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 5.0.11 #1 May 17 08:09:21 linuxp kernel: [100318.618866] Hardware name:=20 Notebook=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 W65_W67RZ/W65_W67RZ, BIOS 1.05.06=20 02/22/2016 May 17 08:09:21 linuxp kernel: [100318.618877] EIP: khugepaged+0x506/0x33= 10 With "BUG: unable to handle page fault for address" there are several=20 EIP in syslog file : Jan 22 08:12:44 linuxp kernel: [ 9791.101301] EIP:=20 kmem_cache_alloc+0x8b/0x270 Nov=C2=A0 3 08:27:22 linuxp kernel: [74582.477572] EIP:=20 __reset_isolation_pfn+0x190/0x250 Oct=C2=A0 8 23:45:20 linuxp kernel: [21038.109924] EIP: __fput+0x49/0x250 I am an end-user so I can't give more info... >> laptop Skylake i915 >> Distribution : slackware 14.2 32 bits >> >> Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle p= age fault >> for address: 021d202d >> Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read ac= cess 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: kh= ugepaged >> 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/0= x2226 >> 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 8= b 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: 0000= 043a ECX: >> 00000000 EDX: e9b0cf88 >> Oct 23 17:38:22 linuxp kernel: [141330.499308] ESI: 00000000 EDI: 021d= 2001 EBP: >> eff61f8c ESP: eff61e64 >> Oct 23 17:38:22 linuxp kernel: [141330.499314] DS: 007b ES: 007b FS: 0= 0d8 GS: >> 00e0 SS: 0068 EFLAGS: 00010246 >> Oct 23 17:38:22 linuxp kernel: [141330.499319] CR0: 80050033 CR2: 021d= 202d CR3: >> 2606c000 CR4: 003506f0 >> Oct 23 17:38:22 linuxp kernel: [141330.499324] DR0: 00000000 DR1: 0000= 0000 DR2: >> 00000000 DR3: 00000000 >> Oct 23 17:38:22 linuxp kernel: [141330.499328] DR6: fffe0ff0 DR7: 0000= 0400 >> 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/0x2= 8 >> Oct 23 17:38:22 linuxp kernel: [141330.499382] Modules linked in: appl= etalk >> psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb >> videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videod= ev >> bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_cor= e >> 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 crc3= 2_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 syscopyare= a 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 soundc= ore 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 c79bfd26= 69dd9a27 >> ]--- >> 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 d= a 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: 0000= 0000 ECX: >> eeb9e56c EDX: eca0f000 >> Oct 23 17:38:22 linuxp kernel: [141330.499514] ESI: 00000000 EDI: c128= cad0 EBP: >> e59bff0c ESP: e59bff00 >> Oct 23 17:38:22 linuxp kernel: [141330.499519] DS: 007b ES: 007b FS: 0= 0d8 GS: >> 00e0 SS: 0068 EFLAGS: 00010202 >> Oct 23 17:38:22 linuxp kernel: [141330.499524] CR0: 80050033 CR2: 021d= 202d CR3: >> 2606c000 CR4: 003506f0 >> Oct 23 17:38:22 linuxp kernel: [141330.499529] DR0: 00000000 DR1: 0000= 0000 DR2: >> 00000000 DR3: 00000000 >> Oct 23 17:38:22 linuxp kernel: [141330.499532] DR6: fffe0ff0 DR7: 0000= 0400 >> Oct 23 18:11:53 linuxp kernel: [143342.655918] BUG: unable to handle p= age fault >> for address: 021d2001 >> Oct 23 18:11:53 linuxp kernel: [143342.655929] #PF: supervisor read ac= cess 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 8= 5 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: 0000= 000f ECX: >> eea698c0 EDX: 06744fff >> Oct 23 18:11:53 linuxp kernel: [143342.655991] ESI: eed4f900 EDI: e518= 9700 EBP: >> e551de54 ESP: e551de48 >> Oct 23 18:11:53 linuxp kernel: [143342.655998] DS: 007b ES: 007b FS: 0= 0d8 GS: >> 00e0 SS: 0068 EFLAGS: 00210202 >> Oct 23 18:11:53 linuxp kernel: [143342.656004] CR0: 80050033 CR2: 021d= 2001 CR3: >> 250c6000 CR4: 003506f0 >> Oct 23 18:11:53 linuxp kernel: [143342.656008] DR0: 00000000 DR1: 0000= 0000 DR2: >> 00000000 DR3: 00000000 >> Oct 23 18:11:53 linuxp kernel: [143342.656012] DR6: fffe0ff0 DR7: 0000= 0400 >> 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/0x8= a >> 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/0x= 594 >> 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+0x= 36/0x39 >> Oct 23 18:11:53 linuxp kernel: [143342.656093] entry_INT80_32+0xf7/0x= f7 >> 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 b= 8 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: 0000= 0007 ECX: >> 90dfdd9f EDX: 00000001 >> Oct 23 18:11:53 linuxp kernel: [143342.656111] ESI: 90dfdd9f EDI: 0000= 0007 EBP: >> 90dfddf8 ESP: 90dfdd7c >> Oct 23 18:11:53 linuxp kernel: [143342.656115] DS: 007b ES: 007b FS: 0= 000 GS: >> 0033 SS: 007b EFLAGS: 00200206 >> Oct 23 18:11:53 linuxp kernel: [143342.656119] Modules linked in: appl= etalk >> psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb >> videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videod= ev >> bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_cor= e >> 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 crc3= 2_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 syscopyare= a 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 soundc= ore 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 c79bfd26= 69dd9a28 >> ]--- >> 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 d= a 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: 0000= 0000 ECX: >> eeb9e56c EDX: eca0f000 >> Oct 23 18:11:53 linuxp kernel: [143342.656252] ESI: 00000000 EDI: c128= cad0 EBP: >> e59bff0c ESP: e59bff00 >> Oct 23 18:11:53 linuxp kernel: [143342.656258] DS: 007b ES: 007b FS: 0= 0d8 GS: >> 00e0 SS: 0068 EFLAGS: 00010202 >> Oct 23 18:11:53 linuxp kernel: [143342.656262] CR0: 80050033 CR2: 021d= 2001 CR3: >> 250c6000 CR4: 003506f0 >> Oct 23 18:11:53 linuxp kernel: [143342.656266] DR0: 00000000 DR1: 0000= 0000 DR2: >> 00000000 DR3: 00000000 >> Oct 23 18:11:53 linuxp kernel: [143342.656270] DR6: fffe0ff0 DR7: 0000= 0400 >> Oct 23 18:11:53 linuxp kernel: [143342.656274] Fixing recursive fault = but >> reboot is needed! >> >> --=20 >> You are receiving this mail because: >> You are the assignee for the bug.