Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2715971pxt; Mon, 9 Aug 2021 07:17:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDs0jqq1G14XP45hyLuSyWY0qscS8kLcwogchWFu9NQQ2JF4tpho+kKQbWS4p8oADzwm11 X-Received: by 2002:a05:6e02:1288:: with SMTP id y8mr163279ilq.206.1628518667324; Mon, 09 Aug 2021 07:17:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628518667; cv=none; d=google.com; s=arc-20160816; b=zzxqbq+4eKK3Y/AS0EIz0O1uO0GQgnWOjOnwzNKjLAOYj8amo4YoI9c64+CfVhOtpE xpDXOhJNgJjGk7HtQ2mIzBgO1kKsqq9Vzqw9kYnQpxAskh4GY8RJUqlQEA6Spi7d9l7q +uwmGcc20VFUoLNVNAbIiMR5o0ltGKr3kRDAb1OwEYkJzBJJBIjdsQ5WCEdd4A11MAEF Ty2WIYbnoX7Ky66osCmRha81YHKjpd1095y3lpGV9xQ9SsPirBpSZ21tTjRQuL6XTE14 FQ81m6TFu8V1KzQOZ6Fzy918+dREMWP8bSkMNQTj4Ea3Sws+oV4QiSf+OhSGqFcaDewE 92Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=AjHjg/Z7oYOXjhtSSz+wbVAse1L0K1SEAzZEovVP9hw=; b=IieRR5W4SvwMqvb8TZynI9gVMUq8A2FEM01yWgqPI+BXIwfqB72RPfD9r0IpIzjEfo 0IW87Y/ILkYQ2kVgWmZyV3ItaF4g/9QsIcgx0XAAgRiKN50yM79PAEOdMU4rAYMf16Ye yJ8txfMa/qF5HwxoSezhEbL6oQjzJjXtzURJMH3ZeqxDcY9l7v+wDRpc5076AEeYdNIq WFjCCB5aam/E0gY7iNdRd1z6hpRdAZXyBi44omvd7YPdaFjpG6OLsiHBNxUpTOUZ+QMZ KtN6QXjcp0klvlNOV97tpkHC8UIOLEFYhuCX9ieEy+WCb9cR4KkVEJyEU+FUOzTkMYOC YlXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si26238226iov.62.2021.08.09.07.17.30; Mon, 09 Aug 2021 07:17:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233898AbhHINkh (ORCPT + 99 others); Mon, 9 Aug 2021 09:40:37 -0400 Received: from mail-vs1-f41.google.com ([209.85.217.41]:38628 "EHLO mail-vs1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233732AbhHINkg (ORCPT ); Mon, 9 Aug 2021 09:40:36 -0400 Received: by mail-vs1-f41.google.com with SMTP id t29so10043738vsr.5; Mon, 09 Aug 2021 06:40:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AjHjg/Z7oYOXjhtSSz+wbVAse1L0K1SEAzZEovVP9hw=; b=WSXL+kp+93fOKM5M6pGt9qTXekQi0OZXno3FOeuJRo42AGbBP01ZQQ1htWt06qnjyC BSkp47ZyyljH8grLxWl7vTMreQu0kxFaEMrGENmTTe/OuCbWO3Bs6DGpoh1q1oC+gwRO /MKhjauqN1ZlOsR/oHqKnNn25F6PT4dnXKEEgZ08t1yvrkJl16xC3DsJXQvjwxKa2kTp Xl/AgGTfr9kd9WWy+hAHcy0DuZp+AwJaBxvlqUhAdgnHFYJkPJ3UdZnMNtozv8BHAKmm jYzSK84J47ceqk+LR2HDp1TZS7De+9FMi7mA7ml5oJDK15cKYl5r16DBGrW8RTCJTcDZ BIwQ== X-Gm-Message-State: AOAM530kKV1fy6xrGtURGCW3N2KEICgftilJ43fakEJ19a4DS1aZOut6 vlH2sP6p8rsOKInPR3GCgkZ4HhIuT5AqUB41pLw= X-Received: by 2002:a67:ca1c:: with SMTP id z28mr8882309vsk.40.1628516415894; Mon, 09 Aug 2021 06:40:15 -0700 (PDT) MIME-Version: 1.0 References: <31298797-f791-4ac5-cfda-c95d7c7958a4@linux-m68k.org> <380dd57-4b60-ac9c-508c-826d8ec1b0aa@linux-m68k.org> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 9 Aug 2021 15:40:04 +0200 Message-ID: Subject: Re: [BISECTED][REGRESSION] 5.10.56 longterm kernel breakage on m68k/aranym To: Mikael Pettersson , Mike Rapoport Cc: Finn Thain , Linux Kernel list , linux-m68k , stable , Peter Xu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CC Mike On Mon, Aug 9, 2021 at 3:32 PM Mikael Pettersson wrote: > On Mon, Aug 9, 2021 at 3:59 AM Finn Thain wrote: > > On Sun, 8 Aug 2021, Mikael Pettersson wrote: > > > On Sun, Aug 8, 2021 at 1:20 AM Finn Thain wrote: > > > > On Sat, 7 Aug 2021, Mikael Pettersson wrote: > > > > > I updated the 5.10 longterm kernel on one of my m68k/aranym VMs from > > > > > 5.10.47 to 5.10.56, and the new kernel failed to boot: > > > > > > > > > > ARAnyM 1.1.0 > > > > > Using config file: 'aranym1.headless.config' > > > > > Could not open joystick 0 > > > > > ARAnyM RTC Timer: /dev/rtc: Permission denied > > > > > ARAnyM LILO: Error loading ramdisk 'root.bin' > > > > > Blitter tried to read byte from register ff8a00 at 0077ee > > > > > > > > > > At this point it kept running, but produced no output to the console, > > > > > and would never get to the point of starting user-space. Attaching gdb > > > > > to aranym showed nothing interesting, i.e. it seemed to be executing > > > > > normally. > > > > > > > > > > A git bisect identified the following commit between 5.10.52 and > > > > > 5.10.53 as the culprit: > > > > > # first bad commit: [9e1cf2d1ed37c934c9935f2c0b2f8b15d9355654] > > > > > mm/userfaultfd: fix uffd-wp special cases for fork() > > > > > > > > > > > > > That commit appeared in mainline between v5.13 and v5.14-rc1. Is mainline > > > > also affected? e.g. v5.14-rc4. > > > > > > 5.14-rc4 boots fine. I suspect the commit has some dependency that > > > hasn't been backported to 5.10 stable. > > > > > > > On mainline, 9e1cf2d1ed3 is known as commit 8f34f1eac382 ("mm/userfaultfd: > > fix uffd-wp special cases for fork()"). > > > > There are differences between the two commits that may be relevant. I > > don't know. > > > > If you checkout 8f34f1eac382 and if that works, it would indicate either > > missing dependencies in -stable, or those differences are important. > > > > OTOH, if 8f34f1eac382 fails in the same way as linux-5.10.y, it would > > indicate that -stable is missing a fix that's present in v5.14-rc4. > > My initial bisect was wrong. I tried reverting 8f34f1eac382 from > 5.10.57 but that made no difference, so I re-ran the git bisect with > all known good points pre-marked. This landed on: > # first bad commit: [ce6ee46e0f39ed97e23ebf7b5a565e0266a8a1a3] > mm/page_alloc: fix memory map initialization for descending nodes > > Reverting _that_ from 5.10.57 does unbreak that kernel. > > Sorry about the confusion.