Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp815495rdb; Fri, 9 Feb 2024 01:51:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUe97239CAclK+nxn6SQEYqMgH/MEtaaAh5VQ51X9w6lK2pr/VFvu+vdv+P1vOvoykkIGjVzl2zRNJt9yxXLx0il+sbJIrc3rWq8E4joA== X-Google-Smtp-Source: AGHT+IHfmbHb6DMZzln/zvYKOUbakHnIbj8LF9JtG2TI7eYlXe/yUblfOJqLHulYJE2Z+NFlari/ X-Received: by 2002:a05:620a:4084:b0:785:8c58:e336 with SMTP id f4-20020a05620a408400b007858c58e336mr1270548qko.54.1707472265331; Fri, 09 Feb 2024 01:51:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707472265; cv=pass; d=google.com; s=arc-20160816; b=C6Dm73747MwW3HyDiI4V/JWbSkEH1gIoaahxYZj95IRoszb9AZKKrv+zA+zxvceZh5 5VWHIIhJsPjfT64h2Gu680X/xruI0da518Y0zX9jRnFtSMK+Fh2sStV3EXF4Mr5opwyZ AlvndJP7PIsEK+28EjxYpySGBMilkyoHreHbdF0IVlSw+7x0D/gryJt/IBSxA7nDMb1n kn/QQRw/duxN8/cybxyDH+c2Z2iR9GOFeSikcbXG81FzANP0W1zkVJWOlmuffZc5UAyQ yMb+jZmr5Yw59S5ZqrPJQvPGD0QprBytXwadEnlOfNMNbojhmUy6iWynu/3NNEWIy1ID AdnA== 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=Lu+/xqlk39rKqn1FjOuJBA6LvcJcK+nD1M33o0XdhAw=; fh=l3ioUOeyEjs2v/3R9w0fe75aWOizm2XFmQykhaiP6EE=; b=AnkqhQlw+Lq4aFdiATpLfYhOGIP55a4gSOEhubcKnmYunG9lPKS4ACpC7tPn/j1J1X bhEYhiuHp6G71mwsdXLIK1fZTDECPeC+Au1145SdnV/R+UiwfsgYhP2QFFnEyGDoIDOP 9md44Le4N2u/dVqk4vuCg0gjdgpYZKd3jUytrfIZvZ1VMRtRR6e102pgtOx/FbUTAPBy s0FBNjAcr32aqfUwC9qOqz6twyPjtYokHX4TBw5FISrPWaJKXSE+S8bj3h034V1zgIN3 tylEIslbzibjRW4Dzh/V6CARC5jnbtIxyXC019ofPMcG2lUChIfsv+BDWDHjRsVwtyZs yaZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lichtman.org header.s=mail header.b=QANRJMWb; 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-59178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59178-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; AJvYcCWACoNIA9q7EB8hgJHuXuqAheNIcEVdlP+vvKaPsaIIZauJ+k7dy2Vpat00mqGyRku1Zv4oowWkF2l0qDafm/B+QXDZfkLazMy9/eVpGg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id oq39-20020a05620a612700b00785a457a51fsi1540250qkn.412.2024.02.09.01.51.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 01:51:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lichtman.org header.s=mail header.b=QANRJMWb; 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-59178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59178-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 05E461C22D80 for ; Fri, 9 Feb 2024 09:51:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C98C67C6B; Fri, 9 Feb 2024 09:50:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lichtman.org header.i=@lichtman.org header.b="QANRJMWb" 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 B500C67E60 for ; Fri, 9 Feb 2024 09:50:56 +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=1707472258; cv=none; b=K59e7jAS3Go6XACNTETP4AeXYPGJzkQ8HqueOcNBZTYz0WbxIcJh9G1jFC0m7rylhuk5ZAiZ+V9VepG/kbGoiHoZkbMP1GrQh/InL8MN9ZeRiBQfNE4Q8wqXuuQdtYTz5q6owAxb2bv8hkky0B+FD0RdA8ltuoveRR6Yf9CD1NA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707472258; c=relaxed/simple; bh=9rEDpVXK4h0bj5A4xqMRthG+tOZRcJFMAHYMmuaawQg=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dYmDCrvczMx94QIWOurXHOuBZgbezDRJktA7UnOWA3FVAbUUAqzBt8t5ud33RzXoyU6U3/fsLzgxynDVOGmRBRu4iEReoCsjp8eEEXAf4AKruOXJbS67KWAzXRVB97DpSWA4ZeofXWLqbEWuXOtLWTVABrk9hl6zYJrLV9aHt3c= 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=QANRJMWb; 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 E3727176EC1; Fri, 9 Feb 2024 09:50:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lichtman.org; s=mail; t=1707472249; bh=9rEDpVXK4h0bj5A4xqMRthG+tOZRcJFMAHYMmuaawQg=; h=Date:From:To:Subject:References:In-Reply-To:From; b=QANRJMWbFjoin9/cgI8Kudi+4fb5fLLEDhEXk2aSYgqzPmDMpWCDTniWRaCwAOFID lQ6WyzKZOGKtaW8ntjrSyN+JKHO5hvU3eTrE2MKLbNYgywQAx9BM8sX3C1uJpZAPU7 95QBzVQq4LfyW5x1SGBrOaWE2kaxOggadj2dy33Xkr7DpyXjlfBvMz6ZI+jxggzBM3 GswFY83GuluZZwTJOIBE05uhZkWS/m4x4k0BP8nC0twk2Moc73Ay2j2wN5YcTdOAp/ qJZbzHQCGSX7hU8ZKXZcuifmuS+UL0rGLDBoOrScJEwyCnLu7udi52zl2/AJ6ZqbbU WYxWm/3dWPa6A== Date: Fri, 9 Feb 2024 09:50:49 +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: <20240209095049.GA1528371@lichtman.org> References: <20240206213902.GA1490631@lichtman.org> <20240208081425.GA1511946@lichtman.org> <81f2df0b-0780-458c-b432-5d61b78e8157@gmail.com> 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: <81f2df0b-0780-458c-b432-5d61b78e8157@gmail.com> On Fri, Feb 09, 2024 at 04:22:12PM +0700, Bagas Sanjaya wrote: > On 2/8/24 15:14, Nir Lichtman wrote: > > 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. > > > > Please don't top-post; reply inline with appropriate context instead. > > Thanks for the explanation. Now please send v2 with appropriate maintainers > and lists Cc'ed (use scripts/get_maintainer.pl to find ones). Also read > Documentation/process/submitting-patches.rst before sending. > > Ciao! > > -- > An old man doll... just what I always wanted! - Clara > Yah I read the docs about submitting patches and ran the get_maintainer script but it didn't find anything for the changes I made (except documentation maintainers), I guess maybe the panic.c file has no main mantainer? Thanks,