From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-kernel-owner@vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by smtp.lore.kernel.org (Postfix) with ESMTP id EF12CEB64D7
	for <linux-kernel@archiver.kernel.org>; Fri, 23 Jun 2023 12:36:51 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S231332AbjFWMgu (ORCPT <rfc822;linux-kernel@archiver.kernel.org>);
        Fri, 23 Jun 2023 08:36:50 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56662 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S230168AbjFWMgr (ORCPT
        <rfc822;linux-kernel@vger.kernel.org>);
        Fri, 23 Jun 2023 08:36:47 -0400
Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57CBB10C1;
        Fri, 23 Jun 2023 05:36:45 -0700 (PDT)
Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1b52bf6e66aso3024775ad.3;
        Fri, 23 Jun 2023 05:36:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20221208; t=1687523805; x=1690115805;
        h=content-transfer-encoding:subject:from:cc:to:content-language
         :user-agent:mime-version:date:message-id:from:to:cc:subject:date
         :message-id:reply-to;
        bh=fRFszYI+9Qw1I1IAdyHoXb57hiMrn2v6H8gZ9EF6v9U=;
        b=L5R0/RAydkwltXsXehskQEBkNzFK4/MVvfMkBTioAsH8bRDuO3IsG058ILG/Fm3Y/G
         q/d127dskB6hmxwbGWh72gS2E/dzane7nlYj+aDK8vEV6KJtLCHGE5s24WDq7f1/BDo0
         EIGRIDHQz+aC+jDkbF/4t+wzL9pazKMWD/PqHjXsGbK7iX5Ug7fKqsmDnxuZkBVvHIFn
         LvppyyltF194+L4JZb7xQ2O6NPZ4xxbASCq+5d5RjthX5JsMVWm5GJwpDh20+51pm3C9
         AhS/RolaCcrYEbRterYhnk+hzAO0w1GzAgJh0YH+Ei4eisrgOEEFOVqQj+Ne1HjR+bv1
         Gwtw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20221208; t=1687523805; x=1690115805;
        h=content-transfer-encoding:subject:from:cc:to:content-language
         :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
         :cc:subject:date:message-id:reply-to;
        bh=fRFszYI+9Qw1I1IAdyHoXb57hiMrn2v6H8gZ9EF6v9U=;
        b=kR4n74m6xIU+L0MGm+7t4nroC9svQXNketNgeOYbpx+qOQkf7Vo4ivf1GnRg2Tn61r
         BhiHk7VkWfMamwkqthnG/Cdz17JKtuwJ7k2Y+FosW5IE5en6BoXY1gm7UXIFEXXlM1Gu
         2HU0MjziJJR/hF2agNrABL6N35GwJ/24mSd1XajN1hqg4BMvYb8t0H3LuXKALXWLQmTR
         i/bSQIIpIJ5E6Mfsh02G3GeFDnpxHqKGYIhul288xkVWvXlrOPqBqb8sgQ1EhyAihuTX
         HJjYny/WW9nfa+BOoucxlYghcrjUjAAu11e2QDTKfbHd21wWKfQD8ksoUDpXv3PyQHTt
         0n2A==
X-Gm-Message-State: AC+VfDxLKPvR5zJ6CtqaMCa51LyQmrCxMLfOUASVVRavFcgPP7/KBvq3
        28LgYJsQxi+iiLdc5Ff03cE=
X-Google-Smtp-Source: ACHHUZ5G3Xm07SkD9tSvZjIav/cQnBT+Rn3G8kuel8ZSZvnXQ5c9RcE/3DmDQVTFKqgtT1WcEiasPA==
X-Received: by 2002:a17:902:bb96:b0:1ac:8837:de9 with SMTP id m22-20020a170902bb9600b001ac88370de9mr8065763pls.3.1687523804673;
        Fri, 23 Jun 2023 05:36:44 -0700 (PDT)
Received: from [192.168.0.103] ([103.131.18.64])
        by smtp.gmail.com with ESMTPSA id c15-20020a170903234f00b001b694130c05sm5414045plh.1.2023.06.23.05.36.33
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Fri, 23 Jun 2023 05:36:44 -0700 (PDT)
Message-ID: <5d4959b7-61da-8ab0-6bc6-21305d37c7aa@gmail.com>
Date:   Fri, 23 Jun 2023 19:36:21 +0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.12.0
Content-Language: en-US
To:     Andrew Morton <akpm@linux-foundation.org>,
        Elmar Stellnberger <estellnb@elstel.org>,
        Thorsten Leemhuis <regressions@leemhuis.info>
