Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp117152rdb; Thu, 8 Feb 2024 00:14:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGfrgIzmvaysXpP1UW1CtynGCvj2uIKzouzMFsBkOITEAKNa24LbomuprYvjLoEx44Lxs2A X-Received: by 2002:aa7:8ec1:0:b0:6e0:4693:5d41 with SMTP id b1-20020aa78ec1000000b006e046935d41mr5514384pfr.34.1707380090254; Thu, 08 Feb 2024 00:14:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707380090; cv=pass; d=google.com; s=arc-20160816; b=OwtOq+/0lbeiaC92m99cldneo0Att9mmZodt32b1HeBNVeszDbzrcVqu8/oYMU+XWa P5Rm5APoXpDtvEOa5ya55H33q79iZGTamvKyXrjSpRYzrFbfRyy1PNGGE/ZNzRznWFD+ zHelDU6wFi3/irI62eNVQT7RWk2a4tEIRhPDQFCI7f4HVT/BnQ+GzTPbBA3DW7BqQVeB LEATi1MvyrU6DNO9EKWEMKkG472tcoXlsym1j/3zWz6VAleZl2lHAaujY56b19Z8J4W0 dkMbMaKG9a7W3OmMu7CkcYqi7Tp4BCXFcg7ghNs+3d76Rz2kj89gONVz1/ia33OShfR1 57nQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:to :from:date:dkim-signature; bh=NyGMYk8FlyzM+MbqRcrTds4XnER+LpLf2gKEq7nzkLA=; fh=c1kl8NTJxaC6x2NShBTkb4qAp6u+D2SOISaRSyXt36M=; b=CKNvqxPCea8XqcLvM61JxuP7FgJ+/lBFiBH0Ob1t+Csu7uHvSo6Atg0IJlizN3CCKg wOruw6B9U1d/lzYVWPCnnIfzySkWLfapk/Jz6DisK0jg3cS0ZHVYpxmogjmfpKAuPbhl JMNdPMbSaxkNi0l77BsdIt2WpI/8nn5Oanz3frRR2qlwMGCw+APgb1telgeNwMPTNn9L 7/7NtbYlLufpxcGSxPaOjrmy0IXd1jbV4y74t1hnPxxqBourW1TorAOlzzIfjAPvupwi lfTP3hDaXQCn4Q70odZzjKLPiC210qH2ocMKzZr7eeQAp7T1wSK9SPZIEiC8Nya0SusH Aafg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lichtman.org header.s=mail header.b=UrW0HwCE; arc=pass (i=1 spf=pass spfdomain=lichtman.org dkim=pass dkdomain=lichtman.org dmarc=pass fromdomain=lichtman.org); spf=pass (google.com: domain of linux-kernel+bounces-57595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lichtman.org X-Forwarded-Encrypted: i=2; AJvYcCU8Cn7yBSCQ4z5xCuca2esshm35wIG1GV/YVV6V/p6GeYIB08b8blbgHoxLRQKZVOKpcFOLINDojwAfkj/uWuMSQgrQbVxGcVDcdocAFg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ch2-20020a056a0208c200b005cf97c743c6si3606329pgb.749.2024.02.08.00.14.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 00:14:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lichtman.org header.s=mail header.b=UrW0HwCE; arc=pass (i=1 spf=pass spfdomain=lichtman.org dkim=pass dkdomain=lichtman.org dmarc=pass fromdomain=lichtman.org); spf=pass (google.com: domain of linux-kernel+bounces-57595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lichtman.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E3FDB2877BB for ; Thu, 8 Feb 2024 08:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AFDC6A33F; Thu, 8 Feb 2024 08:14:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lichtman.org header.i=@lichtman.org header.b="UrW0HwCE" Received: from lichtman.org (lichtman.org [149.28.33.109]) (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 071226A330 for ; Thu, 8 Feb 2024 08:14:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=149.28.33.109 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707380073; cv=none; b=qNUpMnp+r9QWRXDn+hmGa0D9+PO8EQ7NS64N4AGdsU8b5aVJ10qKQfuC7zpBhvmPRmFHbIh63ZYPDdKrrre65EJQG9jV8jtGwGju3/pNXrms/1eAe3hTIQMHYGNKoa6Cu5aGK7mG1g4yAesmzEJR7rgF5oTV29JMLVDW0x769jY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707380073; c=relaxed/simple; bh=lBH0sY/JdNNXlmRGdJWJ0L16jp5wNypK4GTr0/VBtdA=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bYvfD5CLqx/GR0A7qc0utMA7YQsSCI/+mCprFT8JQ+8ENt6g0YBEWDxfumMSLSiilKTA0m6WyC9Qu0u8qFjp03F2mh2c4R3m8/PSaBPq8Y5FrQttOgfJ/OS35IQ5oz81lmp79DmUQmW3RwVM/vxmslWCpyKVuRBU/5+0tTViikk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lichtman.org; spf=pass smtp.mailfrom=lichtman.org; dkim=pass (2048-bit key) header.d=lichtman.org header.i=@lichtman.org header.b=UrW0HwCE; arc=none smtp.client-ip=149.28.33.109 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lichtman.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lichtman.org Received: by lichtman.org (Postfix, from userid 1000) id C8C3B176FC4; Thu, 8 Feb 2024 08:14:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lichtman.org; s=mail; t=1707380065; bh=lBH0sY/JdNNXlmRGdJWJ0L16jp5wNypK4GTr0/VBtdA=; h=Date:From:To:Subject:References:In-Reply-To:From; b=UrW0HwCEOmz/aurKT9ceXf1OFjX1tpk5HUAWy1MDqlXR5B2zb90NIWpKwvjMEvo/z Qkg8Xtjd8JUIcsT9TPk2Kz/I3ya5kqhah5aDTdkWl8Rgz+Q2ocgyJnjvWhkFPo0K6B SWOWa1ZwSXaKRxcCqD9cXsCuEwjXAbQSczJUVvxppmX1JE/dZoWwmbPRvis3UyEw5O Adt30ztbolZ54H5L+OklAwHOswuvDEr/qZSYToubbyOGC58XnQV0DNdlT98EdOhkM2 rlNAq2kOMnTn4xwWah1b2jZBjzep4J6TL9HaosWWS84JIpZPPTjqs6aG6X5NcH69oz HAOQ7msYRDSpA== Date: Thu, 8 Feb 2024 08:14:25 +0000 From: Nir Lichtman To: Bagas Sanjaya , linux-kernel@vger.kernel.org Subject: Re: [PATCH] kernel: add boot param to disable stack dump on panic Message-ID: <20240208081425.GA1511946@lichtman.org> References: <20240206213902.GA1490631@lichtman.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: In a lot of cases when there is a kernel panic it obscures on the display the previous problem that caused it and the main reason is that the call stack prints a lot of lines on the display - and there is no way to scroll back up. What led me to make this patch is that I was working on running the kernel on my old computer and when I passed root=/dev/sda to the kernel there was a panic and it could not start init, but since the call stack took almost all the space on the screen, I couldn't see the available partitions the kernel does detects. After this patch, I could just pass in the new boot parameter I added here and then it would not print the call stack, and I saw the line in which the kernel prints the available partitions. On Wed, Feb 07, 2024 at 09:10:22AM +0700, Bagas Sanjaya wrote: > On Tue, Feb 06, 2024 at 09:39:02PM +0000, Nir Lichtman wrote: > > From: Nir Lichtman > > Date: Sat, 3 Feb 2024 10:19:30 +0200 > > Subject: [PATCH] kernel: add boot param to disable stack dump on panic > > > > Can you describe why this patch is needed (or beneficial)? > > Confused... > > -- > An old man doll... just what I always wanted! - Clara