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 5F740C2BA1A for ; Thu, 20 Jun 2024 15:39:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A26EE8D00BD; Thu, 20 Jun 2024 11:39:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 963428D00A7; Thu, 20 Jun 2024 11:39:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 73FA08D00BD; Thu, 20 Jun 2024 11:39:57 -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 3D5B38D00A7 for ; Thu, 20 Jun 2024 11:39:57 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id DFEFC402BD for ; Thu, 20 Jun 2024 15:39:56 +0000 (UTC) X-FDA: 82251677592.22.386B80C Received: from mail-ua1-f53.google.com (mail-ua1-f53.google.com [209.85.222.53]) by imf12.hostedemail.com (Postfix) with ESMTP id EC47240009 for ; Thu, 20 Jun 2024 15:39:54 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=nU3oBx1D; spf=pass (imf12.hostedemail.com: domain of naresh.kamboju@linaro.org designates 209.85.222.53 as permitted sender) smtp.mailfrom=naresh.kamboju@linaro.org; dmarc=pass (policy=none) header.from=linaro.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718897985; 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=5GUJPV8yOp4RRoYY7LVY9TGkg0HQmwQOmVMKijpbR4g=; b=AzzCAxtsx3fH1ev9+wqLyXbTDBlzM60SljMlSt3ddWNmA7yPlOME5DY4Cb56kYDu+FlPsI BELhaDegGvJyN/81m4N4LPKz3755KCAtUY8QDnvJNXT7YL2mGKbbG33iTEkI7riuwEJZGK fqzTYxKr0e+OVmGglaFWB9F4l93v9Q4= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718897985; a=rsa-sha256; cv=none; b=cLikMQYUmzYN7VlWw8rFwFMwYIXdPcdStN3CnAP3mMIhXZmy33uzVfXVZ+g5BE5AMIQeP4 GvPcN/fk+p0lPGCaGak+2i9dtd6RCUfXJ2XQFMDfsanM2shirkBaJ/KgQ8TrraEflG2ZR3 6CkYwbB2oisuJlZPSWJCNRXSog7sYIA= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=nU3oBx1D; spf=pass (imf12.hostedemail.com: domain of naresh.kamboju@linaro.org designates 209.85.222.53 as permitted sender) smtp.mailfrom=naresh.kamboju@linaro.org; dmarc=pass (policy=none) header.from=linaro.org Received: by mail-ua1-f53.google.com with SMTP id a1e0cc1a2514c-80d61a602f2so311116241.2 for ; Thu, 20 Jun 2024 08:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718897994; x=1719502794; darn=kvack.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5GUJPV8yOp4RRoYY7LVY9TGkg0HQmwQOmVMKijpbR4g=; b=nU3oBx1DV4cDKLgifm5fjo0uSDni5wPbPt8a7d0jPekR1M2a6V78GxF2BgngcgspRh mmoYz6DjcX3D5QHKLYDyDyPF/Mwd0ip8wnJa7iUPwMHAfA7g9sQmNTFl4/mYwDJy1BMh 3SoiGsJmom5aq3BjjZ+gj1QK/fLUFfyZCtLLhjpNeHCuNlcOq0ELMOIucMBlDWRKFS99 R4t2P7WaW8KgKJ3IBg9RR0jkNGPDMQStGdMcf+Laci2WLvRUXcLyeklJ/+quohdrBSol ASvL/imAGuPa5KStisKBfOr7SgOCJFtGyuX1Bgp/SByUcRUjIbFjKlYmx1md1Pe65UNp bbOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718897994; x=1719502794; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5GUJPV8yOp4RRoYY7LVY9TGkg0HQmwQOmVMKijpbR4g=; b=EzwHjgXVJkoQvFOObnia4SRohLsaxoKOTi2WjXCH9L/a1oaOTMSkA65ZRckteSnHGP tHeDtwjcWBbqeLgA5DDBGwSd2qmCZ9+RdDDi5lf/LDcW+OzSV6DNMYRbJJpOnrWTLNaZ 77e9RnU2iYDIawxGkK9rg+2EWl5X9JssxzM03iNgfGNSCrLB3hupt1z7bdexiE+huMZU StcEmyNKtkeXDNMqO7YhICvqH7Hn4pJ6odHu3/LmlRpndI31VAnhFXOpEdh1BWB1HsHE qH2wXwo8na6ORiWQi2AVuYfo1OwjYW0AZjktRdDuypfZIYOYdmxDQi8e2e3XqAgk5s1N LGDA== X-Forwarded-Encrypted: i=1; AJvYcCUPqetH2osBQZXI1ZN5V55RPZhGDzHm38PP+FrADPymCeSJUo0gvT3JVHhvRKmSlbs/OZm0DnlzXaqpeCB2hIOp6Vc= X-Gm-Message-State: AOJu0YyQhwg4oWjMRiT94X1r8GsiNtUL8kgYqywysU9441xYdPjIVZ66 nOLBu1axIowVtqdRDIVk7eGr83fizFqRNUqkC4sxoGXwUgksg4c5388x51TZTb+eBN92TjHwF6d SZdNGTZu4t1I5fcMMlwzB6atMhE1RU4vNa6LayA== X-Google-Smtp-Source: AGHT+IHACjMP5RzFgepii/qD9qtk0+p5mwa6jnpfKmdaSdmp8lLICvVkXdDPSiF9XM3Dus6YHP7t5X5+bwf7WLuWK+4= X-Received: by 2002:a05:6122:1346:b0:4ec:f27b:ee9c with SMTP id 71dfb90a1353d-4ef276c041bmr6506472e0c.5.1718897992229; Thu, 20 Jun 2024 08:39:52 -0700 (PDT) MIME-Version: 1.0 References: <20240619125609.836313103@linuxfoundation.org> <2024062028-caloric-cost-2ab9@gregkh> <36a38846-0250-4ac2-b2d0-c72e00d6898d@redhat.com> <3cd2cdca-5c89-447e-b6f1-f68112cf3f7b@redhat.com> In-Reply-To: <3cd2cdca-5c89-447e-b6f1-f68112cf3f7b@redhat.com> From: Naresh Kamboju Date: Thu, 20 Jun 2024 21:09:40 +0530 Message-ID: Subject: Re: [PATCH 6.9 000/281] 6.9.6-rc1 review To: David Hildenbrand Cc: Greg Kroah-Hartman , stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, allen.lkml@gmail.com, broonie@kernel.org, Miaohe Lin , Arnd Bergmann , Dan Carpenter , Cgroups , linux-mm , Baolin Wang , jbeulich@suse.com, LTP List Content-Type: text/plain; charset="UTF-8" X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: EC47240009 X-Stat-Signature: yjkgifcskuo8pzoz5sswb657zgodudtd X-HE-Tag: 1718897994-345884 X-HE-Meta: U2FsdGVkX19GX4yXMTPs7XfgLS+D9qFNck106o2H8zL9Zdaomiif/xwqKJZox3NjlU8FZ4b2bjCLy6Q0uEXt2jV/45L1tZ+TbDqS50417pundoTzt3/rPKa9S18tuXu87y6bhZrzqnclA7RiRjaenXmRDhoGdAXF7N8OrKVXbxpsn0PzbaHRn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sEnwiNH4gWBk/L8sN1kG0lYDsQkVkEWXV+TRbvnN6AAfTq8WPX57o4KH16b7POQODsLOBpQ6IrMKGAH856vKaIPWo3VoToHdlnLcxK5lQRQdPMwx6b5VWf9z1AnkLh8kBo0KYkRFryL1XgGQW4rlluNepw/AHEEdQb6rwY7opJ6WRw== 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: List-Subscribe: List-Unsubscribe: On Thu, 20 Jun 2024 at 19:50, David Hildenbrand wrote: > > On 20.06.24 16:02, Naresh Kamboju wrote: > > On Thu, 20 Jun 2024 at 19:23, David Hildenbrand wrote: > >> > >> On 20.06.24 15:14, Naresh Kamboju wrote: > >>> On Thu, 20 Jun 2024 at 17:59, Greg Kroah-Hartman > >>> wrote: > >>>> > >>>> On Thu, Jun 20, 2024 at 05:21:09PM +0530, Naresh Kamboju wrote: > >>>>> On Wed, 19 Jun 2024 at 18:41, Greg Kroah-Hartman > >>>>> wrote: > >>>>>> > >>>>>> This is the start of the stable review cycle for the 6.9.6 release. > >>>>>> There are 281 patches in this series, all will be posted as a response > >>>>>> to this one. If anyone has any issues with these being applied, please > >>>>>> let me know. > >>>>>> > >>>>>> Responses should be made by Fri, 21 Jun 2024 12:55:11 +0000. > >>>>>> Anything received after that time might be too late. > >>>>>> > >>>>>> The whole patch series can be found in one patch at: > >>>>>> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.9.6-rc1.gz > >>>>>> or in the git tree and branch at: > >>>>>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.9.y > >>>>>> and the diffstat can be found below. > >>>>>> > >>>>>> thanks, > >>>>>> > >>>>>> greg k-h > >>>>> > >>>>> There are two major issues on arm64 Juno-r2 on Linux stable-rc 6.9.6-rc1 > >>>>> > >>>>> Reported-by: Linux Kernel Functional Testing > >>>>> > >>>>> 1) > >>>>> The LTP controllers cgroup_fj_stress test cases causing kernel crash > >>>>> on arm64 Juno-r2 with > >>>>> compat mode testing with stable-rc 6.9 kernel. > >>>>> > >>>>> In the recent past I have reported this issues on Linux mainline. > >>>>> > >>>>> LTP: fork13: kernel panic on rk3399-rock-pi-4 running mainline 6.10.rc3 > >>>>> - https://lore.kernel.org/all/CA+G9fYvKmr84WzTArmfaypKM9+=Aw0uXCtuUKHQKFCNMGJyOgQ@mail.gmail.com/ > >>>>> > >>>>> it goes like this, > >>>>> Unable to handle kernel NULL pointer dereference at virtual address > >>>>> ... > >>>>> Insufficient stack space to handle exception! > >>>>> end Kernel panic - not syncing: kernel stack overflow > >>>>> > >> > >> How is that related to 6.9.6-rc1? That report is from mainline (6.10.rc3). > >> > >> Can you share a similar kernel dmesg output from the issue on 6.9.6-rc1? > > > > I request you to use this link for detailed boot log, test log and crash log. > > - https://lkft.validation.linaro.org/scheduler/job/7687060#L23314 > > > > Few more logs related to build artifacts links provided in the original > > email thread and bottom of this email. > > > > crash log: > > --- > > Thanks for investigating this crash report. > Thanks, so this is something different than the > > "BUG: Bad page map in process fork13 > BUG: Bad rss-counter state mm:" > > stuff on mainline you referenced. > > Looks like some recursive exception until we exhausted the stack. You are right ! I see only one common case is, exhaust the stack. > > > Trying to connect the dots here, can you enlighten me how this is > related to the fork13 mainline report? I am not sure about the relation between these two reports. But as a common practice I have shared that report information. > > [ 0.000000] Booting Linux on physical CPU 0x0000000100 [0x410fd033] > > [ 0.000000] Linux version 6.9.6-rc1 (tuxmake@tuxmake) > > (aarch64-linux-gnu-gcc (Debian 13.2.0-12) 13.2.0, GNU ld (GNU Binutils > > for Debian) 2.42) #1 SMP PREEMPT @1718817000 > > ... > > [ 1786.336761] Unable to handle kernel NULL pointer dereference at > > virtual address 0000000000000070 > > [ 1786.345564] Mem abort info: > > [ 1786.348359] ESR = 0x0000000096000004 > > [ 1786.352112] EC = 0x25: DABT (current EL), IL = 32 bits > > [ 1786.357434] SET = 0, FnV = 0 > > [ 1786.360492] EA = 0, S1PTW = 0 > > [ 1786.363637] FSC = 0x04: level 0 translation fault > > [ 1786.368523] Data abort info: > > [ 1786.371405] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 > > [ 1786.376900] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 > > [ 1786.381960] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 > > [ 1786.387284] Unable to handle kernel NULL pointer dereference at > > virtual address 0000000000000070 > > [ 1786.387293] Insufficient stack space to handle exception! > > [ 1786.387296] ESR: 0x0000000096000047 -- DABT (current EL) > > [ 1786.387302] FAR: 0xffff80008399ffe0 > > [ 1786.387306] Task stack: [0xffff8000839a0000..0xffff8000839a4000] > > [ 1786.387312] IRQ stack: [0xffff8000837f8000..0xffff8000837fc000] > > [ 1786.387319] Overflow stack: [0xffff00097ec95320..0xffff00097ec96320] > > [ 1786.387327] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 6.9.6-rc1 #1 > > [ 1786.387338] Hardware name: ARM Juno development board (r2) (DT) > > [ 1786.387344] pstate: a00003c5 (NzCv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) > > [ 1786.387355] pc : _prb_read_valid (kernel/printk/printk_ringbuffer.c:2109) > > [ 1786.387374] lr : prb_read_valid (kernel/printk/printk_ringbuffer.c:2183) > > [ 1786.387385] sp : ffff80008399ffe0 > > [ 1786.387390] x29: ffff8000839a0030 x28: ffff000800365f00 x27: ffff800082530008 > > [ 1786.387407] x26: ffff8000834e33b8 x25: ffff8000839a00b0 x24: 0000000000000001 > > [ 1786.387423] x23: ffff8000839a00a8 x22: ffff8000830e3e40 x21: 0000000000001e9e > > [ 1786.387438] x20: 0000000000000000 x19: ffff8000839a01c8 x18: 0000000000000010 > > [ 1786.387453] x17: 72646461206c6175 x16: 7472697620746120 x15: 65636e6572656665 > > [ 1786.387468] x14: 726564207265746e x13: 3037303030303030 x12: 3030303030303030 > > [ 1786.387483] x11: 2073736572646461 x10: ffff800083151ea0 x9 : ffff80008014273c > > [ 1786.387498] x8 : ffff8000839a0120 x7 : 0000000000000000 x6 : 0000000000000e9f > > [ 1786.387512] x5 : ffff8000839a00c8 x4 : ffff8000837157c0 x3 : 0000000000000000 > > [ 1786.387526] x2 : ffff8000839a00b0 x1 : 0000000000000000 x0 : ffff8000830e3f58 > > [ 1786.387542] Kernel panic - not syncing: kernel stack overflow > > [ 1786.387549] SMP: stopping secondary CPUs > > [ 1787.510055] SMP: failed to stop secondary CPUs 0,4 > > [ 1787.510065] Kernel Offset: disabled > > [ 1787.510068] CPU features: 0x4,00001061,e0100000,0200421b > > [ 1787.510076] Memory Limit: none > > [ 1787.680436] ---[ end Kernel panic - not syncing: kernel stack overflow ]--- > > > -- > Cheers, > > David / dhildenb - Naresh