Cc:     Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Regressions <regressions@lists.linux.dev>,
        Linux Memory Management <linux-mm@kvack.org>,
        Linux Stable <stable@vger.kernel.org>
From:   Bagas Sanjaya <bagasdotme@gmail.com>
Subject: Fwd: kernel fault on hibernation: get_zeroed_page/swsusp_write
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: bulk
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-kernel@vger.kernel.org

Hi,

I notice a regression report on Bugzilla [1]. Quoting from it:

> page allocation error using kernel 6.3.7-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC, from Fr 09 Jun 2023 22:57:31, Key ID b742fa8b80420f66; see the backtrace in the dmesg
>> cat /proc/cpuinfo
> siblings	: 4
> core id		: 1
> cpu cores	: 2
> ...
> type: regression, worked with the previous kernel, namely 6.3.6, Mo 05 Jun 2023 21:37:15, Key ID b742fa8b80420f66 before updating today

And then:

> The first hibernation attempt resulted in the backtrace you can see in the dmesg above, my second hibernation attempt from a text console (vt03 or so) has worked without errors and the third one I tried to do from the GUI/X11 again; see the debug options I had turned on). On the third attempt something strange did happen. It seemed to write to disk as it should, the screen turned black but the power led and button still stayed alighted. Waking up by pressing the power button did not yield any effect, nor the SysRq keys (alas forgot to write 511 to >/proc/sys/kernel/sysrq). After a hard power reset it booted as if not hibernated. On the first hibernation attempt I could see lengthy and intermittent disk access. On the third attempt I had waited for some considerable time.

See Bugzilla for the full thread and attached infos (dmesg, journalctl,
stack trace disassembly).

Unfortunately, the reporter can't provide /proc/kcore output
and haven't performed bisection yet (he can't build custom kernel).

Anyway, I'm adding it to regzbot (as stable-specific regression) for now:

#regzbot introduced: v6.3.6..v6.3.7 https://bugzilla.kernel.org/show_bug.cgi?id=217544
#regzbot title: page allocation error (kernel fault on hibernation involving get_zeroed_page/swsusp_write)
#regzbot link: https://bugs.mageia.org/show_bug.cgi?id=32044

Thanks.

[1]: https://bugzilla.kernel.org/show_bug.cgi?id=217544

-- 
An old man doll... just what I always wanted! - Clara

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-kernel-owner@vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 664DEEB64D7
	for <linux-kernel@archiver.kernel.org>; Fri, 23 Jun 2023 16:24:45 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S231773AbjFWQYn (ORCPT <rfc822;linux-kernel@archiver.kernel.org>);
        Fri, 23 Jun 2023 12:24:43 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41106 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S229449AbjFWQYk (ORCPT
        <rfc822;linux-kernel@vger.kernel.org>);
        Fri, 23 Jun 2023 12:24:40 -0400
X-Greylist: delayed 445 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 23 Jun 2023 09:24:37 PDT
Received: from mailout2.dotplex.com (mailout2.dotplex.com [185.231.124.20])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72F3B270E;
        Fri, 23 Jun 2023 09:24:37 -0700 (PDT)
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 6D5641FF06;
        Fri, 23 Jun 2023 18:17:07 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elstel.org;
        s=dotplex2; t=1687537027;
        bh=ibJco1/keng6BHqY4pn+cxp3AoxrQQMtj2UyXiQeCTY=;
        h=Date:From:To:Cc:Subject:References:In-Reply-To;
        b=NRZlvaOjx7CtQ1Bk0/LpVDWWglv62lxb/52ZqBH3wBbgnp9n2IGqFW6iu+jZvDUoP
         rwIM76zzoLupyHFwBa2f3ghF2tStgiR9L5jRqReYLqLc2qMojWuOiorQAKGLR0n4r0
         cKgO9v6lRipKD1s+7DFECcab4qpuKZQS/Vp5BO1/oynRBCtH/e6C+a/gkGk442oiPn
         QBsBqosn8c3reRxXmEsPk6cOWDr7+gRBRIM2gxeegzBZZGE1xsJLVqYVtbZONjwajl
         dTcwwl/8MHDMFUbSWYutyPCI25DgY14aGABbz2JBkj4ni7p6gzyjV4s/0yRrafWdWZ
         pbU3eT6AKr8zQ==
