Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1640834rdb; Tue, 20 Feb 2024 02:26:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUkEa7z3yHvgbSPKrbsmlDCp4eQgigaCs9q/AQICSXZP54dlDVrtbzxtwvRzwPiupQ2VIedHSjG6Q1KFVlosMnUK62APoxUSjugAONYrw== X-Google-Smtp-Source: AGHT+IFo2KSB8eKv5TexH0XalzQD4/x6vCuOt6w4ubsgVoeIydTd1PcZOl6gh0UvhUG7jpDEJcvJ X-Received: by 2002:aa7:d354:0:b0:560:463:8cd7 with SMTP id m20-20020aa7d354000000b0056004638cd7mr9682184edr.34.1708424808099; Tue, 20 Feb 2024 02:26:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708424808; cv=pass; d=google.com; s=arc-20160816; b=T8kAt7InMtfYD0n+xdxhRhhkC0tgGvVcQHzX0EGSCl+gBEqv3N+StxH9diMpVpKcRU ChFO/75uDK/UtHHnucy8bRUYcPmkRepWxeQNoYhv0XUwVMkrDbjGxZpjgzJZPy3ArNPK kGaYeZ5CJHRz3K3Ad7lgQiUAHLdPOBWEAyoY+xoRHbdICpoCp2az0AAEkh4n0wgUnoTV aKM7klMXWjnKoMwCG/HSUgwry3vx+Ke/QDgth6S1U9wdakoL4dUjyjziiv7Slwz8gCw9 WRQPZcwkWRY89QtSe8K0qztrj4XDxwDHlT3FpV5c8v4zAyWI9yR6LA93yU66caGLnY4g xUKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=fU7YykSdaRaohPpI/vB8HB4BwjoFwVHzprD5L8N83jU=; fh=Ug+H8vAwGI5AITZQ7ktGzySOnjQeiMxYN8NMTHqUIfc=; b=qyKbyD4/RgrQsKYSoK54iCjU/l+aJPyOsG4GuQ4cvkD2BJxafEw7fRzqnPzXeHYvkC 1+jTZ0rufh4Q13atGy0/Aj9PPre2P6DFX7fuXnYT1EWxQSiG5X/UMZ1JaiWp3ULrPg1z EqJbfKVC638uy2Ixfq9l4qfCdbJdJhMD4G4vD5HjGcLLR8IfWLpofwuGYCdw/t/oUZ+/ IMdkkViIQMqidvPMT5+GKlwZnrRGFWW0zPmCP4cqteQ1zJGOgtBLXYybzuKiiA0P4eBZ K+v/YH/HsywUMxNcX/WxFt2NqFkmKYnjBX4ZMbRT0N4nhR0Ze/daMxQly2gKQjtPlGqr 5D5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-72819-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72819-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v11-20020a056402348b00b0056475b30ec8si1755928edc.134.2024.02.20.02.26.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 02:26:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72819-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-72819-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72819-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 91D231F252AD for ; Tue, 20 Feb 2024 10:26:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D10960DFD; Tue, 20 Feb 2024 10:26:28 +0000 (UTC) Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CB0F60BBB; Tue, 20 Feb 2024 10:26:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.237.130.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708424787; cv=none; b=DpYpQUz8LUjO6iu5qBZYoo1xB/jSfiVxAhF6ooVzLh81KEVI8MsrTlQ7YgInAAkf6HK8vmMBudtcDFO9TwgOULAhzAPIpNeq/tMhRRvUaDkiuBsSo/TDhtD9MfrRth8MEEjlMxjbm2yhWAK7duuoTy4RdAlPLGhfWH/x/F+dIHY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708424787; c=relaxed/simple; bh=HtRyT0kM9vZyQaLBAdB4P0A2i9jJVXOsS6D6EEVfkLw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hlIQKBTpuD4wySQ4iKF1sHJtHj0Jp/AOuVX7ap53MIMNfASYxi3HF3ouXzk4UgNSgFHR7ZJFLR96GzJ32Tq9lZVC6MgKe6SHaeYaUlQsgIy7/SjgQWKaQLsNpNnysOR2mByDBxY/sh4AlQ+Lx0XV7IWh1r0vOtES/yMyLz7b9qs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; arc=none smtp.client-ip=80.237.130.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info 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 1rcNKN-0003An-3x; Tue, 20 Feb 2024 11:26:19 +0100 Message-ID: <2c5a82e1-31f0-4908-80b7-00b3b0257d59@leemhuis.info> Date: Tue, 20 Feb 2024 11:26:16 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] docs: new text on bisecting which also covers bug validation Content-Language: en-US, de-DE To: Jonathan Corbet Cc: regressions@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Bagas Sanjaya , Nathan Chancellor , =?UTF-8?B?UGV0ciBUZXNhxZnDrWs=?= References: <87edd8m7l0.fsf@meer.lwn.net> From: Thorsten Leemhuis Autocrypt: addr=linux@leemhuis.info; keydata= xsFNBFJ4AQ0BEADCz16x4kl/YGBegAsYXJMjFRi3QOr2YMmcNuu1fdsi3XnM+xMRaukWby47 JcsZYLDKRHTQ/Lalw9L1HI3NRwK+9ayjg31wFdekgsuPbu4x5RGDIfyNpd378Upa8SUmvHik apCnzsxPTEE4Z2KUxBIwTvg+snEjgZ03EIQEi5cKmnlaUynNqv3xaGstx5jMCEnR2X54rH8j QPvo2l5/79Po58f6DhxV2RrOrOjQIQcPZ6kUqwLi6EQOi92NS9Uy6jbZcrMqPIRqJZ/tTKIR OLWsEjNrc3PMcve+NmORiEgLFclN8kHbPl1tLo4M5jN9xmsa0OZv3M0katqW8kC1hzR7mhz+ Rv4MgnbkPDDO086HjQBlS6Zzo49fQB2JErs5nZ0mwkqlETu6emhxneAMcc67+Zt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yF4lStBGCKN9a TLp6E3100BuTCUCrQf9F3kB7BC92VHvobqYmvLTCTcbxFS4JNuT+ZyV+xR5JiV+2g2HwhxWW uC88BtriqL4atyvtuybQT+56IiiU2gszQ+oxR/1Aq+VZHdUeC6lijFiQblqV6EjenJu+pR9A 7EElGPPmYdO1WQbBrmuOrFuO6wQrbo0TbUiaxYWyoM9cA7v7eFyaxgwXBSWKbo/bcAAViqLW ysaCIZqWxrlhHWWmJMvowVMkB92uPVkxs5IMhSxHS4c2PfZ6D5kvrs3URvIc6zyOrgIaHNzR 8AF4PXWPAuZu1oaG/XKwzMqN/Y/AoxWrCFZNHE27E1RrMhDgmyzIzWQTffJsVPDMQqDfLBhV ic3b8Yec+Kn+ExIF5IuLfHkUgIUs83kDGGbV+wM8NtlGmCXmatyavUwNCXMsuI24HPl7gV2h n7RI In-Reply-To: <87edd8m7l0.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1708424785;dfa4e51b; X-HE-SMSGID: 1rcNKN-0003An-3x On 19.02.24 23:07, Jonathan Corbet wrote: > Thorsten Leemhuis writes: > >> Replace the existing brief explanation on bisecting regressions with a >> text describing the whole process from beginning to end -- while also >> describing how to validate if a problem is still present in mainline. >> This "two in one" approach is possible, as checking whenever a bug is in >> mainline is one of the first steps before performing a bisection anyway >> and thus described. Due to this approach the text also works quite >> nicely in conjunction with >> Documentation/admin-guide/reporting-issues.rst, as it covers all typical >> cases where users will need to build a kernel in exactly the same order. > > I have scanned over this; don't really have a time to do a detailed > reading at this point. No problem, I didn't expect this to be something that would be merged quickly. > My overall impression is: it's useful > information, but I think we're going to overwhelm people. I worry that > we're replacing a one-page file on how to do a bisect with a 1,900-line > beast. I see you point and partly agree. But at the same time I partly disagree as well: the gist of the old document is not that different from what segment 3 of the TLDR in the new document outlines. The main problem I thus see is that readers will likely be scared by the wall of text and thus will look for some shorter guide. We could avoid that by basically replacing the content of Documentation/admin-guide/bug-bisect.rst with something that is round about a copy of segment 3 of the TLDR with a short new and better intro on top of it (e.g. something along the lines of "This assumes that you (a) already set up everything up to compile your own Linux kernel from sources found in a local Git clone (b) checked if the regression was already solved in mainline (c) prepared, validated, and packed to the side a .config file with a kernel version known to be working. If any of this is not the case, you likely are better of following the Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst instead.") > I suspect there are whole classes of readers who want the new > stuff, but there are others who would be better served by something much > more terse. As you can see from above I partly agree with that. But the old guide (or what I suggested doing above!) OTOH is so terse that it's not that different from what the man-page of 'git bisect' already outlines -- except that it's a kernel specific example. Makes me wonder if that's really worth it, but I guess it is. > I'll repeat a question I've asked before: should we create a separate > "tutorials" book for this kind of material? To be honest I'm not sure if I can help here, as I'm not totally sure that I got your intend / long-term goal. > I honestly think that the > readers for this kind of documentation will be a different crowd, "Different" from what? I mean, my new guide is added to the "user's and administrator's guide" book and from what I see we live in times where many users and admins might never have compiled a kernel, but still occasionally encounter a situation where they want to report a bug upstream. That guide allows them to do this. And even if they have occasionally complied a kernel in the past the guide works well for them, as the TLDR is easy to follow for such readers. > and > everybody might be better off if we put the tutorial material in one > place where they can find it easily. But do you expect more documents like that? FWIW, I for one don't plan to write anything more like this (revising the "reporting issues" document is next on my list). Unless more is forthcoming I guess a new book is not worth it. > Regardless, thanks for doing this, Thx for saying that! Ciao, Thorsten