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 2B5CEEB64DA for ; Sat, 24 Jun 2023 10:21:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 364B28D0002; Sat, 24 Jun 2023 06:21:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 314118D0001; Sat, 24 Jun 2023 06:21:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1B4E88D0002; Sat, 24 Jun 2023 06:21:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 0867E8D0001 for ; Sat, 24 Jun 2023 06:21:41 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id C70571205FF for ; Sat, 24 Jun 2023 10:21:40 +0000 (UTC) X-FDA: 80937249960.02.6FCC124 Received: from mailout2.dotplex.com (mailout2.dotplex.com [185.231.124.20]) by imf23.hostedemail.com (Postfix) with ESMTP id BA819140015 for ; Sat, 24 Jun 2023 10:21:38 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=elstel.org header.s=dotplex2 header.b=K+ghvmpe; dmarc=pass (policy=quarantine) header.from=elstel.org; spf=pass (imf23.hostedemail.com: domain of estellnb@elstel.org designates 185.231.124.20 as permitted sender) smtp.mailfrom=estellnb@elstel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1687602099; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=YayD2xsPG/u9QipwKVgv8sYGJIMNSUBWm5Mlh00T62A=; b=xGWBDXkxhnrB7TFWmzQvijignwm2RIapeu5O4z1EgWCK3M9wATlKoHmT9gqyzEc6MoxZI8 fE7V8bREZGV54HAiidkGsPrN71BuTJZI9+Y/yWWE4YEUHpmLy5D8fVdSA4h7tGhw+fwTbC F2tkW+kqsW/IfCZQfHM+KtSFUrJedgE= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=elstel.org header.s=dotplex2 header.b=K+ghvmpe; dmarc=pass (policy=quarantine) header.from=elstel.org; spf=pass (imf23.hostedemail.com: domain of estellnb@elstel.org designates 185.231.124.20 as permitted sender) smtp.mailfrom=estellnb@elstel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1687602099; a=rsa-sha256; cv=none; b=l9tqME4Ufw3AvMhRl3P7S3LJKrkOJAKq7W83rvnGs49V+U/VSjo/1Zf7Qaw5LbfIrO7ifT ko+92rCIcxbZ4c7PDSiRMxqoJUjEcWHyWSeAZAIGBOJNiTy+Vw5FVIQZ8UOIaPlwFKbefE o7ayFLbmcbwQQrU3HWBvj3xn6LgDNUk= Received: from remote.ip.hidden (remote.ip.hidden [127.0.0.1]) (Authenticated sender: estellnb@elstel.org) by mailout.dotplex.com (Postfix) with ESMTPSA id E3AAA1FFD9; Sat, 24 Jun 2023 12:21:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elstel.org; s=dotplex2; t=1687602096; bh=YayD2xsPG/u9QipwKVgv8sYGJIMNSUBWm5Mlh00T62A=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=K+ghvmpeu2tNtq9w2E+GyUDHW3zQJoYl/HWE6kz1nYSna89Wu+M4DxHbZjc1+VVdr HUE5IPSNZde2pATWK58pg5GZ6O9xMNP+eb9Ito+laVJtJ+RoZ8X7+PSkpOaBK6gMTs I1QKObULsU81vG6GG+Jw6loaxdZLsdPbZbsFc8Yi5j6YP/8dKMvDXZ81hTT9EHnV/5 Wo7TiIqE8fB7niVNsGCn5nZgVtLTPV62I7gKpw0rRj3I1rQ34GMunIwhX/DozU7yNT pvz6Abxnhpfxk8S26Y9OaZiuiMupzKBYrL9FkqWswCMW02hrJFqZdO4uuzIbJthLbl b8ysBJBdAedww== Date: Sat, 24 Jun 2023 12:21:29 +0200 From: Elmar Stellnberger To: Bagas Sanjaya Cc: Andrew Morton , Thorsten Leemhuis , Linux Kernel Mailing List , Linux Regressions , Linux Memory Management , Linux Stable Subject: Re: Fwd: kernel fault on hibernation: get_zeroed_page/swsusp_write Message-ID: References: <5d4959b7-61da-8ab0-6bc6-21305d37c7aa@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: BA819140015 X-Stat-Signature: jyq9p96ijdgoy7f3po9zbhirkbze5r75 X-Rspam-User: X-HE-Tag: 1687602098-538162 X-HE-Meta: U2FsdGVkX19NnQAUe1TuFZA0tVMAqL7U2xTewAeL1TP9r9Qa+9GUu2uWuCoyKuY9uc/I1puxYE7SI62up8oLgi98k9pc5PxMjiBhzfmEeO/FUy2iCImr5CBoEWI2Tr0XFTysWSeUp5li2d+/F6B3DNBFO6RTvV+cxjnqE630KTSh2WwVuygLdv7noIBMwrT1mc+uce1otpSZRXn6DpyM8ChwOwvZatpI/Qfe07xcveryeGNkt68CTz+WNLa/7sdUdRAtaMrmhfWIyJaimRlzneKTS91hO5zKJIcHwWnZmqE9NUIQnk5Wf8eYkLSbmnyzK3cfeDc8En+T6i8lNLlKVPhQR72bjGlQtF5wY9ezPfxIFuJRyIfN2+dk8u3GqmP3d7N9vh/Z5AzartcsfauXh/jcxdlCWLiGOkAnZCNiLnB2uVCuMhOy3RZsBifB/TrKDVOp2od6e18ICmtJbGl8wabFAw6MrGxXgMwkb3PNoTkl3Qykjevn+y/brNFAVzr4aElSKpg7EBGHTdlJbprwHGbCf9D+kgM+i6zmAo57poIK81ayXKEW7k2tvgzH0NZ0lxJhnKMJTfupymNVR2+HNEg9RxEt4BdXSQq3Y9WTsQshsOrtAcLjluFaEPB5IMi/coDN/Gg2nIflHeXDoCa4K2G/F1fWXpRpFSfWiX0+xyWDdJiPt73aNPz3VHITkBaqAbcKXmkFYKQzUHC60S72Hqq5rO31KjHWJk5Eat8DEhCIihQh4relX9smr5Jxe1up01xx6ic4erP17iShQXaT+Ip2CO3TONre5Rcs13du9ZVbSAANFpF2lYwEgdGFiyjNzcFUeaW91wEyU8WKec9k8+wMaG0Ozno7rGgyAjvGvnx5QEfJGNHs4ATZP1t/gS9GFZ7GhyLU5DiqO7/YT8BoSuz3kS3URR5f/ergE5w8sMLXYC/35Rkd1IALM4AtnOgW7u+8qhbwsuvPXol0zwh +fOGYKaw Hu7mxa4Qvbp8nzmDoC+WaY/gJwafLip1RDuEWM7CnPUMq383eQGgDICt5j8EDFWv+lsJm7E4e4BhPiWSYPuE2yrSYOOtxA/ll8XwzOE0EvE+4d2KX7RhHniYITwCDriUG9WIeuTDu6h+3Jr5CWpw73xLh13kk6Gep3w1y5BryS72nPYKqDx3FZRUZJ+0a0sG7i9Y27cKdxopORJYRtyLQHELhVbK0Dvoltnfj/XmwfvOV+liICPKFnVdbop5Q9RjKrF1kVZwZ6/WO49kE54TM3NQMgSS/WY/uuancEPO7mo/N80vH0GCYy0VgJeGL9K6S2JvL 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: Hi Bagas S., Hi all concerns: Bug 217544 - kernel fault on hibernation: get_zeroed_page/swsusp_write https://bugzilla.kernel.org/show_bug.cgi?id=217544 Bisection does not make sense here, since I can not reproduce the issue. Packing the kernel binaries and symbol files was meant to invoke gdb directly on the kcore: > /usr/src/kernel-6.3.7-desktop586-1.mga9/scripts/extract-vmlinux vmlinuz-6.3.7-desktop-1.mga9 >vmlinux > file vmlinuz-6.3.7-desktop-1.mga9 vmlinuz-6.3.7-desktop-1.mga9: Linux kernel x86 boot executable bzImage, version 6.3.7-desktop-1.mga9 (iurt@ecosse.mageia.org) #1 SMP PREEMPT_DYNAMIC Fri Jun 9 17:47:53 UTC 2023, RO-rootFS, swap_dev 0X6, Normal VGA > file vmlinux vmlinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, BuildID[sha1]=942674511321671b33c739cceddb1e3a48a17895, stripped > grep __alloc_pages /boot/System.map... 0xc03758... T __alloc_pages > gdb vmlinux kcore # x/5i 0xc03758.. Am Sat, Jun 24, 2023 at 08:25:39AM +0700 schrieb Bagas Sanjaya: > Also, you don't need to upload full kernel images instead; people can > grab /proc/config.gz you uploaded on Bugzilla and then `make olddefconfig` > from it. > I would heavily doubt that the same symbols would get to be located at the same address if you started to compile from source, even if you applied all Mageia specific patches. We would need reproducible builds for that. Nonetheless you are free to check whether the symbols will reside at the same place in your System.map afterwards. I wonder whether there is a way to convert the System.map text file (which looks to me like the output of 'nm -S') back into an elf section to be added to the stripped vmlinux with objcopy. Shouldn´t there be a script/ for this? :: Sometimes you have only one chance to catch a bug. Cheers, Elmar Am Sat, Jun 24, 2023 at 08:25:39AM +0700 schrieb Bagas Sanjaya: > On Fri, Jun 23, 2023 at 06:17:05PM +0200, Elmar Stellnberger wrote: > Can you attach [1] to your Bugzilla report? Also, any report on bisection? Pardon, what is [1]?