Date:   Fri, 23 Jun 2023 18:17:05 +0200
From:   Elmar Stellnberger <estellnb@elstel.org>
To:     Bagas Sanjaya <bagasdotme@gmail.com>
Cc:     Andrew Morton <akpm@linux-foundation.org>,
        Thorsten Leemhuis <regressions@leemhuis.info>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Regressions <regressions@lists.linux.dev>,
        Linux Memory Management <linux-mm@kvack.org>,
        Linux Stable <stable@vger.kernel.org>
Subject: Re: Fwd: kernel fault on hibernation: get_zeroed_page/swsusp_write
Message-ID: <ZJXFgfldS6W_LCiI@mail.dotplex.com>
References: <5d4959b7-61da-8ab0-6bc6-21305d37c7aa@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <5d4959b7-61da-8ab0-6bc6-21305d37c7aa@gmail.com>
User-Agent: Mutt (Linux i686)
Precedence: bulk
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-kernel@vger.kernel.org

Hi all, Hi Bagas S.

As the issue didn't reproduce the way I would have liked (did not
reproduce at all here, not even with the same kernel version; no
further comment) I have now uploaded the /proc/kcore and the kernel
binaries and symbol files I still had on disk at
https://upload.elstel.info (This may move to something like
upload.elstel.info/bugs/kernpagealloc in the future)

Regards,
Elmar

Am Fri, Jun 23, 2023 at 07:36:21PM +0700 schrieb Bagas Sanjaya:
> Hi,
> 
> I notice a regression report on Bugzilla [1]. Quoting from it:
> 
> > page allocation error using kernel 6.3.7-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC, from Fr 09 Jun 2023 22:57:31, Key ID b742fa8b80420f66; see the backtrace in the dmesg
> >> cat /proc/cpuinfo
> > siblings	: 4
> > core id		: 1
> > cpu cores	: 2
> > ...
> > type: regression, worked with the previous kernel, namely 6.3.6, Mo 05 Jun 2023 21:37:15, Key ID b742fa8b80420f66 before updating today
> 
> And then:
> 
> > The first hibernation attempt resulted in the backtrace you can see in the dmesg above, my second hibernation attempt from a text console (vt03 or so) has worked without errors and the third one I tried to do from the GUI/X11 again; see the debug options I had turned on). On the third attempt something strange did happen. It seemed to write to disk as it should, the screen turned black but the power led and button still stayed alighted. Waking up by pressing the power button did not yield any effect, nor the SysRq keys (alas forgot to write 511 to >/proc/sys/kernel/sysrq). After a hard power reset it booted as if not hibernated. On the first hibernation attempt I could see lengthy and intermittent disk access. On the third attempt I had waited for some considerable time.
> 
> See Bugzilla for the full thread and attached infos (dmesg, journalctl,
> stack trace disassembly).
> 
> Unfortunately, the reporter can't provide /proc/kcore output
> and haven't performed bisection yet (he can't build custom kernel).
> 
> Anyway, I'm adding it to regzbot (as stable-specific regression) for now:
> 
> #regzbot introduced: v6.3.6..v6.3.7 https://bugzilla.kernel.org/show_bug.cgi?id=217544
> #regzbot title: page allocation error (kernel fault on hibernation involving get_zeroed_page/swsusp_write)
> #regzbot link: https://bugs.mageia.org/show_bug.cgi?id=32044
> 
> Thanks.
> 
> [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217544
> 
> -- 
> An old man doll... just what I always wanted! - Clara

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-kernel-owner@vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by smtp.lore.kernel.org (Postfix) with ESMTP id F1228EB64DD
	for <linux-kernel@archiver.kernel.org>; Sat, 24 Jun 2023 01:34:58 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S231715AbjFXBeu (ORCPT <rfc822;linux-kernel@archiver.kernel.org>);
        Fri, 23 Jun 2023 21:34:50 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57914 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S229543AbjFXBer (ORCPT
        <rfc822;linux-kernel@vger.kernel.org>);
        Fri, 23 Jun 2023 21:34:47 -0400
Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5644213A;
        Fri, 23 Jun 2023 18:34:45 -0700 (PDT)
Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-6686c74183cso1050759b3a.1;
        Fri, 23 Jun 2023 18:34:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20221208; t=1687570485; x=1690162485;
        h=in-reply-to:content-disposition:mime-version:references:message-id
         :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to;
        bh=NweAbjy52dJmvgrS5Se3FN0lnSLavmsB+nKxFGPGvW0=;
        b=VSGfQTWVWsbp9D+RhlgroWtsItjwsd+PAsju+hPuWGHSmM2/N6JW/0cyml04B5fnDA
         S6Oja8X71oM1CVdjhclXpm3mU3WwX/vzDHeHPqLfz5PFyuGHNzknB3hAjH89MEMfszI0
         D7qh7o4mervwSD6aRKthAHFjjCLVmOG90BqJ9r4jfR91KjFoFLHUN4FPNi4/od9UnaAP
         Fu5sq0g8N68zOOIGbpCp+pGjSvzyN7kt9GY5h52bNLOGoaAOZk2lbrB25Lzve2A9CmcD
         lTosl3lLEdYxYlsRATwecnEOk19Eeu5zot2eFK45XTNHzPSdVRyu1GAszlfdQ2LQMVbM
         O8Ng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20221208; t=1687570485; x=1690162485;
        h=in-reply-to:content-disposition:mime-version:references:message-id
         :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to;
        bh=NweAbjy52dJmvgrS5Se3FN0lnSLavmsB+nKxFGPGvW0=;
        b=f3J7dNBQlGrxy3qJc5an1Oa/Gt7mU+76Dr/w2RN/AAQzxHclgqPDG5aBIZdKv4alNu
         cDtR0hfn0sx0I+1DvUSZ19aOcXPQN0qFLUL+oSVi1zfEIKqzFtEYDYDQIXc20W1w4AF2
         38ZaaMWfdNIt5IWJKHqLW2HMCJtgzbfBkFW5KGtvlEPkevC8v5uLf1nuhgNYiZpK3B4F
         oDw2FfY1hJ9ePmw4pGF5awf2WEN0JLUivNOdq3hk6tDfeCdNvWZoF8HZDTLI8wHdgV2e
         vZKjtcbMTZnGe568WlFjHwGz2LZKOHY9E7gtxXVoInd0SWpgv7WagBVLXVInq7+Q2NyW
         YZpQ==
X-Gm-Message-State: AC+VfDyGde3DaAS4cbbmDMlYHgUhXwVjxPW+gcGeDjD9JWHRgStyrIsO
        N+d1XuQ7HTwhXU/9mmTzBcgVYSs0DAFYow==
X-Google-Smtp-Source: ACHHUZ4EaqFt6nWD83dMOJjUmyNBRz7LaE9yDDNtm67kqPMvxGc6jCP04lmsfP6QNI8sfJL/8U7eVw==
X-Received: by 2002:a05:6a20:2588:b0:11d:2764:d9c1 with SMTP id k8-20020a056a20258800b0011d2764d9c1mr27851326pzd.51.1687570485339;
        Fri, 23 Jun 2023 18:34:45 -0700 (PDT)
Received: from debian.me ([103.131.18.64])
        by smtp.gmail.com with ESMTPSA id 24-20020a631258000000b0054fe07d2f3dsm240316pgs.11.2023.06.23.18.34.40
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Fri, 23 Jun 2023 18:34:44 -0700 (PDT)
Received: by debian.me (Postfix, from userid 1000)
        id 467208BFA791; Sat, 24 Jun 2023 08:25:40 +0700 (WIB)
Date:   Sat, 24 Jun 2023 08:25:39 +0700
From:   Bagas Sanjaya <bagasdotme@gmail.com>
To:     Elmar Stellnberger <estellnb@elstel.org>
Cc:     Andrew Morton <akpm@linux-foundation.org>,
        Thorsten Leemhuis <regressions@leemhuis.info>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Regressions <regressions@lists.linux.dev>,
        Linux Memory Management <linux-mm@kvack.org>,
        Linux Stable <stable@vger.kernel.org>
Subject: Re: Fwd: kernel fault on hibernation: get_zeroed_page/swsusp_write
Message-ID: <ZJZGE4ZxJzrhRznA@debian.me>
References: <5d4959b7-61da-8ab0-6bc6-21305d37c7aa@gmail.com>
 <ZJXFgfldS6W_LCiI@mail.dotplex.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
        protocol="application/pgp-signature"; boundary="r2ki5HdcOTzEK4x7"
Content-Disposition: inline
In-Reply-To: <ZJXFgfldS6W_LCiI@mail.dotplex.com>
Precedence: bulk
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-kernel@vger.kernel.org


--r2ki5HdcOTzEK4x7
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 23, 2023 at 06:17:05PM +0200, Elmar Stellnberger wrote:
> Hi all, Hi Bagas S.
>=20
> As the issue didn't reproduce the way I would have liked (did not
> reproduce at all here, not even with the same kernel version; no
> further comment) I have now uploaded the /proc/kcore and the kernel
> binaries and symbol files I still had on disk at
> https://upload.elstel.info (This may move to something like
> upload.elstel.info/bugs/kernpagealloc in the future)
>=20

First, tl;dr:

> A: http://en.wikipedia.org/wiki/Top_post
> Q: Were do I find info about this thing called top-posting?
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>=20
> A: No.
> Q: Should I include quotations after my reply?
>=20
> http://daringfireball.net/2007/07/on_top

Can you attach [1] to your Bugzilla report? Also, any report on bisection?

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`
=66rom it.

Anyway, telling regzbot:

#regzbot link: https://upload.elstel.info/kcore.xz

Thanks.

[1]: https://upload.elstel.info/kcore.xz

--=20
An old man doll... just what I always wanted! - Clara

--r2ki5HdcOTzEK4x7
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZJZGCwAKCRD2uYlJVVFO
o8DMAQC6zR1yWAa7UjG6IkGQnqbipk2vCuN918vTrru6uzJIMQEA3roDgr7VTrHm
nimvRUDgB4IcrFpNlJFzdVpaRrSpDws=
=DDa0
-----END PGP SIGNATURE-----

--r2ki5HdcOTzEK4x7--

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-kernel-owner@vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 25FB6EB64DA
	for <linux-kernel@archiver.kernel.org>; Sat, 24 Jun 2023 10:21:47 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S232525AbjFXKVo (ORCPT <rfc822;linux-kernel@archiver.kernel.org>);
        Sat, 24 Jun 2023 06:21:44 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36074 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S231966AbjFXKVl (ORCPT
        <rfc822;linux-kernel@vger.kernel.org>);
        Sat, 24 Jun 2023 06:21:41 -0400
Received: from mailout2.dotplex.com (mailout2.dotplex.com [185.231.124.20])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37C981BF2;
        Sat, 24 Jun 2023 03:21:39 -0700 (PDT)
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 <estellnb@elstel.org>
To:     Bagas Sanjaya <bagasdotme@gmail.com>
Cc:     Andrew Morton <akpm@linux-foundation.org>,
        Thorsten Leemhuis <regressions@leemhuis.info>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Regressions <regressions@lists.linux.dev>,
        Linux Memory Management <linux-mm@kvack.org>,
        Linux Stable <stable@vger.kernel.org>
Subject: Re: Fwd: kernel fault on hibernation: get_zeroed_page/swsusp_write
Message-ID: <ZJbDqStCNfdpwObE@mail.dotplex.com>
References: <5d4959b7-61da-8ab0-6bc6-21305d37c7aa@gmail.com>
 <ZJXFgfldS6W_LCiI@mail.dotplex.com>
 <ZJZGE4ZxJzrhRznA@debian.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <ZJZGE4ZxJzrhRznA@debian.me>
Precedence: bulk
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-kernel@vger.kernel.org

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]?


From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-kernel-owner@vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 8C82EEB64DD
	for <linux-kernel@archiver.kernel.org>; Sat, 24 Jun 2023 12:16:08 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S233000AbjFXMQH (ORCPT <rfc822;linux-kernel@archiver.kernel.org>);
        Sat, 24 Jun 2023 08:16:07 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47112 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S231707AbjFXMQF (ORCPT
        <rfc822;linux-kernel@vger.kernel.org>);
        Sat, 24 Jun 2023 08:16:05 -0400
Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74FB81BFC;
        Sat, 24 Jun 2023 05:16:04 -0700 (PDT)
Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-666ecf9a081so1395399b3a.2;
        Sat, 24 Jun 2023 05:16:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20221208; t=1687608964; x=1690200964;
        h=content-transfer-encoding:in-reply-to:from:content-language
         :references:cc:to:subject:user-agent:mime-version:date:message-id
         :from:to:cc:subject:date:message-id:reply-to;
        bh=Q5gqXPV4PTFmPbh9Zh+d+AFfgDSYPHvyuQvmSWXaCHM=;
        b=GSlyV/6jSVuH94sgYqU5l2hZ/vFLVm17jC73az92Vrcd2d/BFlXXxFFxzf6Vp30FCx
         tVRrSaAozJxD7ShYaUpUlNDY7siYc3h8j9GhCsVR6eCxllgrTEWB0U7uzwfTTYVI6W7x
         AZbfqlbw9T8QYbUXWyw6VwUByWJZcodGY9vyeASiKn2e9Di8ypFNy1fgw4BBjstTdrzn
         xCeqoyS/osXPg4iWIkkCAtppNK12CFynje23SverEgCXnwis39rppObDTejJyCXqTh1s
         CmVAglsURQcjwkjzADdbhyt1JRDe0FI6ASOdtcXJ0akfAeNh/nzjQx8y2KlFhcvajhb+
         TpYw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20221208; t=1687608964; x=1690200964;
        h=content-transfer-encoding:in-reply-to:from:content-language
         :references:cc:to:subject:user-agent:mime-version:date:message-id
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
        bh=Q5gqXPV4PTFmPbh9Zh+d+AFfgDSYPHvyuQvmSWXaCHM=;
        b=Awi2QLudna7leKo3WY9dMUSZZ41cSL8de/RzArkMDrfypfpNuX/Mb8vqZswVnlJzmB
         NEURqPr5mEgoX/gL2KZ8v9VuVhVeoSGgofnkE/CuJrkUZWyLoCFZTZ4V7f6a6CspfwyX
         /QX3xvFLZrLr13i7Kr9ljkn6H7FjKnGsqlYIi2m7UViCd25muqWCt1iPtuqOIxw7gAJ8
         6izPSEIXNg2fQg7s4wMni9umLOu2uJP2IM9z2eo2ZLEVYmG7DarXwqq2duEdCdlpQ+fc
         KVi8vgMbXYT8Sec/iCbSt/86sz7OsbaXsx4dRrJ6PDUdLu9j2h1ifzTg2aBtp0nyO4G2
         RfSg==
X-Gm-Message-State: AC+VfDx355Ju6dJvirTvZRckvefSwiGDyYUD3Hxz+Y3qMcAXkjsWSx9i
        dL7jhQMgOBa+hd3Nj+7JVp07SCIy9JSiig==
X-Google-Smtp-Source: ACHHUZ5EpQ65SR/LaXzT/XybSAMzramJefXD9F0LO3L1KAkTP0j347Sr+AXCX1XFPm90SaCzHiVC4A==
X-Received: by 2002:a05:6a00:1a53:b0:66a:6339:e8f6 with SMTP id h19-20020a056a001a5300b0066a6339e8f6mr8131229pfv.10.1687608963801;
        Sat, 24 Jun 2023 05:16:03 -0700 (PDT)
Received: from [192.168.0.103] ([103.131.18.64])
        by smtp.gmail.com with ESMTPSA id p25-20020aa78619000000b0065418efa5ebsm991442pfn.155.2023.06.24.05.15.49
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Sat, 24 Jun 2023 05:16:03 -0700 (PDT)
Message-ID: <c125ec63-f7ba-3fd6-c286-05854fa1a07a@gmail.com>
Date:   Sat, 24 Jun 2023 19:15:36 +0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.12.0
Subject: Re: Fwd: kernel fault on hibernation: get_zeroed_page/swsusp_write
To:     Elmar Stellnberger <estellnb@elstel.org>
Cc:     Andrew Morton <akpm@linux-foundation.org>,
        Thorsten Leemhuis <regressions@leemhuis.info>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Regressions <regressions@lists.linux.dev>,
        Linux Memory Management <linux-mm@kvack.org>,
        Linux Stable <stable@vger.kernel.org>
References: <5d4959b7-61da-8ab0-6bc6-21305d37c7aa@gmail.com>
 <ZJXFgfldS6W_LCiI@mail.dotplex.com> <ZJZGE4ZxJzrhRznA@debian.me>
 <ZJbDqStCNfdpwObE@mail.dotplex.com>
Content-Language: en-US
From:   Bagas Sanjaya <bagasdotme@gmail.com>
In-Reply-To: <ZJbDqStCNfdpwObE@mail.dotplex.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: bulk
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-kernel@vger.kernel.org

On 6/24/23 17:21, Elmar Stellnberger wrote:
> 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:
>  

Thorsten: Should this be marked as invalid/inconclusive?

> 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]?
> 

Your kcore dump.

-- 
An old man doll... just what I always wanted! - Clara


From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <linux-kernel-owner@vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by smtp.lore.kernel.org (Postfix) with ESMTP id 072BEEB64DC
	for <linux-kernel@archiver.kernel.org>; Sat, 24 Jun 2023 13:44:20 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S232760AbjFXNoO (ORCPT <rfc822;linux-kernel@archiver.kernel.org>);
        Sat, 24 Jun 2023 09:44:14 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60962 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S229552AbjFXNoM (ORCPT
        <rfc822;linux-kernel@vger.kernel.org>);
        Sat, 24 Jun 2023 09:44:12 -0400
Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17DACE7E;
        Sat, 24 Jun 2023 06:44:11 -0700 (PDT)
Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated
        by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128)
        id 1qD3Yf-00060A-0M; Sat, 24 Jun 2023 15:44:09 +0200
Message-ID: <f78c38f6-9c8d-9c4c-75be-9d9b5fe5024b@leemhuis.info>
Date:   Sat, 24 Jun 2023 15:44:08 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.12.0
Subject: Re: Fwd: kernel fault on hibernation: get_zeroed_page/swsusp_write
Content-Language: en-US, de-DE
To:     Bagas Sanjaya <bagasdotme@gmail.com>,
        Elmar Stellnberger <estellnb@elstel.org>
Cc:     Andrew Morton <akpm@linux-foundation.org>,
        Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
        Linux Regressions <regressions@lists.linux.dev>,
        Linux Memory Management <linux-mm@kvack.org>,
        Linux Stable <stable@vger.kernel.org>
References: <5d4959b7-61da-8ab0-6bc6-21305d37c7aa@gmail.com>
 <ZJXFgfldS6W_LCiI@mail.dotplex.com> <ZJZGE4ZxJzrhRznA@debian.me>
 <ZJbDqStCNfdpwObE@mail.dotplex.com>
 <c125ec63-f7ba-3fd6-c286-05854fa1a07a@gmail.com>
From:   Thorsten Leemhuis <regressions@leemhuis.info>
In-Reply-To: <c125ec63-f7ba-3fd6-c286-05854fa1a07a@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1687614251;7aa1bd10;
X-HE-SMSGID: 1qD3Yf-00060A-0M
Precedence: bulk
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-kernel@vger.kernel.org

On 24.06.23 14:15, Bagas Sanjaya wrote:
> On 6/24/23 17:21, Elmar Stellnberger wrote:
>> 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:
> 
> Thorsten: Should this be marked as invalid/inconclusive?

Not as invalid, as there might be a real issue here; but it's hard to
say, as among others it also quite possible that something else went
wrong (compiler? hardware?). Someone would have to investigate. But
given the fact that this happened with a stable kernel[1] and is
impossible to reproduce, I suspect no developer will be motivated enough
to do so. Then it's not worth tracking[2]:

#regzbot inconclusive: impossible to reproduce

Elmar, that's nothing bad. In case this turns out to be something you
can reproduce and bisect, just let us know and we'll add it back.

[1] see the sections about stable kernels
https://linux-regtracking.leemhuis.info/post/frequent-reasons-why-linux-kernel-bug-reports-are-ignored/

[2] side note: due to limited resources I consider to stop tracking all
non-bisected issues in general (expect those that started to happen in
mainline since the last mainline release) â€“ or put them in a special
category that signals "those are collected here JFYI until they are
bisected, as the regression tracker due to limited resources for now
can't keep a close eye on these"

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.


